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

Side by Side Diff: includes/navbar.tmpl

Issue 29611624: Issue 6047 - Updated templates and uninstalled pages (Closed) Base URL: https://hg.adblockplus.org/web.adblockplus.org
Patch Set: Changed document macro in html-attribute include, removed simple template, and removed temporary/unused resources include Created Nov. 25, 2017, 1:35 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 {% from "macros/pageitem" import pageitem %}
2
3 <nav id="navbar">
4 <div class="container">
5 {{ "index" | linkify(id="navbar-logo") }}
6 <img
7 src="/img/navbar-logo.png"
8 srcset="/img/navbar-logo.svg 2x">
9 <span>{{ "Adblock <strong>Plus</strong>" | translate("navbar-logo-text", " Navbar logo text") }}</span>
10 </a>
11 <a href="#" id="navbar-menu-toggle">
12 <img
13 src="/img/menu-toggle.png"
14 srcset="/img/menu-toggle.svg 2x">
15 </a>
16 <ul id="navbar-menu">
17 {% for pagename in ["about", "features", "bugs", "contribute"] %}
18 <li>
19 {{ pagename | linkify }}{{ get_string(pagename, "menu") }}</a>
20 </li>
21 {% endfor %}
22 <li id="navbar-locale-menubar">
23 <a href="#" id="navbar-locale-selected">
24 {{ config.get("langnames", locale) }} ({{ locale | to_og_locale | to_o g_location }})
25 </a>
26 <ul id="navbar-locale-menu">
27 {% for available_locale in available_locales %}
28 <li>
29 {{ page | linkify(available_locale) }}
30 {{ config.get("langnames", available_locale) }} ({{ available_lo cale | to_og_locale | to_og_location }})
31 </a>
32 </li>
33 {% endfor %}
34 </ul>{# #navbar-locale-menu #}
35 </li>
36 </ul>{# #navbar-menu #}
37 </div>{# .container #}
38 </nav>{# #navbar #}
OLDNEW
« no previous file with comments | « includes/meta/standard.tmpl ('k') | includes/polyfills.tmpl » ('j') | pages/uninstalled.tmpl » ('J')

Powered by Google App Engine
This is Rietveld