author | Riwad Salim |
Wed, 04 Jul 2018 14:02:35 +0200 | |
changeset 17 | 2f8800dc2c0d |
parent 12 | 902a14596a56 |
permissions | -rw-r--r-- |
0 | 1 |
|
2 |
<dl class="dl-horizontal"> |
|
12
902a14596a56
Adding specific elements in header and footer for iconolab-episteme project
Riwad Salim
parents:
0
diff
changeset
|
3 |
{% if item.metadatas.metadata_obj.image.title %}<dt>Titre</dt><dd>{{item.metadatas.metadata_obj.image.title}}</dd><br>{% endif %} |
902a14596a56
Adding specific elements in header and footer for iconolab-episteme project
Riwad Salim
parents:
0
diff
changeset
|
4 |
{% if item.metadatas.metadata_obj.image.description_html %}<dt>Description</dt><dd>{{item.metadatas.metadata_obj.image.description_html|safe}}</dd><br>{% endif %} |
0 | 5 |
{% if item.metadatas.metadata_obj.image.credit %}<dt>Crédits</dt><dd>{{item.metadatas.metadata_obj.image.credit}}</dd>{% endif %} |
6 |
{% if item.metadatas.metadata_obj.image.id %}<dt>Identification</dt><dd>{{item.metadatas.metadata_obj.image.id}}</dd>{% endif %} |
|
7 |
</dl> |
|
8 |
{% if item.metadatas.metadata_obj.image.id %} |
|
17
2f8800dc2c0d
Adapting access on collections images links in templates
Riwad Salim
parents:
12
diff
changeset
|
9 |
{% with item_link_url=item.get_item_link_url item_link_text=item.get_item_link_text %} |
2f8800dc2c0d
Adapting access on collections images links in templates
Riwad Salim
parents:
12
diff
changeset
|
10 |
{% if item_link_url and item_link_text %} |
0 | 11 |
<p class="text-center"> |
17
2f8800dc2c0d
Adapting access on collections images links in templates
Riwad Salim
parents:
12
diff
changeset
|
12 |
<a href= "{{item_link_url}}" target="_blank"> |
2f8800dc2c0d
Adapting access on collections images links in templates
Riwad Salim
parents:
12
diff
changeset
|
13 |
{{item_link_text}} |
0 | 14 |
</a> |
15 |
</p> |
|
16 |
{% endif %} |
|
17
2f8800dc2c0d
Adapting access on collections images links in templates
Riwad Salim
parents:
12
diff
changeset
|
17 |
{% endwith %} |
2f8800dc2c0d
Adapting access on collections images links in templates
Riwad Salim
parents:
12
diff
changeset
|
18 |
{% endif %} |