summaryrefslogtreecommitdiff
path: root/archaeological_finds/templates/ishtar/sheet_find.html
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_finds/templates/ishtar/sheet_find.html')
-rw-r--r--archaeological_finds/templates/ishtar/sheet_find.html7
1 files changed, 3 insertions, 4 deletions
diff --git a/archaeological_finds/templates/ishtar/sheet_find.html b/archaeological_finds/templates/ishtar/sheet_find.html
index 9cfcfe707..a628498e0 100644
--- a/archaeological_finds/templates/ishtar/sheet_find.html
+++ b/archaeological_finds/templates/ishtar/sheet_find.html
@@ -30,7 +30,6 @@
{% with display_warehouse_treatments=item.container|or_:item.container_ref|or_:item.upstream_treatment|or_:item.downstream_treatment|or_:non_modif_treatments_count|or_:associated_treatment_files_count %}
{% with can_view_documents=permission_view_own_document|or_:permission_view_document %}
{% with display_documents=can_view_documents|and_:item.documents_count %}
-{% with display_geo=item.geodata.count %}
{% with has_image=item.images_number %}
{% if output != "ODT" and output != "PDF"%}
@@ -67,7 +66,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"
@@ -539,7 +538,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">
<h3>{% trans "Geographic data" %}</h3>
@@ -563,7 +562,7 @@
{% 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 %}
{% endblock %}