diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2026-03-31 16:47:28 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2026-03-31 16:47:28 +0200 |
| commit | a5e44ce0db26c686b8f28fadadd41f3095c6ff43 (patch) | |
| tree | ad17a4991677d96907614ea098ee2a1204ff3a1c /archaeological_operations/templates/ishtar/sheet_site.html | |
| parent | 4e631cae3737172ed44b67826c11162c8bd42808 (diff) | |
| download | Ishtar-a5e44ce0db26c686b8f28fadadd41f3095c6ff43.tar.bz2 Ishtar-a5e44ce0db26c686b8f28fadadd41f3095c6ff43.zip | |
✨ sites - sheet: add heritage fields
Diffstat (limited to 'archaeological_operations/templates/ishtar/sheet_site.html')
| -rw-r--r-- | archaeological_operations/templates/ishtar/sheet_site.html | 38 |
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> |
