summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/ishtar/blocks/window_field_multiple.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_multiple.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_multiple.html')
-rw-r--r--ishtar_common/templates/ishtar/blocks/window_field_multiple.html6
1 files changed, 2 insertions, 4 deletions
diff --git a/ishtar_common/templates/ishtar/blocks/window_field_multiple.html b/ishtar_common/templates/ishtar/blocks/window_field_multiple.html
index 30903b0d5..d1ee25c7b 100644
--- a/ishtar_common/templates/ishtar/blocks/window_field_multiple.html
+++ b/ishtar_common/templates/ishtar/blocks/window_field_multiple.html
@@ -1,8 +1,6 @@
-{% load i18n %}
-{% if data.count %}<p><label>{% trans caption %}{% trans ":"%}</label>
+{% load i18n %}{% if data.count %}{% if li %}<li>{% else %}<p>{% endif %}<label>{% trans caption %}{% trans ":"%}</label>
<span class='value'>{% for d in data.all %}
{% if forloop.counter0 %}, {% endif %}{{ d }}
{% endfor %}</span>
-</p>
+{% if li %}</li>{% else %}</p>{% endif %}
{% endif %}
-