src/iconolab_mcc/templates/iconolab/metadatas/detail_item_metadatas.html
author Riwad Salim
Thu, 05 Jul 2018 12:43:26 +0200
changeset 20 a07ea7805cc4
parent 3 12fb6a535aa6
permissions -rw-r--r--
Adding one migration and adapting templates for link images collections in iconolab-mcc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3
12fb6a535aa6 Add specific templates to iconolab-mcc and edit docker settings
Riwad Salim
parents:
diff changeset
     1
{% load iconolab_mcc_tags %}
12fb6a535aa6 Add specific templates to iconolab-mcc and edit docker settings
Riwad Salim
parents:
diff changeset
     2
12fb6a535aa6 Add specific templates to iconolab-mcc and edit docker settings
Riwad Salim
parents:
diff changeset
     3
{% if item.metadatas.metadata_obj.designation %}<h3>Désignation : <small>{{item.metadatas.metadata_obj.designation}}</small></h3>{% endif %}
12fb6a535aa6 Add specific templates to iconolab-mcc and edit docker settings
Riwad Salim
parents:
diff changeset
     4
{% if item.metadatas.metadata_obj.authors %}<h4>Auteur(s) : <small>{{item.metadatas.metadata_obj.authors}}</small></h4>{% endif %}
12fb6a535aa6 Add specific templates to iconolab-mcc and edit docker settings
Riwad Salim
parents:
diff changeset
     5
{% if item.metadatas.metadata_obj.field %}<h4>Domaine : <small>{{item.metadatas.metadata_obj.field}}</small></h4>{% endif %}
12fb6a535aa6 Add specific templates to iconolab-mcc and edit docker settings
Riwad Salim
parents:
diff changeset
     6
{% if item.metadatas.metadata_obj.conservation_location %}<h4>Conservé à : <small>{{item.metadatas.metadata_obj.conservation_location}}</small></h4>{% endif %}
12fb6a535aa6 Add specific templates to iconolab-mcc and edit docker settings
Riwad Salim
parents:
diff changeset
     7
{% if item.metadatas.metadata_obj.datation %}<h4>Datation : <small>{{item.metadatas.metadata_obj.datation}}</small></h4>{% endif %}
12fb6a535aa6 Add specific templates to iconolab-mcc and edit docker settings
Riwad Salim
parents:
diff changeset
     8
{% if item.metadatas.metadata_obj.technics %}<h5>Techniques : <small>{{item.metadatas.metadata_obj.technics}}</small></h5>{% endif %}
12fb6a535aa6 Add specific templates to iconolab-mcc and edit docker settings
Riwad Salim
parents:
diff changeset
     9
{% if item.metadatas.metadata_obj.measurements %}<h5>Mesures : {{item.metadatas.metadata_obj.measurements}}</h5>{% endif %}
12fb6a535aa6 Add specific templates to iconolab-mcc and edit docker settings
Riwad Salim
parents:
diff changeset
    10
{% 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 %}
12fb6a535aa6 Add specific templates to iconolab-mcc and edit docker settings
Riwad Salim
parents:
diff changeset
    11
{% if item.metadatas.metadata_obj.discovery_context %}<h5>Contexte de découverte : <small>{{item.metadatas.metadata_obj.discovery_context}}</small></h5>{% endif %}
12fb6a535aa6 Add specific templates to iconolab-mcc and edit docker settings
Riwad Salim
parents:
diff changeset
    12
{% if item.metadatas.metadata_obj.photo_credits %}<h5>Crédits photographiques : <small>{{item.metadatas.metadata_obj.photo_credits}}</small></h5>{% endif %}
12fb6a535aa6 Add specific templates to iconolab-mcc and edit docker settings
Riwad Salim
parents:
diff changeset
    13
{% if item.metadatas.metadata_obj.inventory_number %}<h5>Numéro d'inventaire : <small>{{item.metadatas.metadata_obj.inventory_number}}</small></h5>{% endif %} 
20
a07ea7805cc4 Adding one migration and adapting templates for link images collections in iconolab-mcc
Riwad Salim
parents: 3
diff changeset
    14
{% if item.metadatas.metadata_obj.joconde_ref %}
a07ea7805cc4 Adding one migration and adapting templates for link images collections in iconolab-mcc
Riwad Salim
parents: 3
diff changeset
    15
{% with item_link_url=item.get_item_link_url item_link_text=item.get_item_link_text %}
a07ea7805cc4 Adding one migration and adapting templates for link images collections in iconolab-mcc
Riwad Salim
parents: 3
diff changeset
    16
{% if item_link_url and item_link_text %}
a07ea7805cc4 Adding one migration and adapting templates for link images collections in iconolab-mcc
Riwad Salim
parents: 3
diff changeset
    17
<h5><a href="{{item_link_url}}" target="_blank">{{item_link_text}}</a></h5>
a07ea7805cc4 Adding one migration and adapting templates for link images collections in iconolab-mcc
Riwad Salim
parents: 3
diff changeset
    18
{% endif %}
a07ea7805cc4 Adding one migration and adapting templates for link images collections in iconolab-mcc
Riwad Salim
parents: 3
diff changeset
    19
{% endwith %}
a07ea7805cc4 Adding one migration and adapting templates for link images collections in iconolab-mcc
Riwad Salim
parents: 3
diff changeset
    20
{% endif %}
3
12fb6a535aa6 Add specific templates to iconolab-mcc and edit docker settings
Riwad Salim
parents:
diff changeset
    21
<br>