don#t display messages in embed mode
This commit is contained in:
parent
b3ae87570f
commit
9698033353
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,6 @@
|
||||||
|
|
||||||
{% 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="messages">{% include 'site/fragment_messages.html' %}</section>
|
|
||||||
<section id="attributions">
|
<section id="attributions">
|
||||||
<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> //
|
||||||
|
@ -13,6 +12,7 @@
|
||||||
</section>
|
</section>
|
||||||
<section id="map" data-bounds="{{ bounds }}" data-levels="{{ levels }}"{% if tile_cache_server %} data-tile-server="{{ tile_cache_server }}"{% endif %}></section>
|
<section id="map" data-bounds="{{ bounds }}" data-levels="{{ levels }}"{% if tile_cache_server %} data-tile-server="{{ tile_cache_server }}"{% endif %}></section>
|
||||||
{% if not embed %}
|
{% if not embed %}
|
||||||
|
<section id="messages">{% include 'site/fragment_messages.html' %}</section>
|
||||||
<section id="popup-buttons">
|
<section id="popup-buttons">
|
||||||
<button class="button-clear as-location">{% trans 'Show only this location' %}</button>
|
<button class="button-clear as-location">{% trans 'Show only this location' %}</button>
|
||||||
<button class="button-clear as-destination">{% trans 'Route to here' %}</button>
|
<button class="button-clear as-destination">{% trans 'Route to here' %}</button>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue