From a06c5862b1e982ea44a79d74a52ad8c9258c64aa Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 5 Jan 2016 18:31:37 +0100 Subject: Permettre les images dans les descriptifs --- templates/chimere/detail.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/chimere/detail.html b/templates/chimere/detail.html index 65e9600..a23da7d 100644 --- a/templates/chimere/detail.html +++ b/templates/chimere/detail.html @@ -21,10 +21,10 @@ {% if marker.end_date %} - {{marker.end_date|date:"l d F Y"}}

{% endif %} {% endif %} {% if marker.description %} -
{{ marker.description|sanitize:"p b i br hr strong em span:style a:href:target ul li ol h1 h2 h3 h4 table td tr th"|safe}}
+
{{ marker.description|sanitize:"p b i br hr strong em span:style a:href:target ul li ol h1 h2 h3 h4 table td tr th img"|safe}}
{% endif %} {% for property in marker.getProperties %}{% if property.value %} -
{{property.propertymodel.name}} : {% if 'http://' in property.value or 'https://' in property.value %}{%endif%}{{ property.value|sanitize:"p b i br hr strong em span:style a:href:target ul li ol h1 h2 h3 h4 table td tr th"|safe}}{% if 'http://' in property.value or 'https://' in property.value %}{%endif%}
+
{{property.propertymodel.name}} : {% if 'http://' in property.value or 'https://' in property.value %}{%endif%}{{ property.value|sanitize:"p b i br hr strong em span:style a:href:target ul li ol h1 h2 h3 h4 table td tr th img"|safe}}{% if 'http://' in property.value or 'https://' in property.value %}{%endif%}
{%endif%}{% endfor %} {% if marker.origin %}
{{marker.origin|safe}}
-- cgit v1.2.3