summaryrefslogtreecommitdiff
path: root/archaeological_finds/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2024-02-22 17:13:01 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2024-04-16 16:42:32 +0200
commitafc85e9c4bce3db373fa222f347d82a51a0c4aee (patch)
tree1a4a71b1bd0999cc0b3ec7479c571f023503d60d /archaeological_finds/templates
parentea97eb9b040fb9d1489a3976a7ed9fe5bbf811d0 (diff)
downloadIshtar-afc85e9c4bce3db373fa222f347d82a51a0c4aee.tar.bz2
Ishtar-afc85e9c4bce3db373fa222f347d82a51a0c4aee.zip
✨ Find - bulk update: add cultural attributions, integrities and number of remains
Diffstat (limited to 'archaeological_finds/templates')
-rw-r--r--archaeological_finds/templates/ishtar/sheet_find.html2
-rw-r--r--archaeological_finds/templates/ishtar/sheet_museum_find.html2
2 files changed, 4 insertions, 0 deletions
diff --git a/archaeological_finds/templates/ishtar/sheet_find.html b/archaeological_finds/templates/ishtar/sheet_find.html
index 18cb03374..09ffe6efa 100644
--- a/archaeological_finds/templates/ishtar/sheet_find.html
+++ b/archaeological_finds/templates/ishtar/sheet_find.html
@@ -249,6 +249,7 @@
{% field_flex_multiple_obj "Cultural attributions" item 'cultural_attributions' %}
</div>
{% endif %}
+ {% if dating_list %}
<table id='{{window_id}}-datings' class="table table-striped">
<tr>
<th>{% trans "Chronological period" %}</th>
@@ -281,6 +282,7 @@
</tr>
{% endfor %}
</table>
+ {% endif %}
<div class='row'>
{% field_flex_full "Comment on dating" item.dating_comment "<pre>" "</pre>" %}
</div>
diff --git a/archaeological_finds/templates/ishtar/sheet_museum_find.html b/archaeological_finds/templates/ishtar/sheet_museum_find.html
index f903ec89c..131902d8e 100644
--- a/archaeological_finds/templates/ishtar/sheet_museum_find.html
+++ b/archaeological_finds/templates/ishtar/sheet_museum_find.html
@@ -197,6 +197,7 @@
{% field_flex_multiple_obj "Cultural attributions" item 'cultural_attributions' %}
</div>
{% endif %}
+ {% if dating_list %}
<table id='{{window_id}}-datings' class="table table-striped">
<tr>
<th>{% trans "Chronological period" %}</th>
@@ -229,6 +230,7 @@
</tr>
{% endfor %}
</table>
+ {% endif %}
<div class='row'>
{% field_flex_full "Comment on dating" item.dating_comment "<pre>" "</pre>" %}
</div>