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

Side by Side Diff: templates/default.tmpl

Issue 29551734: Issue 5634 - Removed locale flags from abp.org header (Closed) Base URL: https://hg.adblockplus.org/web.adblockplus.org
Patch Set: Created Sept. 21, 2017, 11:02 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
« no previous file with comments | « static/css/main.css ('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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 <input name="ie" value="UTF-8" type="hidden"> 106 <input name="ie" value="UTF-8" type="hidden">
107 <label id="search-field-label-plain" for="search-field">{{get_stri ng("search", "menu")}}</label> 107 <label id="search-field-label-plain" for="search-field">{{get_stri ng("search", "menu")}}</label>
108 <input id="search-field" name="q" type="search"> 108 <input id="search-field" name="q" type="search">
109 <label id="search-field-label-button" for="search-field"> 109 <label id="search-field-label-button" for="search-field">
110 <button id="search-button" type="submit">{{get_string("search", "menu")}}</button> 110 <button id="search-button" type="submit">{{get_string("search", "menu")}}</button>
111 </label> 111 </label>
112 </form> 112 </form>
113 </li> 113 </li>
114 <li id="language"> 114 <li id="language">
115 <div id="current-language"> 115 <div id="current-language">
116 <div id="flag-{{locale}}" class="flag sprite"></div> 116 {{ config.get("langnames", locale) }} <span class="locale-code">({ { locale }})</span>
117 <span id="language-arrow" class="sprite"></span> 117 <span id="language-arrow" class="sprite"></span>
118 </div> 118 </div>
119 <ul id="language-selector"> 119 <ul id="language-selector">
120 {% for lang in available_locales %} 120 {% for available_locale in available_locales %}
121 <li class="language-entry"> 121 <li class="language-entry">
122 {{page|linkify(lang)}} 122 {{ page | linkify(available_locale) }}
123 <div id="flag-{{lang}}" class="flag sprite"></div>{{config.g et("langnames", lang)}} 123 {{ config.get("langnames", available_locale) }} <span class= "locale-code">({{ available_locale }})</span>
124 </a> 124 </a>
125 </li> 125 </li>
126 {% endfor %} 126 {% endfor %}
127 </ul> 127 </ul>
128 </li> 128 </li>
129 </ul> 129 </ul>
130 <a href="#" id="hamburger"></a> 130 <a href="#" id="hamburger"></a>
131 </nav> 131 </nav>
132 </header> 132 </header>
133 133
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 <a rel="nofollow" id="social-gplus" class="sprite" href="https://p lus.google.com/110020691898167279887"></a> 210 <a rel="nofollow" id="social-gplus" class="sprite" href="https://p lus.google.com/110020691898167279887"></a>
211 </li> 211 </li>
212 </ul> 212 </ul>
213 </section> 213 </section>
214 </div> 214 </div>
215 </footer> 215 </footer>
216 216
217 <script src="/js/main.js"></script> 217 <script src="/js/main.js"></script>
218 </body> 218 </body>
219 </html> 219 </html>
OLDNEW
« no previous file with comments | « static/css/main.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld