OLD | NEW |
1 {# | 1 {# |
2 # This file is part of acceptableads.org. | 2 # This file is part of acceptableads.org. |
3 # Copyright (C) 2016 Eyeo GmbH | 3 # Copyright (C) 2016 Eyeo GmbH |
4 # | 4 # |
5 # acceptableads.org is free software: you can redistribute it and/or modify | 5 # acceptableads.org is free software: you can redistribute it and/or modify |
6 # it under the terms of the GNU General Public License as published by | 6 # it under the terms of the GNU General Public License as published by |
7 # the Free Software Foundation, either version 3 of the License, or | 7 # the Free Software Foundation, either version 3 of the License, or |
8 # (at your option) any later version. | 8 # (at your option) any later version. |
9 # | 9 # |
10 # acceptableads.org is distributed in the hope that it will be useful, | 10 # acceptableads.org is distributed in the hope that it will be useful, |
(...skipping 15 matching lines...) Expand all Loading... |
26 </li> | 26 </li> |
27 {% if subpages %} | 27 {% if subpages %} |
28 {% for child_page, child_label in subpages %} | 28 {% for child_page, child_label in subpages %} |
29 {% if page == child_page %} | 29 {% if page == child_page %} |
30 <li> | 30 <li> |
31 {{ child_page | linkify }}<strong>{{ child_label | translate(c
hild_page) }}</strong></a> | 31 {{ child_page | linkify }}<strong>{{ child_label | translate(c
hild_page) }}</strong></a> |
32 </li> | 32 </li> |
33 {% endif %} | 33 {% endif %} |
34 {% endfor %} | 34 {% endfor %} |
35 {% elif breadcrumb %} | 35 {% elif breadcrumb %} |
36 {% if parent == "blog/index" or parent == "committee/members/index"
%} | 36 {% if parent == "committee/members/index" %} |
37 <li> | 37 <li> |
38 {{ page | linkify }}<strong>{{ breadcrumb }}</strong></a> | 38 {{ page | linkify }}<strong>{{ breadcrumb }}</strong></a> |
39 </li> | 39 </li> |
40 {% else %} | 40 {% else %} |
41 <li> | 41 <li> |
42 {{ page | linkify }}<strong>{{ breadcrumb | translate("page-titl
e")}}</strong></a> | 42 {{ page | linkify }}<strong>{{ breadcrumb | translate("page-titl
e")}}</strong></a> |
43 </li> | 43 </li> |
44 {% endif %} | 44 {% endif %} |
45 {% else %} | 45 {% else %} |
46 {% if parent == "blog/index" or parent == "committee/members/index"
%} | 46 {% if parent == "committee/members/index" %} |
47 <li> | 47 <li> |
48 {{ page | linkify }}<strong>{{ title }}</strong></a> | 48 {{ page | linkify }}<strong>{{ title }}</strong></a> |
49 </li> | 49 </li> |
50 {% else %} | 50 {% else %} |
51 <li> | 51 <li> |
52 {{ page | linkify }}<strong>{{ title | translate("page-title")}}
</strong></a> | 52 {{ page | linkify }}<strong>{{ title | translate("page-title")}}
</strong></a> |
53 </li> | 53 </li> |
54 {% endif %} | 54 {% endif %} |
55 {% endif %} | 55 {% endif %} |
56 {% endif %} | 56 {% endif %} |
57 {% endfor %} | 57 {% endfor %} |
58 {% else %} | 58 {% else %} |
59 {% if breadcrumb %} | 59 {% if breadcrumb %} |
60 <li> | 60 <li> |
61 {{ page | linkify }}<strong>{{ breadcrumb | translate("breadcrumb")}}</s
trong></a> | 61 {{ page | linkify }}<strong>{{ breadcrumb | translate("breadcrumb")}}</s
trong></a> |
62 </li> | 62 </li> |
63 {% else %} | 63 {% else %} |
64 <li> | 64 <li> |
65 {{ page | linkify }}<strong>{{ title | translate("page-title")}}</strong
></a> | 65 {{ page | linkify }}<strong>{{ title | translate("page-title")}}</strong
></a> |
66 </li> | 66 </li> |
67 {% endif %} | 67 {% endif %} |
68 {% endif %} | 68 {% endif %} |
69 </ol> | 69 </ol> |
70 </div> | 70 </div> |
OLD | NEW |