From ebe47cf4d963caf5f765509eec7b6e80a42a084b Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 7 Sep 2016 12:46:34 +0200 Subject: Display a message to warn about related items and history - many improvment on sheet layout --- archaeological_files/templates/ishtar/sheet_file.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'archaeological_files/templates') 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 %}

{% trans "General"%}

@@ -43,8 +43,8 @@ {% if item.related_file %}
  • {{ item.related_file }}
  • {% endif %} -{% field_li "Comment" item.comment "
    " "
    " %} +{% field "Comment" item.comment "
    " "
    " %}

    {% trans "Localisation"%}

    {% if item.towns.count %}

    {{ item.towns.all|join:", " }}

    {% 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 @@ + +{% endif %} {% endblock %} -- cgit v1.2.3