Index: templates/default.tmpl |
=================================================================== |
--- a/templates/default.tmpl |
+++ b/templates/default.tmpl |
@@ -108,24 +108,24 @@ |
<input id="search-field" name="q" type="search"> |
<label id="search-field-label-button" for="search-field"> |
<button id="search-button" type="submit">{{get_string("search", "menu")}}</button> |
</label> |
</form> |
</li> |
<li id="language"> |
<div id="current-language"> |
- <div id="flag-{{locale}}" class="flag sprite"></div> |
+ {{ config.get("langnames", locale) }} <span class="locale-code">({{ locale }})</span> |
<span id="language-arrow" class="sprite"></span> |
</div> |
<ul id="language-selector"> |
- {% for lang in available_locales %} |
+ {% for available_locale in available_locales %} |
<li class="language-entry"> |
- {{page|linkify(lang)}} |
- <div id="flag-{{lang}}" class="flag sprite"></div>{{config.get("langnames", lang)}} |
+ {{ page | linkify(available_locale) }} |
+ {{ config.get("langnames", available_locale) }} <span class="locale-code">({{ available_locale }})</span> |
</a> |
</li> |
{% endfor %} |
</ul> |
</li> |
</ul> |
<a href="#" id="hamburger"></a> |
</nav> |