summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/ishtar/blocks/window_field.html
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-06-06 17:11:33 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-06-06 17:11:33 +0200
commit07940735df99aff66b6646fbde7975da26749048 (patch)
tree8a5b3794b713c6f740e0a1e0014469ada3688fcb /ishtar_common/templates/ishtar/blocks/window_field.html
parent6dfabea03aa0c92206c77d99a07c775e80f787e8 (diff)
downloadIshtar-07940735df99aff66b6646fbde7975da26749048.tar.bz2
Ishtar-07940735df99aff66b6646fbde7975da26749048.zip
Show treatments in find sheet
Diffstat (limited to 'ishtar_common/templates/ishtar/blocks/window_field.html')
-rw-r--r--ishtar_common/templates/ishtar/blocks/window_field.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/ishtar_common/templates/ishtar/blocks/window_field.html b/ishtar_common/templates/ishtar/blocks/window_field.html
index 14cf1c21e..969f32dbb 100644
--- a/ishtar_common/templates/ishtar/blocks/window_field.html
+++ b/ishtar_common/templates/ishtar/blocks/window_field.html
@@ -1,3 +1,3 @@
-{% load i18n %}
-{% if data %}<p><label>{% trans caption %}{% trans ":"%}</label>
-<span class='value'>{{pre_data|safe}}{{data|linebreaksbr}}{{post_data|safe}}</span></p>{% endif%}
+{% load i18n %}{% if data %}{% if li %}<li>{% else %}<p>{% endif %}<label>{% trans caption %}{% trans ":"%}</label>
+<span class='value'>{{pre_data|safe}}{{data|linebreaksbr}}{{post_data|safe}}</span>{% if li %}</li>{% else %}</p>{% endif %}
+{% endif %}