summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-09-07 12:51:50 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-09-07 12:51:50 +0200
commit46017fd59b90d99ab5d67d3b9579b1a66198a5e9 (patch)
tree62fcc0411ef408e86c747b42b13a54049e8b189f
parentebe47cf4d963caf5f765509eec7b6e80a42a084b (diff)
downloadIshtar-46017fd59b90d99ab5d67d3b9579b1a66198a5e9.tar.bz2
Ishtar-46017fd59b90d99ab5d67d3b9579b1a66198a5e9.zip
Minor template fix
-rw-r--r--archaeological_finds/templates/ishtar/sheet_find.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/archaeological_finds/templates/ishtar/sheet_find.html b/archaeological_finds/templates/ishtar/sheet_find.html
index 3c4b880e8..c867b46ee 100644
--- a/archaeological_finds/templates/ishtar/sheet_find.html
+++ b/archaeological_finds/templates/ishtar/sheet_find.html
@@ -13,7 +13,6 @@
<ul class='form-flex'>
{% field_li "Free-ID" item.label %}
{% field_li "Previous ID" item.previous_id %}
-{% field_li "Description" item.description %}
{% with item.history_creation_date|date:"SHORT_DATETIME_FORMAT" as creation_date %}
{% with item.history_creator.ishtaruser.full_label|add:"<br/><i>"|add:creation_date|add:"</i>" as creator %}
{% field_li "Created by" creator|safe %}
@@ -27,6 +26,11 @@
{% endwith %}
{% endif %}
{% field_li "Administrative index" item.administrative_index %}
+{% if item.description %}
+</ul>
+{% field "Description" item.description "<pre>" "</pre>" %}
+<ul class='form-flex'>
+{% endif %}
{% field_li_multiple "Material types" item.material_types %}
{% field_li "Dating" item.dating %}
{% field_li "Length (cm)" item.length %}