summaryrefslogtreecommitdiff
path: root/archaeological_finds
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_finds')
-rw-r--r--archaeological_finds/templates/ishtar/sheet_basefind.html3
-rw-r--r--archaeological_finds/templates/ishtar/sheet_find.html2
2 files changed, 4 insertions, 1 deletions
diff --git a/archaeological_finds/templates/ishtar/sheet_basefind.html b/archaeological_finds/templates/ishtar/sheet_basefind.html
index aa41ee34b..c57e0d681 100644
--- a/archaeological_finds/templates/ishtar/sheet_basefind.html
+++ b/archaeological_finds/templates/ishtar/sheet_basefind.html
@@ -45,6 +45,9 @@
{% field_flex_full "Description" base_find.description "<pre>" "</pre>" first %}
{% field_flex_full "Comment" base_find.comment "<pre>" "</pre>" first %}
</div>
+ {% with item=base_find %}
+ {% include "ishtar/blocks/sheet_json.html" %}
+ {% endwith %}
<h3>{% trans "Sheet"%}</h3>
<div class='row'>
{% with item.history_creation_date|date:"SHORT_DATETIME_FORMAT" as creation_date %}
diff --git a/archaeological_finds/templates/ishtar/sheet_find.html b/archaeological_finds/templates/ishtar/sheet_find.html
index 8d933d3fb..a1a8f41e5 100644
--- a/archaeological_finds/templates/ishtar/sheet_find.html
+++ b/archaeological_finds/templates/ishtar/sheet_find.html
@@ -481,7 +481,7 @@
{% dynamic_table_document finds_docs 'documents' 'finds' item.pk '' output %}
</div>
{% endif %}
- {% if item.data %}
+ {% if item.data and item.data != {} %}
<div class="tab-pane fade" id="{{window_id}}-json"
role="tabpanel" aria-labelledby="{{window_id}}-json-tab">
{% include "ishtar/blocks/sheet_json.html" %}