summaryrefslogtreecommitdiff
path: root/archaeological_operations/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2026-03-31 16:47:28 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2026-04-01 10:58:30 +0200
commit276d8b268485f75a49a7f2a2e09c6cd64173dc6c (patch)
tree5be44dcbc953bbe94d966ae4d597db318e2da29f /archaeological_operations/templates
parenteb4c143192a178db7cad4026bcfd1e3780b8b01d (diff)
downloadIshtar-276d8b268485f75a49a7f2a2e09c6cd64173dc6c.tar.bz2
Ishtar-276d8b268485f75a49a7f2a2e09c6cd64173dc6c.zip
✨ sites - sheet: add heritage fields
Diffstat (limited to 'archaeological_operations/templates')
-rw-r--r--archaeological_operations/templates/ishtar/sheet_site.html38
1 files changed, 27 insertions, 11 deletions
diff --git a/archaeological_operations/templates/ishtar/sheet_site.html b/archaeological_operations/templates/ishtar/sheet_site.html
index 2deb54683..7fda4efe0 100644
--- a/archaeological_operations/templates/ishtar/sheet_site.html
+++ b/archaeological_operations/templates/ishtar/sheet_site.html
@@ -40,16 +40,9 @@
<h3>{% trans "General"%}</h3>
<div class="row">
- {% field_flex "Other reference" item.other_reference %}
- {% field_flex_multiple_obj _("Types") item 'types' %}
- {% field_flex _("Discovery status") item.discovery_status %}
- {% field_flex _("Current status") item.current_status %}
- {% field_flex _("Nature of site") item.nature_of_site %}
- {% field_flex _("Interpretation level") item.interpretation_level %}
- {% field_flex_multiple_obj "Periods" item 'periods' %}
- {% field_flex_multiple_obj "Remains" item 'remains' %}
- {% field_flex_multiple_obj "Cultural attributions" item 'cultural_attributions' %}
- {% field_flex_detail _("Discoverer") item.discoverer %}
+ {% field_flex _("Other reference") item.other_reference %}
+ {% field_flex_multiple_obj _("Heritage interest") item 'heritage_interests' %}
+ {% field_flex_detail_multiple _("Actors") item.actors %}
{% field_flex_detail_multiple _("Collaborators") item.collaborators %}
{% if item.description == item.public_description %}
{% field_flex_full _("Description/Public description") item.description "<pre>" "</pre>" %}
@@ -57,8 +50,31 @@
{% field_flex_full _("Description") item.description "<pre>" "</pre>" %}
{% field_flex_full _("Public description") item.public_description "<pre>" "</pre>" %}
{% endif %}
- {% field_flex_full "Comment" item.comment "<pre>" "</pre>" %}
+ {% field_flex_full _("Comment") item.comment "<pre>" "</pre>" %}
+</div>
+{% if item.cached_types or item.nature_of_site or item.interpretation_level or item.discovery_status or item.cached_current_states or item.cached_periods or item.cached_remains or item.cultural_attributions.count or item.discoverer %}
+<h3>{% trans "Scientific" %}</h3>
+<div class="row">
+ {% field_flex_multiple_obj _("Types") item 'types' %}
+ {% field_flex _("Nature of site") item.nature_of_site %}
+ {% field_flex _("Interpretation level") item.interpretation_level %}
+ {% field_flex _("Discovery status") item.discovery_status %}
+ {% field_flex_multiple_obj _("Current states") item 'current_states' %}
+ {% field_flex_multiple_obj _("Periods") item 'periods' %}
+ {% field_flex_multiple_obj _("Remains") item 'remains' %}
+ {% field_flex_multiple_obj _("Cultural attributions") item 'cultural_attributions' %}
+ {% field_flex_detail _("Discoverer") item.discoverer %}
</div>
+{% endif %}
+{% if item.cached_heritage_environmental_protections or item.details_on_protection or item.protection_id or item.protection_date %}
+<h3>{% trans "Protection" %}</h3>
+<div class="row">
+ {% field_flex _("Protection ID") item.protection_id %}
+ {% field_flex _("Protection date") item.protection_date|date:"DATE_FORMAT" %}
+ {% field_flex_multiple_obj _("Heritage and environmental protections") item 'heritage_environmental_protections' %}
+ {% field_flex_full _("Details on protection") item.details_on_protection "<pre>" "</pre>" %}
+</div>
+{% endif %}
{% if item.affmar_number or item.drassm_number or item.oceanographic_service_localisation or item.shipwreck_code or item.sinking_date or item.discovery_area or item.shipwreck_name %}
<h3>{% trans "Underwater"%}</h3>