From 4dbc694df0b457dbb124d27c1570c15203ea11ce Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 9 May 2023 16:48:43 +0200 Subject: Main sheets add link to town sheet --- archaeological_operations/templates/ishtar/sheet_operation.html | 2 +- archaeological_operations/templates/ishtar/sheet_site.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'archaeological_operations') diff --git a/archaeological_operations/templates/ishtar/sheet_operation.html b/archaeological_operations/templates/ishtar/sheet_operation.html index 43148d7e4..7fbff7202 100644 --- a/archaeological_operations/templates/ishtar/sheet_operation.html +++ b/archaeological_operations/templates/ishtar/sheet_operation.html @@ -300,7 +300,7 @@ {% if next %} {% field_flex "Towns" item|m2m_listing:'towns'|join:" ; " %} {% else %} - {% field_flex "Towns" item.cached_towns_label %} + {% field_flex_detail_multiple "Towns" item.towns %} {% endif %} {% field_flex "Address" item.address %} {% if not item.address %} diff --git a/archaeological_operations/templates/ishtar/sheet_site.html b/archaeological_operations/templates/ishtar/sheet_site.html index d8d5549b6..11717314b 100644 --- a/archaeological_operations/templates/ishtar/sheet_site.html +++ b/archaeological_operations/templates/ishtar/sheet_site.html @@ -74,7 +74,7 @@ {% if next %} {% field_flex_full "Towns" item|m2m_listing:'towns'|join:" ; " %} {% else %} - {% field_flex_full "Towns" item.towns_codes|join:" ; " %} + {% field_flex_detail_multiple_full "Towns" item.towns %} {% endif %} {% field_flex_full "National Geographic Institute locality" item.locality_ngi "
" "
" %} {% field_flex_full "Cadastral locality" item.locality_cadastral "
" "
" %} -- cgit v1.2.3