diff options
Diffstat (limited to 'templates/chimere/detail.html')
-rw-r--r-- | templates/chimere/detail.html | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/templates/chimere/detail.html b/templates/chimere/detail.html index 4d9348b..c0f9d64 100644 --- a/templates/chimere/detail.html +++ b/templates/chimere/detail.html @@ -17,8 +17,8 @@ {%endif%} <div> {% if dated %} - <p id='detail_start_date'><label>{% trans "Date:" %}</label> <span>{{marker.start_date|date:"D d M Y"}} - {% if marker.end_date %} - {{marker.end_date|date:"D d M Y"}}</p>{% endif %}</span> + <p id='detail_start_date'><label>{% trans "Date:" %}</label> <span>{{marker.start_date|date:"l d F Y"}} + {% if marker.end_date %} - {{marker.end_date|date:"l d F Y"}}</p>{% endif %}</span> {% endif %} {% if marker.description %} <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> @@ -26,6 +26,9 @@ {% 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 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> + {% endif %} </div> </div> <div id='detail_footer'> |