Commit eff184e 1 parent f22ebe3 commit eff184e Copy full SHA for eff184e
File tree 26 files changed +309
-279
lines changed
account/templates/meinberlin_account
budgeting/templates/meinberlin_budgeting
cms/templates/meinberlin_cms/includes
contrib/templates/meinberlin_contrib
documents/templates/meinberlin_documents
ideas/templates/meinberlin_ideas
kiezkasse/templates/meinberlin_kiezkasse
mapideas/templates/meinberlin_mapideas
maptopicprio/templates/meinberlin_maptopicprio
plans/templates/meinberlin_plans
projects/templates/meinberlin_projects
topicprio/templates/meinberlin_topicprio
templates/meinberlin_users
26 files changed +309
-279
lines changed Original file line number Diff line number Diff line change 4
4
{% block title %}{% translate "User Dashboard" %} — {{ block.super }}{% endblock %}
5
5
6
6
{% block breadcrumbs %}
7
- < div id ="layout-grid__area--contentheader ">
8
- < div id ="content-header ">
9
- < nav class ="breadcrumb " aria-label ="{% translate 'You are here:' %} ">
10
- < ol >
11
- < li > < a href ="/ "> {% translate 'meinBerlin Homepage' %}</ a > </ li >
12
- < li class ="active " aria-current ="page "> {% translate 'Account Settings' %}</ li >
13
- </ ol >
14
- </ nav >
15
- </ div >
7
+ < div id ="content-header ">
8
+ < nav class ="breadcrumb " aria-label ="{% translate 'You are here:' %} ">
9
+ < ol >
10
+ < li > < a href ="/ "> {% translate 'meinBerlin Homepage' %}</ a > </ li >
11
+ < li class ="active " aria-current ="page "> {% translate 'Account Settings' %}</ li >
12
+ </ ol >
13
+ </ nav >
16
14
</ div >
17
15
{% endblock %}
18
16
{% block content %}
Original file line number Diff line number Diff line change 3
3
4
4
{% block title %}{% translate 'Create a new proposal' %} — {{ block.super }}{% endblock %}
5
5
{% block breadcrumbs %}
6
- < div id ="layout-grid__area--contentheader ">
7
- < div id ="content-header ">
8
- < nav class ="breadcrumb " aria-label ="{% translate 'You are here:' %} ">
9
- < ol >
10
- < li > < a href ="/ "> meinBerlin</ a > </ li >
11
- < li > < a href ="{% url 'meinberlin_plans:plan-list' %} "> {% translate 'Project Overview' %}</ a > </ li >
12
- < li > < a href ="{% url 'project-detail' project.slug %} "> {{ project.name|truncatechars:50 }}</ a > </ li >
13
- {% if module.is_in_module_cluster %}
14
- < li > < a href ="{{ module.get_detail_url }} "> {{ module.name|truncatechars:50 }}</ a > </ li >
15
- {% endif %}
16
- < li class ="active " aria-current ="page "> {% translate 'Submit a new proposal for this project' %}</ li >
17
- </ ol >
18
- </ nav >
19
- </ div >
6
+ < div id ="content-header ">
7
+ < nav class ="breadcrumb " aria-label ="{% translate 'You are here:' %} ">
8
+ < ol >
9
+ < li > < a href ="/ "> meinBerlin</ a > </ li >
10
+ < li > < a href ="{% url 'meinberlin_plans:plan-list' %} "> {% translate 'Project Overview' %}</ a > </ li >
11
+ < li > < a href ="{% url 'project-detail' project.slug %} "> {{ project.name|truncatechars:50 }}</ a > </ li >
12
+ {% if module.is_in_module_cluster %}
13
+ < li > < a href ="{{ module.get_detail_url }} "> {{ module.name|truncatechars:50 }}</ a > </ li >
14
+ {% endif %}
15
+ < li class ="active " aria-current ="page "> {% translate 'Submit a new proposal for this project' %}</ li >
16
+ </ ol >
17
+ </ nav >
20
18
</ div >
21
19
{% endblock %}
22
20
{% block content %}
Original file line number Diff line number Diff line change 4
4
{% block title %}{% translate 'Moderate' %} {{ object.name }} — {{ block.super }}{% endblock %}
5
5
6
6
{% block breadcrumbs %}
7
- < div id ="layout-grid__area--contentheader ">
8
- < div id ="content-header ">
9
- < nav class ="breadcrumb " aria-label ="{% translate 'You are here:' %} ">
10
- < ol >
11
- < li > < a href ="/ "> meinBerlin</ a > </ li >
12
- < li > < a href ="{% url 'meinberlin_plans:plan-list' %} "> {% translate 'Project Overview' %}</ a > </ li >
13
- < li > < a href ="{% url 'project-detail' project.slug %} "> {{ project.name|truncatechars:50 }}</ a > </ li >
14
- {% if module.is_in_module_cluster %}
15
- < li > < a href ="{{ module.get_detail_url }} "> {{ module.name|truncatechars:50 }}</ a > </ li >
16
- {% endif %}
17
- < li > < a href ="{{ object.get_absolute_url }} "> {% translate 'Proposal' %}</ a > </ li >
18
- < li class ="active " aria-current ="page "> {% translate 'Moderate proposal' %}</ li >
19
- </ ol >
20
- </ nav >
21
- </ div >
7
+ < div id ="content-header ">
8
+ < nav class ="breadcrumb " aria-label ="{% translate 'You are here:' %} ">
9
+ < ol >
10
+ < li > < a href ="/ "> meinBerlin</ a > </ li >
11
+ < li > < a href ="{% url 'meinberlin_plans:plan-list' %} "> {% translate 'Project Overview' %}</ a > </ li >
12
+ < li > < a href ="{% url 'project-detail' project.slug %} "> {{ project.name|truncatechars:50 }}</ a > </ li >
13
+ {% if module.is_in_module_cluster %}
14
+ < li > < a href ="{{ module.get_detail_url }} "> {{ module.name|truncatechars:50 }}</ a > </ li >
15
+ {% endif %}
16
+ < li > < a href ="{{ object.get_absolute_url }} "> {% translate 'Proposal' %}</ a > </ li >
17
+ < li class ="active " aria-current ="page "> {% translate 'Moderate proposal' %}</ li >
18
+ </ ol >
19
+ </ nav >
22
20
</ div >
23
21
{% endblock %}
24
22
Original file line number Diff line number Diff line change 4
4
{% block title %}{% blocktranslate with title=object.name %}Edit {{ title }}{% endblocktranslate %} — {{ block.super }}{% endblock %}
5
5
6
6
{% block breadcrumbs %}
7
- < div id ="layout-grid__area--contentheader ">
8
- < div id ="content-header ">
9
- < nav class ="breadcrumb " aria-label ="{% translate 'You are here:' %} ">
10
- < ol >
11
- < li > < a href ="/ "> meinBerlin</ a > </ li >
12
- < li > < a href ="{% url 'meinberlin_plans:plan-list' %} "> {% translate 'Project Overview' %}</ a > </ li >
13
- < li > < a href ="{% url 'project-detail' project.slug %} "> {{ project.name|truncatechars:50 }}</ a > </ li >
14
- {% if module.is_in_module_cluster %}
15
- < li > < a href ="{{ module.get_detail_url }} "> {{ module.name|truncatechars:50 }}</ a > </ li >
16
- {% endif %}
17
- < li > < a href ="{{ object.get_absolute_url }} "> {% translate 'Proposal' %}</ a > </ li >
18
- < li class ="active " aria-current ="page "> {% translate 'Edit proposal' %}</ li >
19
- </ ol >
20
- </ nav >
21
- </ div >
7
+ < div id ="content-header ">
8
+ < nav class ="breadcrumb " aria-label ="{% translate 'You are here:' %} ">
9
+ < ol >
10
+ < li > < a href ="/ "> meinBerlin</ a > </ li >
11
+ < li > < a href ="{% url 'meinberlin_plans:plan-list' %} "> {% translate 'Project Overview' %}</ a > </ li >
12
+ < li > < a href ="{% url 'project-detail' project.slug %} "> {{ project.name|truncatechars:50 }}</ a > </ li >
13
+ {% if module.is_in_module_cluster %}
14
+ < li > < a href ="{{ module.get_detail_url }} "> {{ module.name|truncatechars:50 }}</ a > </ li >
15
+ {% endif %}
16
+ < li > < a href ="{{ object.get_absolute_url }} "> {% translate 'Proposal' %}</ a > </ li >
17
+ < li class ="active " aria-current ="page "> {% translate 'Edit proposal' %}</ li >
18
+ </ ol >
19
+ </ nav >
22
20
</ div >
23
21
{% endblock %}
24
22
Original file line number Diff line number Diff line change 1
1
{% load wagtailcore_tags i18n %}
2
2
3
- < div id ="layout-grid__area--contentheader ">
4
- < div id ="content-header ">
5
- {% if self.get_ancestors|length > 1 %}
6
- < nav class ="breadcrumb " aria-label ="{% translate 'You are here:' %} ">
7
- < ol >
8
- {% for page in self.get_ancestors.specific %}
9
- {% if page.is_root == False %}
10
- < li > < a href ="{{ page.url }} "> {{ page.title|truncatechars:50 }}</ a > </ li >
11
- {% endif %}
12
- {% endfor %}
13
- < li class ="active " aria-current ="page "> {% if self.page_title %}{{ self.page_title|truncatechars:50 }}{% else %}{{ self.title|truncatechars:50 }}{% endif %}</ li >
14
- </ ol >
15
- </ nav >
16
- {% endif %}
17
- </ div >
3
+ < div id ="content-header ">
4
+ {% if self.get_ancestors|length > 1 %}
5
+ < nav class ="breadcrumb " aria-label ="{% translate 'You are here:' %} ">
6
+ < ol >
7
+ {% for page in self.get_ancestors.specific %}
8
+ {% if page.is_root == False %}
9
+ < li > < a href ="{{ page.url }} "> {{ page.title|truncatechars:50 }}</ a > </ li >
10
+ {% endif %}
11
+ {% endfor %}
12
+ < li class ="active " aria-current ="page "> {% if self.page_title %}{{ self.page_title|truncatechars:50 }}{% else %}{{ self.title|truncatechars:50 }}{% endif %}</ li >
13
+ </ ol >
14
+ </ nav >
15
+ {% endif %}
18
16
</ div >
Original file line number Diff line number Diff line change 4
4
{% block title %}{{object.name}} — {{ block.super }}{% endblock %}
5
5
6
6
{% block breadcrumbs %}
7
- < div id ="layout-grid__area--contentheader ">
8
- < div id ="content-header ">
9
- < nav class ="breadcrumb " aria-label ="{% translate 'You are here:' %} ">
10
- < ol >
11
- < li > < a href ="/ "> meinBerlin</ a > </ li >
12
- < li > < a href ="{% url 'meinberlin_plans:plan-list' %} "> {% translate 'Project Overview' %}</ a > </ li >
13
- < li > < a href ="{% url 'project-detail' project.slug %} "> {{ project.name|truncatechars:50 }}</ a > </ li >
14
- {% if module.is_in_module_cluster %}
15
- < li > < a href ="{{ module.get_detail_url }} "> {{ module.name|truncatechars:50 }}</ a > </ li >
16
- {% endif %}
17
- < li class ="active " aria-current ="page "> {{ object.name }}</ li >
18
- </ ol >
19
- </ nav >
20
- </ div >
7
+ < div id ="content-header ">
8
+ < nav class ="breadcrumb " aria-label ="{% translate 'You are here:' %} ">
9
+ < ol >
10
+ < li > < a href ="/ "> meinBerlin</ a > </ li >
11
+ < li > < a href ="{% url 'meinberlin_plans:plan-list' %} "> {% translate 'Project Overview' %}</ a > </ li >
12
+ < li > < a href ="{% url 'project-detail' project.slug %} "> {{ project.name|truncatechars:50 }}</ a > </ li >
13
+ {% if module.is_in_module_cluster %}
14
+ < li > < a href ="{{ module.get_detail_url }} "> {{ module.name|truncatechars:50 }}</ a > </ li >
15
+ {% endif %}
16
+ < li class ="active " aria-current ="page "> {{ object.name }}</ li >
17
+ </ ol >
18
+ </ nav >
21
19
</ div >
22
20
{% endblock %}
23
21
Original file line number Diff line number Diff line change 4
4
{% block title %}{{ paragraph.name }} — {{ paragraph.chapter.project.name }} — {{ block.super }}{% endblock %}
5
5
6
6
{% block breadcrumbs %}
7
- < div id ="layout-grid__area--contentheader ">
8
- < div id ="content-header ">
9
- < nav class ="breadcrumb " aria-label ="{% translate 'You are here:' %} ">
10
- < ol >
11
- < li > < a href ="/ "> meinBerlin</ a > </ li >
12
- < li > < a href ="{% url 'meinberlin_plans:plan-list' %} "> {% translate 'Project Overview' %}</ a > </ li >
13
- < li > < a href ="{{ project.get_absolute_url }} "> {{ project.name|truncatechars:50 }}</ a > </ li >
14
- <!-- FIXME this doesn't work, it doesn't know it's in a cluster -->
15
- {% if module.is_in_module_cluster %}
16
- < li > < a href ="{{ chapter.get_absolute_url }} "> {{ chapter.name|truncatechars:50 }}</ a > </ li >
17
- {% endif %}
18
- < li class ="active " aria-current ="page "> {{ paragraph.name|truncatechars:50 }}</ li >
19
- </ ol >
20
- </ nav >
21
- </ div >
7
+ < div id ="content-header ">
8
+ < nav class ="breadcrumb " aria-label ="{% translate 'You are here:' %} ">
9
+ < ol >
10
+ < li > < a href ="/ "> meinBerlin</ a > </ li >
11
+ < li > < a href ="/ "> meinBerlin</ a > </ li >
12
+ < li > < a href ="{% url 'meinberlin_plans:plan-list' %} "> {% translate 'Project Overview' %}</ a > </ li >
13
+ < li > < a href ="{{ project.get_absolute_url }} "> {{ project.name|truncatechars:50 }}</ a > </ li >
14
+ <!-- FIXME this doesn't work, it doesn't know it's in a cluster -->
15
+ {% if module.is_in_module_cluster %}
16
+ < li > < a href ="{{ chapter.get_absolute_url }} "> {{ chapter.name|truncatechars:50 }}</ a > </ li >
17
+ {% endif %}
18
+ < li class ="active " aria-current ="page "> {{ paragraph.name|truncatechars:50 }}</ li >
19
+ </ ol >
20
+ </ nav >
22
21
</ div >
23
22
{% endblock %}
24
23
Original file line number Diff line number Diff line change 4
4
{% block title %}{% translate 'Create a new proposal' %} — {{ block.super }}{% endblock %}
5
5
6
6
{% block breadcrumbs %}
7
- < div id ="layout-grid__area--contentheader ">
8
- < div id ="content-header ">
9
- < nav class ="breadcrumb " aria-label ="{% translate 'You are here:' %} ">
10
- < ol >
11
- < li > < a href ="/ "> meinBerlin</ a > </ li >
12
- < li > < a href ="{% url 'meinberlin_plans:plan-list' %} "> {% translate 'Project Overview' %}</ a > </ li >
13
- < li > < a href ="{% url 'project-detail' project.slug %} "> {{ project.name|truncatechars:50 }}</ a > </ li >
14
- {% if module.is_in_module_cluster %}
15
- < li > < a href ="{{ module.get_detail_url }} "> {{ module.name|truncatechars:50 }}</ a > </ li >
16
- {% endif %}
17
- < li class ="active " aria-current ="page "> {% translate 'Submit a new idea for this project '%}</ li >
18
- </ ol >
19
- </ nav >
20
- </ div >
7
+ < div id ="content-header ">
8
+ < nav class ="breadcrumb " aria-label ="{% translate 'You are here:' %} ">
9
+ < ol >
10
+ < li > < a href ="/ "> meinBerlin</ a > </ li >
11
+ < li > < a href ="{% url 'meinberlin_plans:plan-list' %} "> {% translate 'Project Overview' %}</ a > </ li >
12
+ < li > < a href ="{% url 'project-detail' project.slug %} "> {{ project.name|truncatechars:50 }}</ a > </ li >
13
+ {% if module.is_in_module_cluster %}
14
+ < li > < a href ="{{ module.get_detail_url }} "> {{ module.name|truncatechars:50 }}</ a > </ li >
15
+ {% endif %}
16
+ < li class ="active " aria-current ="page "> {% translate 'Submit a new idea for this project '%}</ li >
17
+ </ ol >
18
+ </ nav >
21
19
</ div >
22
20
{% endblock %}
23
21
Original file line number Diff line number Diff line change 3
3
4
4
{% block title %}{{ object.name }} — {% translate 'Give feedback' %}{% endblock %}
5
5
{% block breadcrumbs %}
6
- < div id ="layout-grid__area--contentheader ">
7
- < div id ="content-header ">
8
- < nav class ="breadcrumb " aria-label ="{% translate 'You are here:' %} ">
9
- < ol >
10
- < li > < a href ="/ "> meinBerlin</ a > </ li >
11
- < li > < a href ="{% url 'meinberlin_plans:plan-list' %} "> {% translate 'Project Overview' %}</ a > </ li >
12
- < li > < a href ="{% url 'project-detail' project.slug %} "> {{ project.name|truncatechars:50 }}</ a > </ li >
13
- {% if module.is_in_module_cluster %}
14
- < li > < a href ="{{ module.get_detail_url }} "> {{ module.name|truncatechars:50 }}</ a > </ li >
15
- {% endif %}
16
- < li > < a href ="{{ object.get_absolute_url }} "> {% translate 'Idea' %}</ a > </ li >
17
- < li class ="active " aria-current ="page "> {% translate 'Moderate idea' %}</ li >
18
- </ ol >
19
- </ nav >
20
- </ div >
6
+ < div id ="content-header ">
7
+ < nav class ="breadcrumb " aria-label ="{% translate 'You are here:' %} ">
8
+ < ol >
9
+ < li > < a href ="/ "> meinBerlin</ a > </ li >
10
+ < li > < a href ="{% url 'meinberlin_plans:plan-list' %} "> {% translate 'Project Overview' %}</ a > </ li >
11
+ < li > < a href ="{% url 'project-detail' project.slug %} "> {{ project.name|truncatechars:50 }}</ a > </ li >
12
+ {% if module.is_in_module_cluster %}
13
+ < li > < a href ="{{ module.get_detail_url }} "> {{ module.name|truncatechars:50 }}</ a > </ li >
14
+ {% endif %}
15
+ < li > < a href ="{{ object.get_absolute_url }} "> {% translate 'Idea' %}</ a > </ li >
16
+ < li class ="active " aria-current ="page "> {% translate 'Moderate idea' %}</ li >
17
+ </ ol >
18
+ </ nav >
21
19
</ div >
22
20
{% endblock %}
23
21
{% block content %}
Original file line number Diff line number Diff line change 4
4
{% block title %}{% blocktranslate with title=object.name %}Edit {{ title }}{% endblocktranslate %} — {{ block.super }}{% endblock %}
5
5
6
6
{% block breadcrumbs %}
7
- < div id ="layout-grid__area--contentheader ">
8
- < div id ="content-header ">
9
- < nav class ="breadcrumb " aria-label ="{% translate 'You are here:' %} ">
10
- < ol >
11
- < li > < a href ="/ "> meinBerlin</ a > </ li >
12
- < li > < a href ="{% url 'meinberlin_plans:plan-list' %} "> {% translate 'Project Overview' %}</ a > </ li >
13
- < li > < a href ="{% url 'project-detail' project.slug %} "> {{ project.name|truncatechars:50 }}</ a > </ li >
14
- {% if module.is_in_module_cluster %}
15
- < li > < a href ="{{ module.get_detail_url }} "> {{ module.name|truncatechars:50 }}</ a > </ li >
16
- {% endif %}
17
- < li > < a href ="{{ object.get_absolute_url }} "> {% translate 'Idea' %}</ a > </ li >
18
- < li class ="active " aria-current ="page "> {% translate 'Edit idea' %}</ li >
19
- </ ol >
20
- </ nav >
21
- </ div >
7
+ < div id ="content-header ">
8
+ < nav class ="breadcrumb " aria-label ="{% translate 'You are here:' %} ">
9
+ < ol >
10
+ < li > < a href ="/ "> meinBerlin</ a > </ li >
11
+ < li > < a href ="{% url 'meinberlin_plans:plan-list' %} "> {% translate 'Project Overview' %}</ a > </ li >
12
+ < li > < a href ="{% url 'project-detail' project.slug %} "> {{ project.name|truncatechars:50 }}</ a > </ li >
13
+ {% if module.is_in_module_cluster %}
14
+ < li > < a href ="{{ module.get_detail_url }} "> {{ module.name|truncatechars:50 }}</ a > </ li >
15
+ {% endif %}
16
+ < li > < a href ="{{ object.get_absolute_url }} "> {% translate 'Idea' %}</ a > </ li >
17
+ < li class ="active " aria-current ="page "> {% translate 'Edit idea' %}</ li >
18
+ </ ol >
19
+ </ nav >
22
20
</ div >
23
21
{% endblock %}
24
22
Original file line number Diff line number Diff line change 3
3
4
4
{% block title %}{% translate 'Create a new proposal' %}{% endblock %}
5
5
{% block breadcrumbs %}
6
- < div id ="layout-grid__area--contentheader ">
7
- < div id ="content-header ">
8
- < nav class ="breadcrumb " aria-label ="{% translate 'You are here:' %} ">
9
- < ol >
10
- < li > < a href ="/ "> meinBerlin</ a > </ li >
11
- < li > < a href ="{% url 'meinberlin_plans:plan-list' %} "> {% translate 'Project Overview' %}</ a > </ li >
12
- < li > < a href ="{% url 'project-detail' project.slug %} "> {{ project.name|truncatechars:50 }}</ a > </ li >
13
- {% if module.is_in_module_cluster %}
14
- < li > < a href ="{{ module.get_detail_url }} "> {{ module.name|truncatechars:50 }}</ a > </ li >
15
- {% endif %}
16
- < li class ="active " aria-current ="page "> {% translate 'Submit a new proposal for this project' %}</ li >
17
- </ ol >
18
- </ nav >
19
- </ div >
6
+ < div id ="content-header ">
7
+ < nav class ="breadcrumb " aria-label ="{% translate 'You are here:' %} ">
8
+ < ol >
9
+ < li > < a href ="/ "> meinBerlin</ a > </ li >
10
+ < li > < a href ="{% url 'meinberlin_plans:plan-list' %} "> {% translate 'Project Overview' %}</ a > </ li >
11
+ < li > < a href ="{% url 'project-detail' project.slug %} "> {{ project.name|truncatechars:50 }}</ a > </ li >
12
+ {% if module.is_in_module_cluster %}
13
+ < li > < a href ="{{ module.get_detail_url }} "> {{ module.name|truncatechars:50 }}</ a > </ li >
14
+ {% endif %}
15
+ < li class ="active " aria-current ="page "> {% translate 'Submit a new proposal for this project' %}</ li >
16
+ </ ol >
17
+ </ nav >
20
18
</ div >
21
19
{% endblock %}
22
20
{% block content %}
You can’t perform that action at this time.
0 commit comments