umap/umap/templates/leaflet_storage/map_detail.html

31 lines
1 KiB
HTML

{% extends "base.html" %}
{% load leaflet_storage_tags compress i18n %}
{% block head_title %}{{ map.name }} - uMap{% endblock %}
{% block body_class %}map_detail{% endblock %}
{% block extra_head %}
{% compress css %}
{% leaflet_storage_css %}
{% endcompress %}
{% leaflet_storage_js locale=locale %}
{% if object.share_status != object.PUBLIC %}
<meta name="robots" content="noindex">
{% endif %}
{% endblock %}
{% block content %}
{% block map_init %}
{% include "leaflet_storage/map_init.html" %}
{% endblock %}
{% include "leaflet_storage/map_messages.html" %}
<script type="text/javascript">
MAP.ui.on('panel:ready', function () {
L.S.AutoComplete.multiSelect('id_editors', {
placeholder: "{% trans 'Type editors nick to add…' %}"
});
L.S.AutoComplete.select('id_owner', {
placeholder: "{% trans 'Type new owner nick…' %}"
});
});
</script>
{% endblock %}