diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-03-06 18:06:01 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-03-06 18:06:01 +0100 |
commit | b16a39fff95c60711b74ba33977de855d16a1204 (patch) | |
tree | 5939b2cd46e72d9eac7954b620d5be03659b9a52 /archaeological_operations/templates/ishtar/sheet_operation.html | |
parent | 6bfcffe23290c79c7d72e0aec45bd9ed86d52c14 (diff) | |
download | Ishtar-b16a39fff95c60711b74ba33977de855d16a1204.tar.bz2 Ishtar-b16a39fff95c60711b74ba33977de855d16a1204.zip |
Profile: do not display geo item list when mapping is deactivated (refs #4467)
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 |