From 8cef5885e562f5754f72d654a435f9819e127514 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Thu, 2 Oct 2014 22:45:22 +0200 Subject: [PATCH] add noindex when map status isn't public --- umap/templates/leaflet_storage/map_detail.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/umap/templates/leaflet_storage/map_detail.html b/umap/templates/leaflet_storage/map_detail.html index 4353e428..6023676f 100644 --- a/umap/templates/leaflet_storage/map_detail.html +++ b/umap/templates/leaflet_storage/map_detail.html @@ -8,6 +8,9 @@ {% leaflet_storage_css %} {% endcompress %} {% leaflet_storage_js locale=locale %} + {% if object.share_status != object.PUBLIC %} + + {% endif %} {% endblock %} {% block content %} @@ -15,4 +18,4 @@ {% include "leaflet_storage/map_init.html" %} {% endblock %} {% include "leaflet_storage/map_messages.html" %} -{% endblock %} \ No newline at end of file +{% endblock %}