summaryrefslogtreecommitdiff
path: root/archaeological_context_records/templates
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_context_records/templates')
-rw-r--r--archaeological_context_records/templates/ishtar/sheet_contextrecord.html7
1 files changed, 3 insertions, 4 deletions
diff --git a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html
index d82766305..79f58b94d 100644
--- a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html
+++ b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html
@@ -30,7 +30,6 @@
{% with has_finds=item|safe_or:"base_finds.count" %}
{% with display_finds=has_finds|and_:can_view_finds %}
{% with display_data=item.data %}
-{% with display_geo=item.geodata.count %}
{% if output != "ODT" and output != "PDF"%}
<ul class="nav nav-tabs" id="{{window_id}}-tabs" role="tablist">
@@ -93,7 +92,7 @@
</a>
</li>
{% endif %}
- {% if not is_external and display_geo %}
+ {% if not is_external and SHOW_GEO %}
<li class="nav-item">
<a class="nav-link" id="{{window_id}}-geodata-tab"
data-toggle="tab" href="#{{window_id}}-geodata" role="tab"
@@ -332,7 +331,7 @@
</div>
{% endif %}
- {% if not is_external and display_geo %}
+ {% if not is_external and SHOW_GEO %}
<div class="tab-pane fade" id="{{window_id}}-geodata"
role="tabpanel" aria-labelledby="{{window_id}}-geodata-tab">
{% with geo_item=item %}{% include "ishtar/blocks/sheet_geographic.html" %}{% endwith %}
@@ -347,6 +346,6 @@
{% endif %}
</div>
-{% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %}
+{% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %}
{% endblock %}