Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: templates/default.tmpl

Issue 29589609: Issue 5636 - Changed navbar contents (Closed) Base URL: https://bitbucket.org/adblockplus/adblockplus.org
Patch Set: Created Oct. 26, 2017, 11:53 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « locales/en/menu.json ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 ["contribute", "about"] %}
ire 2017/10/27 12:47:27 In the spec, the order is ["about", "contribute"]
juliandoucette 2017/10/28 11:35:16 See https://bitbucket.org/adblockplus/spec/pull-re
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="https://help.eyeo.com/adblockplus">{{ get_string("help", "m enu") }}</a>
103 </li>
101 <li id="navbar-locale-menubar"> 104 <li id="navbar-locale-menubar">
102 <a href="#" id="navbar-locale-selected"> 105 <a href="#" id="navbar-locale-selected">
103 {{ config.get("langnames", locale) }} ({{ locale | to_og_locale | to_og_location }}) 106 {{ config.get("langnames", locale) }} ({{ locale | to_og_locale | to_og_location }})
104 </a> 107 </a>
105 <ul id="navbar-locale-menu"> 108 <ul id="navbar-locale-menu">
106 {% for available_locale in available_locales %} 109 {% for available_locale in available_locales %}
107 <li> 110 <li>
108 {{ page | linkify(available_locale) }} 111 {{ page | linkify(available_locale) }}
109 {{ config.get("langnames", available_locale) }} ({{ availabl e_locale | to_og_locale | to_og_location }}) 112 {{ config.get("langnames", available_locale) }} ({{ availabl e_locale | to_og_locale | to_og_location }})
110 </a> 113 </a>
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 <li>{{ pagename | linkify }}{{ get_string(pagename, "menu") }}</a> </li> 216 <li>{{ pagename | linkify }}{{ get_string(pagename, "menu") }}</a> </li>
214 {% endfor %} 217 {% endfor %}
215 </ul> 218 </ul>
216 </div> {# #footer-legal #} 219 </div> {# #footer-legal #}
217 </div> {# .container #} 220 </div> {# .container #}
218 </footer> {# #footer #} 221 </footer> {# #footer #}
219 222
220 <script src="/js/main.js"></script> 223 <script src="/js/main.js"></script>
221 </body> 224 </body>
222 </html> 225 </html>
OLDNEW
« no previous file with comments | « locales/en/menu.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld