From 5fca027f499119b38d69fb1e3f879bab4fa804ce Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 5 Jan 2016 18:37:24 +0100 Subject: Permettre les images dans les descriptifs (bis) --- 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 a23da7d..5f576d7 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 img"|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 img:src"|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 img"|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 img:src"|safe}}{% if 'http://' in property.value or 'https://' in property.value %}{%endif%}
{%endif%}{% endfor %} {% if marker.origin %}
{{marker.origin|safe}}
-- cgit v1.2.3