summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2015-08-13 11:16:47 +0200
committerÉtienne Loks <etienne.loks@proxience.com>2015-08-13 11:16:47 +0200
commit3ec2b4d920eb98bff44cdbd8459b5daf119fef41 (patch)
treeeaa7496c24bfa64026502eb1b05494a4bd01598a
parent1d38aa4d81052362b40d89994f9cf1372250850f (diff)
parentb30f8526d5862e244df7b0e90d6d71734790c605 (diff)
downloadChimère - projet Saclay-3ec2b4d920eb98bff44cdbd8459b5daf119fef41.tar.bz2
Chimère - projet Saclay-3ec2b4d920eb98bff44cdbd8459b5daf119fef41.zip
Merge branch 'master' into saclay
-rw-r--r--templates/chimere/detail.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/chimere/detail.html b/templates/chimere/detail.html
index c6d3cc1..b40714d 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.origin %}
<div class='origin'><label>Source :</label> {{marker.origin|safe}}</div>