show language selector only if not embedded
This commit is contained in:
parent
1489596472
commit
16f017d811
1 changed files with 4 additions and 2 deletions
|
@ -6,8 +6,10 @@
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<main class="map" data-state="{{ state }}"{% if embed %} data-embed{% endif %}>
|
<main class="map" data-state="{{ state }}"{% if embed %} data-embed{% endif %}>
|
||||||
<section id="attributions">
|
<section id="attributions">
|
||||||
{% get_current_language as CURRENT_LANGUAGE %}
|
{% if not embed %}
|
||||||
<a href="{% url 'site.language' %}" id="choose-language">{{ CURRENT_LANGUAGE | language_name_local }}</a> –
|
{% get_current_language as CURRENT_LANGUAGE %}
|
||||||
|
<a href="{% url 'site.language' %}" id="choose-language">{{ CURRENT_LANGUAGE | language_name_local }}</a> –
|
||||||
|
{% endif %}
|
||||||
<a href="{% url 'editor.index' %}" target="_blank">{% trans 'Editor' %}</a> //
|
<a href="{% url 'editor.index' %}" target="_blank">{% trans 'Editor' %}</a> //
|
||||||
<a href="/api/" target="_blank">{% trans 'API' %}</a> //
|
<a href="/api/" target="_blank">{% trans 'API' %}</a> //
|
||||||
<a href="https://twitter.com/c3nav/" rel="external" target="_blank">Twitter</a> //
|
<a href="https://twitter.com/c3nav/" rel="external" target="_blank">Twitter</a> //
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue