diff options
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 |
commit | 4b59390d44c62bacf230502e685ebe3fe3213675 (patch) | |
tree | e739aa2aa9e518ff453cfb40d64a6a8126b131bf /archaeological_files/templates/ishtar/sheet_file.html | |
parent | 0226b621f5265825f78b56e0ffff1877fa174693 (diff) | |
download | Ishtar-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_files/templates/ishtar/sheet_file.html')
-rw-r--r-- | archaeological_files/templates/ishtar/sheet_file.html | 8 |
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 %} |