diff options
-rw-r--r-- | chimere/templates/chimere/detail.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chimere/templates/chimere/detail.html b/chimere/templates/chimere/detail.html index a89ab9a..a86adf2 100644 --- a/chimere/templates/chimere/detail.html +++ b/chimere/templates/chimere/detail.html @@ -23,9 +23,9 @@ {% if marker.description %} <p class='description'>{{ marker.description|sanitize:"p b i br hr strong em img:src:alt span:style a:href:target ul li ol h1 h2 h3 h4 table td tr th"|safe}}</p> {% endif %} - {% for property in properties %} + {% for property in properties %}{% if property.value %} <p class='{{property.propertymodel.getNamedId}}'><strong>{{property.propertymodel}}</strong>{% trans ":" %} {{ property.value|sanitize:"p b i br hr strong em img:src:alt span:style a:href:target ul li ol h1 h2 h3 h4 table td tr th"|safe}}</p> - {% endfor %} + {% endif %}{% endfor %} {% if marker.origin %}<p class='detail_source'><strong>{% trans "Source:" %}</strong> <span>{{marker.origin}}</span></p>{% endif %} {% if marker.license %}<p class='detail_license'><strong>{% trans "License:" %}</strong> <span>{{marker.license}}</span></p>{% endif %} {% if marker.multimedia_items %}<p class='detail_multimedia'> |