summaryrefslogtreecommitdiff
path: root/archaeological_files/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
commitebe47cf4d963caf5f765509eec7b6e80a42a084b (patch)
treee739aa2aa9e518ff453cfb40d64a6a8126b131bf /archaeological_files/templates
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_files/templates')
-rw-r--r--archaeological_files/templates/ishtar/sheet_file.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/archaeological_files/templates/ishtar/sheet_file.html b/archaeological_files/templates/ishtar/sheet_file.html
index 9c42c8f76..5165a0425 100644
--- a/archaeological_files/templates/ishtar/sheet_file.html
+++ b/archaeological_files/templates/ishtar/sheet_file.html
@@ -9,7 +9,7 @@
{% window_file_nav item window_id previous next %}
{% else %}
{% window_nav item window_id 'show-file' 'file_modify' 'show-historized-file' 'revert-file' previous next %}
-{%endif%}
+{% endif %}
<h3>{% trans "General"%}</h3>
@@ -43,8 +43,8 @@
{% if item.related_file %}<li><label>{%trans "Related file:"%}</label> <span class='value'><a href='#' onclick='load_window("{% url show-file item.related_file.pk ''%}")'>{{ item.related_file }}</a></span></li>{% endif %}
-{% field_li "Comment" item.comment "<pre>" "</pre>" %}
</ul>
+{% field "Comment" item.comment "<pre>" "</pre>" %}
<h3>{% trans "Localisation"%}</h3>
{% if item.towns.count %}<p><label>{%trans "Towns:"%}</label> <span class='value'>{{ item.towns.all|join:", " }}</span></p>{% endif %}
@@ -100,6 +100,8 @@
{% endif %}
+{% if not next %}
+
{% trans "Associated parcels" as parcels_label %}
{% include "ishtar/blocks/window_tables/parcels.html" %}
@@ -159,4 +161,6 @@
</table>
</div>
</div>
+
+{% endif %}
{% endblock %}