diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-05-09 16:48:43 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-05-09 16:48:43 +0200 |
commit | 4dbc694df0b457dbb124d27c1570c15203ea11ce (patch) | |
tree | 4863317bcc2dcde6683f3a8f35fa732cacd670a9 /archaeological_operations | |
parent | 3f1bd22dc86753fc87c1cb00040caa836185fb11 (diff) | |
download | Ishtar-4dbc694df0b457dbb124d27c1570c15203ea11ce.tar.bz2 Ishtar-4dbc694df0b457dbb124d27c1570c15203ea11ce.zip |
Main sheets add link to town sheet
Diffstat (limited to 'archaeological_operations')
-rw-r--r-- | archaeological_operations/templates/ishtar/sheet_operation.html | 2 | ||||
-rw-r--r-- | archaeological_operations/templates/ishtar/sheet_site.html | 2 |
2 files changed, 2 insertions, 2 deletions
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 "<pre>" "</pre>" %} {% field_flex_full "Cadastral locality" item.locality_cadastral "<pre>" "</pre>" %} |