diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-10-18 12:58:54 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-10-18 12:58:54 +0200 |
commit | b64b199715c3f424762d54f848749ead11434096 (patch) | |
tree | 56966dc6da586e2d2e067d95f71112a0534acce0 /archaeological_files/templates | |
parent | c0c501399260e315dd2d0b72cb6825481bf91311 (diff) | |
download | Ishtar-b64b199715c3f424762d54f848749ead11434096.tar.bz2 Ishtar-b64b199715c3f424762d54f848749ead11434096.zip |
Json fields: adapt main sheets to display dynamic json fields (refs #3077)
Diffstat (limited to 'archaeological_files/templates')
-rw-r--r-- | archaeological_files/templates/ishtar/sheet_file.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/archaeological_files/templates/ishtar/sheet_file.html b/archaeological_files/templates/ishtar/sheet_file.html index 6d64a975f..6eda1124a 100644 --- a/archaeological_files/templates/ishtar/sheet_file.html +++ b/archaeological_files/templates/ishtar/sheet_file.html @@ -44,6 +44,8 @@ </ul> {% field "Comment" item.comment "<pre>" "</pre>" %} +{% include "ishtar/blocks/sheet_json.html" %} + <h3>{% trans "Localisation"%}</h3> {% if item.towns.count %}<p><label>{%trans "Towns"%}</label> <span class='value'>{{ item.towns.all|join:", " }}</span></p>{% endif %} {% if item.departments.count %}<p><label>{%trans "Departments"%}</label> <span class='value'>{{ item.departments.all|join:", " }}</span></p>{% endif %} |