diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-02-18 21:02:28 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-02-18 21:02:28 +0100 |
commit | 919fe7a93bd5ed94d9007f4c9479631f6b700de3 (patch) | |
tree | f34e05d48c5bf89d7a0d0e3fa0ce4ff1971fefd3 /archaeological_context_records/templates/ishtar | |
parent | 8d93b5a7fe68a4f21e8c5cd60cd6741e03b7950e (diff) | |
download | Ishtar-919fe7a93bd5ed94d9007f4c9479631f6b700de3.tar.bz2 Ishtar-919fe7a93bd5ed94d9007f4c9479631f6b700de3.zip |
Context record sheet: add site
Diffstat (limited to 'archaeological_context_records/templates/ishtar')
-rw-r--r-- | archaeological_context_records/templates/ishtar/sheet_contextrecord.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html index cca8f5375..d26996705 100644 --- a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html +++ b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html @@ -127,6 +127,18 @@ {% trans "No operation linked to this context record!" %} </div> {% endif %} + +{% if item.archaeological_site %} +<h3>{% trans SITE_LABEL %}</h3> +<div class='row'> + {% field_flex "Reference" item.archaeological_site.reference %} + {% field_flex "Name" item.archaeological_site.name %} + {% field_flex_multiple "Periods" item.archaeological_site.periods %} + {% field_flex_multiple "Remains" item.archaeological_site.remains %} + {% field_flex_full "Towns" item.archaeological_site.towns_codes|join:" ; " %} +</div> +{% endif %} + {% trans "Document from this context record" as cr_docs %} {% if item.source.count %} {% dynamic_table_document cr_docs 'context_records_docs' 'context_record' item.pk '' output %} |