diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2015-08-13 11:16:19 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2015-08-13 11:16:19 +0200 |
commit | b30f8526d5862e244df7b0e90d6d71734790c605 (patch) | |
tree | 52e4d7e7cbdf661e1ab08ebde571ed1d5b34bb04 | |
parent | f6095d66ac2ae4367304264c1e93b4143b95ee1f (diff) | |
download | Chimère - projet Saclay-b30f8526d5862e244df7b0e90d6d71734790c605.tar.bz2 Chimère - projet Saclay-b30f8526d5862e244df7b0e90d6d71734790c605.zip |
Manage https link in detail
-rw-r--r-- | templates/chimere/detail.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/chimere/detail.html b/templates/chimere/detail.html index 05617c6..8becfd6 100644 --- a/templates/chimere/detail.html +++ b/templates/chimere/detail.html @@ -24,7 +24,7 @@ <div id='description_long_{{marker.pk}}' class='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}}</div> {% endif %} {% for property in marker.getProperties %}{% if property.value %} - <div class='properties' id='{{property.propertymodel.getAttrName}}'><strong>{{property.propertymodel.name}}</strong> : {% if 'http://' in property.value %}<a href='{{ property.value|sanitize:""}}'>{%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 %}</a>{%endif%}</div> + <div class='properties' id='{{property.propertymodel.getAttrName}}'><strong>{{property.propertymodel.name}}</strong> : {% if 'http://' in property.value or 'https://' in property.value %}<a href='{{ property.value|sanitize:""}}'>{%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 %}</a>{%endif%}</div> {%endif%}{% endfor %} {% if marker.multimedia_items %} <a href='#' id='show_gallery_link'>{% trans "Show multimedia gallery" %}</a> |