diff options
Diffstat (limited to 'archaeological_operations/templates/ishtar/sheet_operation.html')
-rw-r--r-- | archaeological_operations/templates/ishtar/sheet_operation.html | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/archaeological_operations/templates/ishtar/sheet_operation.html b/archaeological_operations/templates/ishtar/sheet_operation.html index 8d0b717a3..43148d7e4 100644 --- a/archaeological_operations/templates/ishtar/sheet_operation.html +++ b/archaeological_operations/templates/ishtar/sheet_operation.html @@ -35,7 +35,6 @@ {% with perm_find=permission_view_own_find|or_:permission_view_find %} {% with has_finds=item|safe_or:"has_finds" %} {% with display_finds=perm_find|and_:has_finds %} -{% with display_geo=item.geodata.count %} {% if output != "ODT" and output != "PDF" %} <ul class="nav nav-tabs" id="{{window_id}}-tabs" role="tablist"> @@ -91,7 +90,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" @@ -449,7 +448,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 %} @@ -608,6 +607,6 @@ $(document).ready( function () { } ); </script> -{% 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 %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endblock %}
\ No newline at end of file |