File tree Expand file tree Collapse file tree
tenca_django/templates/tenca_django Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 < h1 class ="page-title ">
1313 < span class ="underline "> {{ page.title }}</ span >
1414 </ h1 >
15- < div class ="col-lg-9 minutes-text "> {{ parsed_md.0|touchify_abbreviations|tag_external_links }}</ div >
15+ < div class ="col-lg-9 minutes-text ">
16+ {{ parsed_md.0|touchify_abbreviations|tag_external_links }}
17+ </ div >
1618 < div class ="col-lg-3 minutes-meta ">
1719 < aside class ="side-panel border-accent ">
1820 < h1 class ="side-panel-title "> {% translate "Date" %}</ h1 >
@@ -29,7 +31,9 @@ <h1 class="side-panel-title">{% translate "Minutes taker" %}</h1>
2931 < aside class ="side-panel border-accent ">
3032 < h1 class ="side-panel-title "> {% translate "Participants" %}</ h1 >
3133 < ul >
32- {% for participant in page.participants.all %}< li > {{ participant.get_full_name }}</ li > {% endfor %}
34+ {% for participant in page.participants.all %}
35+ < li > {{ participant.get_full_name }}</ li >
36+ {% endfor %}
3337 </ ul >
3438 </ aside >
3539 < aside class ="side-panel border-accent ">
Original file line number Diff line number Diff line change 44{% if perms.wagtail.edit_page %}
55 {% if page.has_unpublished_changes %}
66 < aside class ="side-panel border-accent sidebar-container d-print-none ">
7- < h1 class ="side-panel-warning "> {% translate "Page has unpublished changes!" %}</ h1 >
7+ < h1 class ="side-panel-warning ">
8+ {% translate "Page has unpublished changes!" %}
9+ </ h1 >
810 </ aside >
911 {% endif %}
1012 {% with page.visible_for.all|join:", " as visibility %}
@@ -45,7 +47,9 @@ <h1 class="side-panel-title">{% translate "Attachments" %}</h1>
4547 id ="sidebar-offcanvas "
4648 aria-labelledby ="sidebar-offcanvas-label ">
4749 < div class ="offcanvas-header ">
48- < h5 class ="offcanvas-title " id ="sidebar-offcanvas-label "> {% translate "Table of contents" %}</ h5 >
50+ < h5 class ="offcanvas-title " id ="sidebar-offcanvas-label ">
51+ {% translate "Table of contents" %}
52+ </ h5 >
4953 < button type ="button "
5054 class ="btn-close "
5155 data-bs-dismiss ="offcanvas "
Original file line number Diff line number Diff line change @@ -17,9 +17,13 @@ <h2>{{ page.question }}</h2>
1717 {% elif page.results_visible %}
1818 {% block results %}{% endblock %}
1919 {% elif not page.in_voting_period %}
20- < p > {% translate "You've accessed this page outside of the voting period." %}</ p >
20+ < p >
21+ {% translate "You've accessed this page outside of the voting period." %}
22+ </ p >
2123 {% else %}
22- < p > {% translate "You are not allowed to cast (another) vote and the results are not visible yet." %}</ p >
24+ < p >
25+ {% translate "You are not allowed to cast (another) vote and the results are not visible yet." %}
26+ </ p >
2327 {% endif %}
2428 </ div >
2529 < div class ="col-lg-3 ">
Original file line number Diff line number Diff line change 2121 data-parent ="#options "
2222 class ="collapse show ">
2323 < div class ="card-body ">
24- {% with field.help_text|markdown as parsed_md %}< p > {{ parsed_md.0 }}</ p > {% endwith %}
24+ {% with field.help_text|markdown as parsed_md %}
25+ < p > {{ parsed_md.0 }}</ p >
26+ {% endwith %}
2527 </ div >
2628 </ div >
2729 </ div >
Original file line number Diff line number Diff line change 1010 {% if search_query %}value ="{{ search_query }} "{% endif %} >
1111 < button type ="submit "
1212 class ="btn btn-primary "
13- aria-label ="{% translate 'Search' %} "> {% bs_icon "search" extra_classes="text-light" %}</ button >
13+ aria-label ="{% translate 'Search' %} ">
14+ {% bs_icon "search" extra_classes="text-light" %}
15+ </ button >
1416 </ div >
1517</ form >
Original file line number Diff line number Diff line change @@ -15,8 +15,14 @@ <h1>{% translate "Access denied" %}</h1>
1515 </ p >
1616
1717 < ul class ="pb-3 ">
18- < li > {% translate "You are not logged in and are not accessing the page from the university network." %}</ li >
19- < li > {% translate "You are not logged in and the page is only available for logged in users." %}</ li >
20- < li > {% translate "You are logged in but don't have the required permissions to access this page." %}</ li >
18+ < li >
19+ {% translate "You are not logged in and are not accessing the page from the university network." %}
20+ </ li >
21+ < li >
22+ {% translate "You are not logged in and the page is only available for logged in users." %}
23+ </ li >
24+ < li >
25+ {% translate "You are logged in but don't have the required permissions to access this page." %}
26+ </ li >
2127 </ ul >
2228{% endblock %}
Original file line number Diff line number Diff line change 3636 href ="{% static 'scss/myHPI.scss'|compile %} "
3737 rel ="stylesheet ">
3838
39- {% block extra_css %}{# Override this in templates to add extra stylesheets #}{% endblock %}
39+ {% block extra_css %}
40+ {# Override this in templates to add extra stylesheets #}
41+ {% endblock %}
4042 </ head >
4143
4244 < body class ="bg-background myhpi-accent d-flex flex-column min-vh-100 {% block body_class %}{% endblock %} ">
150152 < button type ="button "
151153 class ="btn-close "
152154 data-bs-dismiss ="alert "
153- aria-label ="{% translate 'Close' %} "> </ button >
155+ aria-label ="{% translate 'Close' %} ">
156+ </ button >
154157 </ div >
155158 {% endfor %}
156159 </ div >
215218 < script type ="text/javascript " src ="{% static 'js/search.js' %} "> </ script >
216219 < script type ="text/javascript " src ="{% static 'js/myHPI.js' %} "> </ script >
217220
218- {% block extra_js %}{# Override this in templates to add extra javascript #}{% endblock %}
221+ {% block extra_js %}
222+ {# Override this in templates to add extra javascript #}
223+ {% endblock %}
219224 </ body >
220225
221226</ html >
Original file line number Diff line number Diff line change 55 < div class ="page-content d-flex flex-wrap flex-column flex-sm-row ">
66 {% for column in footer_columns %}
77 < div class ="footer-category ">
8- {% with column|markdown as parsed_markdown %}{{ parsed_markdown.0|tag_external_links }}{% endwith %}
8+ {% with column|markdown as parsed_markdown %}
9+ {{ parsed_markdown.0|tag_external_links }}
10+ {% endwith %}
911 </ div >
1012 {% endfor %}
1113 < div class ="footer-category ">
Original file line number Diff line number Diff line change 1414 {% else %}
1515 {% if 'next' in request.GET and not request.GET.user_initiated %}
1616 < div class ="alert alert-danger alert-dismissable ">
17- < button type ="button " class ="close " data-dismiss ="alert " aria-hidden ="true "> ×</ button >
17+ < button type ="button " class ="close " data-dismiss ="alert " aria-hidden ="true ">
18+ ×
19+ </ button >
1820 {% translate "Please login to see this page." %}
1921 </ div >
2022 {% endif %}
Original file line number Diff line number Diff line change 1717{% endblock %}
1818
1919{% block content %}
20- < p > {% trans "This link is now invalid. You never need to visit it again." %}</ p >
20+ < p >
21+ {% trans "This link is now invalid. You never need to visit it again." %}
22+ </ p >
2123{% endblock %}
You can’t perform that action at this time.
0 commit comments