From cdff3fb497a7ad7beeb67d2d913b8c2eafb22c7c Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 16 Sep 2024 19:51:16 +0200 Subject: ✨ update context record, town sheets for new fields (refs #6024) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/ishtar/sheet_contextrecord.html | 38 ++++++++++++++-------- 1 file changed, 24 insertions(+), 14 deletions(-) (limited to 'archaeological_context_records') diff --git a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html index 712ba48ee..984be20bd 100644 --- a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html +++ b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html @@ -133,19 +133,27 @@
{% field_flex_2 "Complete ID" item.full_label %} {% field_flex_2 "Type" item.unit %} + {% field_flex_full "General comment" item.comment "
" "
" has_image %}

-

{% trans "Description"%}

+

{% trans "Description" %}

- {% field_flex_multiple_obj "Excavation techniques" item 'excavation_technics' has_image %} - {% field_flex_multiple_obj "Documentation" item 'documentations' has_image %} - {% field_flex "Opening date" item.opening_date|date:"DATE_FORMAT" '' '' has_image %} - {% field_flex "Closing date" item.closing_date|date:"DATE_FORMAT" '' '' has_image %} + {% field_flex_multiple_obj "Excavation techniques" item 'excavation_technics' %} + {% field_flex_multiple_obj "Documentation" item 'documentations' %} + {% field_flex "Opening date" item.opening_date|date:"DATE_FORMAT" %} + {% field_flex "Closing date" item.closing_date|date:"DATE_FORMAT" %} {% field_flex_full "Filling" item.filling "
" "
" %} - {% field_flex_full "Location" item.location "
" "
" has_image %} - {% field_flex_full "Description" item.description "
" "
" has_image %} - {% field_flex_full "General comment" item.comment "
" "
" has_image %} + {% field_flex_full "Location" item.location "
" "
" %} + {% field_flex_full "Description" item.description "
" "
" %} + {% field_flex_multiple_obj _("Structure") item 'structures' %} + {% field_flex_multiple_obj _("Texture") item 'textures' %} + {% field_flex_multiple_obj _("Inclusion") item 'inclusions' %} + {% field_flex_multiple_obj _("Colors") item 'colors' %} + {% field_flex_full _("Details on color") item.details_on_color "
" "
" %} +
+

{% trans "Dimensions" %}

+
{% if item.surface %}
{%trans "Surface"%}
@@ -154,12 +162,14 @@
{% endif %} - {% field_flex "Length (m)" item.length '' '' has_image %} - {% field_flex "Width (m)" item.width '' '' has_image %} - {% field_flex "Diameter (m)" item.diameter '' '' has_image %} - {% field_flex "Depth (m)" item.depth '' '' has_image %} - {% field_flex "Thickness (m)" item.thickness '' '' has_image %} - {% field_flex "Depth of appearance (m)" item.depth_of_appearance '' '' has_image %} + {% field_flex "Length (m)" item.length %} + {% field_flex _("Excavated length (m)") item.excavated_length %} + {% field_flex "Width (m)" item.width %} + {% field_flex _("Excavated width (m)") item.excavated_width %} + {% field_flex "Diameter (m)" item.diameter %} + {% field_flex "Depth (m)" item.depth %} + {% field_flex "Thickness (m)" item.thickness %} + {% field_flex "Depth of appearance (m)" item.depth_of_appearance %}
{% if item.main_geodata %} -- cgit v1.2.3