From 038d2ddee75aaccf0ad0c60d66efe09de69958e8 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 20 Sep 2024 14:19:50 +0200 Subject: ✨ context_record, find sheet: add new fields MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/ishtar/sheet_contextrecord.html | 11 ++++++----- 1 file changed, 6 insertions(+), 5 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 984be20bd..17f063fa3 100644 --- a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html +++ b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html @@ -133,6 +133,7 @@
{% field_flex_2 "Complete ID" item.full_label %} {% field_flex_2 "Type" item.unit %} + {% field_flex_detail _("Excavator") item.excavator %} {% field_flex_full "General comment" item.comment "
" "
" has_image %}
@@ -143,14 +144,13 @@ {% 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 "
" "
" %} - {% 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 "
" "
" %} + {% field_flex _("Details on color") item.details_on_color %} + {% field_flex_full "Filling" item.filling "
" "
" %} + {% field_flex_full "Description" item.description "
" "
" %}

{% trans "Dimensions" %}

@@ -172,7 +172,7 @@ {% field_flex "Depth of appearance (m)" item.depth_of_appearance %}
- {% if item.main_geodata %} + {% if item.main_geodata or item.town or item.location %}

{% trans "Geographic localisation" %}

{% with geo_item=item %} @@ -181,6 +181,7 @@
{% field_flex_detail_full "Town" item.town has_image %} + {% field_flex_full "Location" item.location "
" "
" %}
{% endif %} -- cgit v1.2.3