diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2015-05-22 20:45:09 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2015-05-22 20:45:09 +0200 |
commit | e4f6086e527a3b159e7a21c376dc23e0368bfbab (patch) | |
tree | 58b58e0c173df020c8eed11984221e11a0a95320 | |
parent | 4661abeb07786cc26dabea501629dfdc185e7e60 (diff) | |
download | Chimère - projet Saclay-e4f6086e527a3b159e7a21c376dc23e0368bfbab.tar.bz2 Chimère - projet Saclay-e4f6086e527a3b159e7a21c376dc23e0368bfbab.zip |
Ajout de l'origine dans la description
-rw-r--r-- | static/saclay/css/styles.css | 4 | ||||
-rw-r--r-- | templates/chimere/detail.html | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/static/saclay/css/styles.css b/static/saclay/css/styles.css index 291c44d..7ba90c2 100644 --- a/static/saclay/css/styles.css +++ b/static/saclay/css/styles.css @@ -1693,6 +1693,10 @@ a.close_img{ display:none; } +.origin{ + text-align:center; +} + .small-gallery{ width:auto; margin-top:0; diff --git a/templates/chimere/detail.html b/templates/chimere/detail.html index f6560b6..be4615b 100644 --- a/templates/chimere/detail.html +++ b/templates/chimere/detail.html @@ -23,6 +23,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 %}<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> {%endif%}{% endfor %} + {% if marker.origin %} + <div class='origin'><label>Source :</label> {{marker.origin|safe}}</div> + {% endif %} {% if marker.multimedia_items %} <a href='#' id='show_gallery_link'>{% trans "Show multimedia gallery" %}</a> {% endif %} |