forked from creativecommons/ccos-website-source
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject-ideas.html
57 lines (56 loc) · 3.61 KB
/
project-ideas.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{% extends "layout.html" %}
{% block title %}Project Ideas for GSoC 2019{% endblock %}
{% block header %}GSoC 2019: Project Ideas{% endblock %}
{% block body %}
<p class="text-muted">This is the project idea list for the <a href="/gsoc-2019">Google Summer of Code 2019</a> program. We have a mix of projects that are meant to be installed widely (such as plugins for other software) and projects that are more focused on improving user experience for users of Creative Commons licenses. Regardless of scope, these projects all have a broad and positive community impact.</p>
<hr/>
<!-- We display all ideas by default. -->
{% set ideas = site.query('/gsoc-2019/project-ideas-collection').include_undiscoverable(true) %}
{% set filters = site.query('/gsoc-2019/project-ideas').include_undiscoverable(true).order_by('order') %}
{% set current_filter = filters.filter(F._slug == this._slug).first() %}
<!-- The following code filters the ideas to display based on the current URL. -->
{% if current_filter.field == 'difficulty' %}
{% set ideas = ideas.filter(F.difficulty == current_filter.value) %}
{% elif current_filter.field == 'recommended_skill' %}
{% set ideas = ideas.filter(F.skills_recommended.contains(current_filter.value).or(F.skills_recommended.contains('depends'))) %}
{% endif %}
<div class="mt-4">
<div>
{% for filter in filters %}
<a href="{{ filter.url_path }}">
<button type="button" class="m-1 btn btn-sm {% if this._slug == filter._slug %}btn-dark{% else %}btn-primary{% endif %}" {% if this._slug == filter._slug %}disabled{% endif %}>
{{ filter.nav_label }}
</button>
</a>
{% endfor %}
<ul class="list-unstyled m-3">
{% for idea in ideas %}
<li class="my-2"><a href="#{{ idea._slug }}">{{ idea.title }}</a></li>
{% endfor %}
<li class="my-2"><a href="#your-idea">Your idea here</a></li>
</ul>
</div>
<hr/>
{% for idea in ideas %}
<div class="project-idea-card m-1 mb-4">
<h2 class="card-header project-idea-header"><a name="{{ idea._slug }}">{{ idea.title }}</a></h5>
<ul class="list-group list-group-flush">
<li class="list-group-item"><strong>Description:</strong> {{ idea.description }}</li>
<li class="list-group-item"><strong>Rationale:</strong> {{ idea.rationale }}</li>
<li class="list-group-item"><strong>Resources:</strong> {{ idea.resources }}</li>
<li class="list-group-item"><strong>Expected result:</strong> {{ idea.expected_result }}</li>
<li class="list-group-item"><strong>Skills recommended:</strong> {{ idea.skills_recommended }}</li>
<li class="list-group-item"><strong>Mentors:</strong> {{ idea.primary_mentor }} (primary), {{ idea.backup_mentor}} (backup)</li>
<li class="list-group-item"><strong>Difficulty:</strong> {{ idea.difficulty }}</li>
<li class="list-group-item"><strong>Proposal tag to use:</strong> {{ idea.proposal_tag }}</li>
</ul>
</div>
{% endfor %}
<div class="project-idea-card m-1 mb-4">
<h2 class="card-header"><a name="your-idea">Your idea here</a></h5>
<ul class="list-group list-group-flush">
<li class="list-group-item">We are open to original ideas for projects that will help increase the utility of CC-licensed content, ease the process for creators applying CC licenses to their content, or improve CC's internal tools or processes. Please talk to us on the <code>#cc-gsoc</code> channel on Slack or via the mailing list to find a mentor for the project before submitting your proposal.</li>
</ul>
</div>
</div>
{% endblock %}