Skip to content

Commit 764ab19

Browse files
fix: disable dev banner in zarr ckan
1 parent a1b18c6 commit 764ab19

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{% set current_lang = request.environ.CKAN_LANG %}
2+
3+
<nav class="account nav-for-large-screen">
4+
<ul class="list-unstyled">
5+
{% for locale in h.get_available_locales() %}
6+
<li>
7+
<a href="{% url_for h.current_url(), locale=locale.short_name %}" {% if locale.short_name == current_lang %}selected="selected"{% endif %}>
8+
{{ h.format_locale(locale) }}
9+
</a>
10+
</li>
11+
{% endfor %}
12+
</ul>
13+
</nav>

0 commit comments

Comments
 (0)