Joconde link opens in new window #32
authordurandn
Mon, 19 Sep 2016 16:17:26 +0200
changeset 198 ce29d2cdaa3e
parent 197 61917317daa2
child 199 883a95ccc925
Joconde link opens in new window #32
src/iconolab/templates/iconolab/detail_item.html
--- a/src/iconolab/templates/iconolab/detail_item.html	Mon Sep 19 16:15:56 2016 +0200
+++ b/src/iconolab/templates/iconolab/detail_item.html	Mon Sep 19 16:17:26 2016 +0200
@@ -31,7 +31,7 @@
         {% if item.metadatas.discovery_context %}<h5>Contexte de découverte : <small>{{item.metadatas.discovery_context}}</small></h5>{% endif %}
         {% if item.metadatas.photo_credits %}<h5>Crédits photographiques : <small>{{item.metadatas.photo_credits}}</small></h5>{% endif %}
         {% if item.metadatas.inventory_number %}<h5>Numéro d'inventaire : <small>{{item.metadatas.inventory_number}}</small></h5>{% endif %}
-        {% if item.metadatas.joconde_ref %}<h5><a href="{{item.metadatas.get_joconde_url}}">Cet objet dans Joconde</a></h5>{% endif %}
+        {% if item.metadatas.joconde_ref %}<h5><a href="{{item.metadatas.get_joconde_url}}" target="_blank">Cet objet dans Joconde</a></h5>{% endif %}
         <br>
         {% if item.images.all.count > 1 %}
           <h4>Autres images pour cet objet: </h4>