From 1cdc2bd0350707fbe759625599390f77117cd845 Mon Sep 17 00:00:00 2001 From: jules Date: Thu, 19 Nov 2020 15:19:51 +0100 Subject: [PATCH] artwork almost all good apart from image carousel --- templates/artwork.html | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/templates/artwork.html b/templates/artwork.html index 7ada940..a7d0eef 100644 --- a/templates/artwork.html +++ b/templates/artwork.html @@ -77,7 +77,7 @@ {% if 'DigitalFacsimileExternalLink' in x %}
- External digital facsimile linl + External digital facsimile link
{% endif %} @@ -102,7 +102,30 @@ {% for x in artworkartefacts['results']['bindings'] %} - + {% if ('VideoFile' not in x) and ('AudioFile' not in x) and ('ImageFile' not in x) %} +

information not available

+ {% endif %} + + {% if 'VideoFile' in x %} +
+ + Video +
+ {% endif %} + + {% if 'AudioFile' in x %} +
+ + Audio +
+ {% endif %} + + {% if 'ImageFile' in x %} +
+ + Image +
+ {% endif %} {% endfor %} {% endif %}