OLD | NEW |
1 {# | 1 {# |
2 # This file is part of the Adblock Plus website, | 2 # This file is part of the Adblock Plus website, |
3 # Copyright (C) 2006-present eyeo GmbH | 3 # Copyright (C) 2006-present eyeo GmbH |
4 # | 4 # |
5 # Adblock Plus is free software: you can redistribute it and/or modify | 5 # Adblock Plus is free software: you can redistribute it and/or modify |
6 # it under the terms of the GNU General Public License version 3 as | 6 # it under the terms of the GNU General Public License version 3 as |
7 # published by the Free Software Foundation. | 7 # published by the Free Software Foundation. |
8 # | 8 # |
9 # Adblock Plus is distributed in the hope that it will be useful, | 9 # Adblock Plus is distributed in the hope that it will be useful, |
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 src="/img/navbar-logo.png" | 86 src="/img/navbar-logo.png" |
87 srcset="/img/navbar-logo.svg 2x"> | 87 srcset="/img/navbar-logo.svg 2x"> |
88 <span>{{ "Adblock <strong>Plus</strong>" | translate("navbar-logo-text
", "Navbar logo text") }}</span> | 88 <span>{{ "Adblock <strong>Plus</strong>" | translate("navbar-logo-text
", "Navbar logo text") }}</span> |
89 </a> | 89 </a> |
90 <a href="#" id="navbar-menu-toggle"> | 90 <a href="#" id="navbar-menu-toggle"> |
91 <img | 91 <img |
92 src="/img/menu-toggle.png" | 92 src="/img/menu-toggle.png" |
93 srcset="/img/menu-toggle.svg 2x"> | 93 srcset="/img/menu-toggle.svg 2x"> |
94 </a> | 94 </a> |
95 <ul id="navbar-menu"> | 95 <ul id="navbar-menu"> |
96 {% for pagename in ["about", "features", "bugs", "contribute"] %} | 96 {% for pagename in ["about", "contribute"] %} |
97 <li> | 97 <li> |
98 {{ pagename | linkify }}{{ get_string(pagename, "menu") }}</a> | 98 {{ pagename | linkify }}{{ get_string(pagename, "menu") }}</a> |
99 </li> | 99 </li> |
100 {% endfor %} | 100 {% endfor %} |
| 101 <li> |
| 102 <a href="documentation">{{ get_string("help", "menu") }}</a> |
| 103 </li> |
101 <li id="navbar-locale-menubar"> | 104 <li id="navbar-locale-menubar"> |
102 <a href="#" id="navbar-locale-selected"> | 105 <a id="navbar-locale-selected" href="#"> |
103 {{ config.get("langnames", locale) }} ({{ locale | to_og_locale |
to_og_location }}) | 106 <img |
| 107 id="locale-icon" |
| 108 src="/img/globe.png" |
| 109 srcset="/img/globe.svg 2x" |
| 110 aria-hidden="true" /> |
| 111 {{ config.get("langnames", locale) }} |
104 </a> | 112 </a> |
105 <ul id="navbar-locale-menu"> | 113 <ul id="navbar-locale-menu"> |
106 {% for available_locale in available_locales %} | 114 {% for available_locale in available_locales %} |
107 <li> | 115 <li> |
108 {{ page | linkify(available_locale) }} | 116 {{ page | linkify(available_locale) }} |
109 {{ config.get("langnames", available_locale) }} ({{ availabl
e_locale | to_og_locale | to_og_location }}) | 117 {{ config.get("langnames", available_locale) }} |
110 </a> | 118 </a> |
111 </li> | 119 </li> |
112 {% endfor %} | 120 {% endfor %} |
113 </ul>{# #navbar-locale-menu #} | 121 </ul>{# #navbar-locale-menu #} |
114 </li> | 122 </li> |
115 </ul>{# #navbar-menu #} | 123 </ul>{# #navbar-menu #} |
116 </div>{# .container #} | 124 </div>{# .container #} |
117 </nav>{# #navbar #} | 125 </nav>{# #navbar #} |
118 | 126 |
119 <div id="content" class="container content {{ localefile == "index" and page
}}"> | 127 <div id="content" class="container content {{ localefile == "index" and page
}}"> |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 <li>{{ pagename | linkify }}{{ get_string(pagename, "menu") }}</a>
</li> | 221 <li>{{ pagename | linkify }}{{ get_string(pagename, "menu") }}</a>
</li> |
214 {% endfor %} | 222 {% endfor %} |
215 </ul> | 223 </ul> |
216 </div> {# #footer-legal #} | 224 </div> {# #footer-legal #} |
217 </div> {# .container #} | 225 </div> {# .container #} |
218 </footer> {# #footer #} | 226 </footer> {# #footer #} |
219 | 227 |
220 <script src="/js/main.js"></script> | 228 <script src="/js/main.js"></script> |
221 </body> | 229 </body> |
222 </html> | 230 </html> |
OLD | NEW |