summaryrefslogtreecommitdiff
path: root/archaeological_operations/templates
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
commit4b59390d44c62bacf230502e685ebe3fe3213675 (patch)
treee739aa2aa9e518ff453cfb40d64a6a8126b131bf /archaeological_operations/templates
parent0226b621f5265825f78b56e0ffff1877fa174693 (diff)
downloadIshtar-4b59390d44c62bacf230502e685ebe3fe3213675.tar.bz2
Ishtar-4b59390d44c62bacf230502e685ebe3fe3213675.zip
Display a message to warn about related items and history - many improvment on sheet layout
Diffstat (limited to 'archaeological_operations/templates')
-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 %}