summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2015-10-25 16:05:30 +0100
committerÉtienne Loks <etienne.loks@proxience.com>2015-10-25 16:05:30 +0100
commit04cb13e7de5b57aad34978d6061e2029e7dab023 (patch)
tree3be20e207b9c681cc5832edd0b6fb0f478f63751
parentbc79198e9be2fe135f1c144e3665833def5804ac (diff)
downloadIshtar-04cb13e7de5b57aad34978d6061e2029e7dab023.tar.bz2
Ishtar-04cb13e7de5b57aad34978d6061e2029e7dab023.zip
Finds: fix presentation of comments
-rw-r--r--archaeological_finds/templates/ishtar/sheet_find.html5
1 files changed, 1 insertions, 4 deletions
diff --git a/archaeological_finds/templates/ishtar/sheet_find.html b/archaeological_finds/templates/ishtar/sheet_find.html
index df29cb037..13c009c0b 100644
--- a/archaeological_finds/templates/ishtar/sheet_find.html
+++ b/archaeological_finds/templates/ishtar/sheet_find.html
@@ -70,10 +70,7 @@
<p><label>{%trans "Description"%}{% trans ":"%}</label>
<span class='value'>{{base_find.description}}</span></p>
{% endif%}
-{% if base_find.comment %}
-<p><label>{%trans "Comment"%}{% trans ":"%}</label>
-<span class='value'>{{base_find.comment}}</span></p>
-{% endif%}
+{% field "Comment" base_find.comment "<pre>" "</pre>" %}
{% if base_find.special_interest %}
<p><label>{%trans "Special interest"%}{% trans ":"%}</label>
<span class='value'>{{base_find.special_interest}}</span></p>