summaryrefslogtreecommitdiff
path: root/archaeological_operations
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-09-07 12:46:34 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-09-07 12:46:34 +0200
commitebe47cf4d963caf5f765509eec7b6e80a42a084b (patch)
treee739aa2aa9e518ff453cfb40d64a6a8126b131bf /archaeological_operations
parent23d974f2165926db14f69307948daac5e80cc1a1 (diff)
downloadIshtar-ebe47cf4d963caf5f765509eec7b6e80a42a084b.tar.bz2
Ishtar-ebe47cf4d963caf5f765509eec7b6e80a42a084b.zip
Display a message to warn about related items and history - many improvment on sheet layout
Diffstat (limited to 'archaeological_operations')
-rw-r--r--archaeological_operations/templates/ishtar/sheet_operation.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/archaeological_operations/templates/ishtar/sheet_operation.html b/archaeological_operations/templates/ishtar/sheet_operation.html
index 1b2a1961d..ba63dfa1c 100644
--- a/archaeological_operations/templates/ishtar/sheet_operation.html
+++ b/archaeological_operations/templates/ishtar/sheet_operation.html
@@ -44,7 +44,6 @@
{% field_li_multiple "Periods" item.periods %}
{% if item.QUALITY_DICT %}{% field_li "Record quality" item.record_quality|from_dict:item.QUALITY_DICT %}{% endif %}
{% if item.history_object and item.history_object.QUALITY_DICT %}{% field_li "Record quality" item.record_quality|from_dict:item.history_object.QUALITY_DICT %}{% endif %}
-{% field_li "Abstract" item.abstract %}
{% field_li_detail "Associated file" item.associated_file %}
{% field_li "Responsible for town planning service" item.associated_file.responsible_town_planning_service.full_address %}
{% if item.associated_file.town_planning_service %}
@@ -60,9 +59,11 @@
{% else%}
{% field_li "General contractor organization" item.associated_file.general_contractor.attached_to.full_address %}
{% endif %}
-{% field_li "Comment" item.comment "<pre>" "</pre>" %}
</ul>
+{% field "Abstract" item.abstract "<pre>" "</pre>" %}
+{% field "Comment" item.comment "<pre>" "</pre>" %}
+{% if not next %}
{% if item.towns.count %}
<h3>{% trans "Localisation"%}</h3>
<ul class='form-flex'>
@@ -209,4 +210,6 @@
</ul>
{% endif %}
+{% endif %}
+
{% endblock %}