From 07940735df99aff66b6646fbde7975da26749048 Mon Sep 17 00:00:00 2001
From: Étienne Loks
Date: Mon, 6 Jun 2016 17:11:33 +0200
Subject: Show treatments in find sheet
---
ishtar_common/templates/ishtar/blocks/window_field.html | 6 +++---
ishtar_common/templates/ishtar/blocks/window_field_multiple.html | 6 ++----
ishtar_common/templates/ishtar/blocks/window_field_url.html | 6 +++---
3 files changed, 8 insertions(+), 10 deletions(-)
(limited to 'ishtar_common/templates/ishtar')
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 %}
-{{pre_data|safe}}{{data|linebreaksbr}}{{post_data|safe}}
{% endif%}
+{% load i18n %}{% if data %}{% if li %}{% else %}{% endif %}
+{{pre_data|safe}}{{data|linebreaksbr}}{{post_data|safe}}{% if li %}
{% else %}
{% endif %}
+{% endif %}
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 %}
+{% load i18n %}{% if data.count %}{% if li %}
{% else %}{% endif %}
{% for d in data.all %}
{% if forloop.counter0 %}, {% endif %}{{ d }}
{% endfor %}
-
+{% if li %}{% else %}{% endif %}
{% endif %}
-
diff --git a/ishtar_common/templates/ishtar/blocks/window_field_url.html b/ishtar_common/templates/ishtar/blocks/window_field_url.html
index b91f318b6..637366d1d 100644
--- a/ishtar_common/templates/ishtar/blocks/window_field_url.html
+++ b/ishtar_common/templates/ishtar/blocks/window_field_url.html
@@ -1,3 +1,3 @@
-{% load i18n %}
-{% if link %}
-{% if link_name %}{{link_name}}{% else %}{% trans "link" %}{% endif %}
{% endif%}
+{% load i18n %}{% if link %}{% if li %}{% else %}{% endif %}
+{% if link_name %}{{link_name}}{% else %}{% trans "link" %}{% endif %}{% if li %}
{% else %}{% endif %}
+{% endif%}
--
cgit v1.2.3