Adding one migration and adapting templates for link images collections in iconolab-mcc
{% load iconolab_mcc_tags %}
{% if item.metadatas.metadata_obj.designation %}<h3>Désignation : <small>{{item.metadatas.metadata_obj.designation}}</small></h3>{% endif %}
{% if item.metadatas.metadata_obj.authors %}<h4>Auteur(s) : <small>{{item.metadatas.metadata_obj.authors}}</small></h4>{% endif %}
{% if item.metadatas.metadata_obj.field %}<h4>Domaine : <small>{{item.metadatas.metadata_obj.field}}</small></h4>{% endif %}
{% if item.metadatas.metadata_obj.conservation_location %}<h4>Conservé à : <small>{{item.metadatas.metadata_obj.conservation_location}}</small></h4>{% endif %}
{% if item.metadatas.metadata_obj.datation %}<h4>Datation : <small>{{item.metadatas.metadata_obj.datation}}</small></h4>{% endif %}
{% if item.metadatas.metadata_obj.technics %}<h5>Techniques : <small>{{item.metadatas.metadata_obj.technics}}</small></h5>{% endif %}
{% if item.metadatas.metadata_obj.measurements %}<h5>Mesures : {{item.metadatas.metadata_obj.measurements}}</h5>{% endif %}
{% if item.metadatas.metadata_obj.create_or_usage_location %}<h5>Lieu de création/utilisation : <small>{{item.metadatas.metadata_obj.create_or_usage_location}}</small></h5>{% endif %}
{% if item.metadatas.metadata_obj.discovery_context %}<h5>Contexte de découverte : <small>{{item.metadatas.metadata_obj.discovery_context}}</small></h5>{% endif %}
{% if item.metadatas.metadata_obj.photo_credits %}<h5>Crédits photographiques : <small>{{item.metadatas.metadata_obj.photo_credits}}</small></h5>{% endif %}
{% if item.metadatas.metadata_obj.inventory_number %}<h5>Numéro d'inventaire : <small>{{item.metadatas.metadata_obj.inventory_number}}</small></h5>{% endif %}
{% if item.metadatas.metadata_obj.joconde_ref %}
{% with item_link_url=item.get_item_link_url item_link_text=item.get_item_link_text %}
{% if item_link_url and item_link_text %}
<h5><a href="{{item_link_url}}" target="_blank">{{item_link_text}}</a></h5>
{% endif %}
{% endwith %}
{% endif %}
<br>