diff options
Diffstat (limited to 'archaeological_operations/templates/ishtar/sheet_site.html')
-rw-r--r-- | archaeological_operations/templates/ishtar/sheet_site.html | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/archaeological_operations/templates/ishtar/sheet_site.html b/archaeological_operations/templates/ishtar/sheet_site.html index a1125d202..e9004d875 100644 --- a/archaeological_operations/templates/ishtar/sheet_site.html +++ b/archaeological_operations/templates/ishtar/sheet_site.html @@ -1,5 +1,5 @@ {% extends "ishtar/sheet.html" %} -{% load i18n window_tables window_header window_ope_tables window_field from_dict %} +{% load i18n ishtar_helpers window_tables window_header window_ope_tables window_field from_dict %} {% block head_title %}<strong>{{SITE_LABEL}}</strong> - {{item.cached_label}}{% endblock %} @@ -8,6 +8,8 @@ {% endblock %} {% block content %} +{% with permission_change_geo=permission_change_own_geovectordata|or_:permission_change_geovectordata %} +{% with display_geo=item.geodata.count %} <div class="row"> <div class="offset-lg-4 col-lg-4 offset-md-3 col-md-6 offset-sm-1 col-sm-10 col-12"> @@ -98,4 +100,9 @@ {% endif %} {% endif %} +{% if not is_external and display_geo %} +{% with geo_item=item %}{% include "ishtar/blocks/sheet_geographic.html" %}{% endwith %} +{% endif %} + +{% endwith %} {% endwith %} {% endblock %} |