Add Joconde ref in breadcrumb.
authorAlexandre Segura <mex.zktk@gmail.com>
Wed, 03 May 2017 16:31:02 +0200
changeset 497 238e5353b5be
parent 496 2fa2d7d8a34f
child 498 25adf013f17c
Add Joconde ref in breadcrumb.
src/iconolab/templates/partials/header_breadcrumbs.html
--- a/src/iconolab/templates/partials/header_breadcrumbs.html	Wed May 03 15:09:11 2017 +0200
+++ b/src/iconolab/templates/partials/header_breadcrumbs.html	Wed May 03 16:31:02 2017 +0200
@@ -6,9 +6,9 @@
   {% else %}
     <li><a href="{% url 'collection_home' collection.name %}">Fond {{collection.verbose_name}}</a></li>
     {% if not annotation %}
-      <li class="active">Objet</li>
+      <li class="active">Objet {{ item.metadatas.joconde_ref }}</li>
     {% else %}
-      <li><a href="{% url 'item_detail' collection.name image.item.item_guid %}">Objet</a></li>
+      <li><a href="{% url 'item_detail' collection.name image.item.item_guid %}">Objet {{ image.item.metadatas.joconde_ref }}</a></li>
       {% if not revision %}
         <li class="active">Annotation</li>
       {% else %}
@@ -18,4 +18,4 @@
     {% endif %}
   {% endif %}
 </ol>
-{% endif %}
\ No newline at end of file
+{% endif %}