Browse Source

latest artwork.html for today

master
jules 4 years ago
parent
commit
ae0b544bc3
  1. 10
      templates/artwork.html

10
templates/artwork.html

@ -168,7 +168,7 @@
{% if 'distributorLinks' in x %} {% if 'distributorLinks' in x %}
<div> <div>
<img src="{{ url_for('static', filename='/imgs/Icons/icn_external_link.svg') }}"> <a target="_blank" href="{{ x['distributorLinks']['value'] }}"><img src="{{ url_for('static', filename='/imgs/Icons/icn_external_link.svg') }}"></a>
<a target="_blank" href="{{ x['distributorLinks']['value'] }}">{{ x['distributorLinks']['value'] }}</a> <a target="_blank" href="{{ x['distributorLinks']['value'] }}">{{ x['distributorLinks']['value'] }}</a>
</div> </div>
@ -202,7 +202,7 @@
<span>{{ x['creatorsLabel']['value'] }}</span> <span>{{ x['creatorsLabel']['value'] }}</span>
</a> </a>
<!-- role/function --> <!-- role/function -->
<p>Role {{ x['role']['value'] }}</p> <p>Role: {{ x['role']['value'] }}</p>
</div> </div>
{% endfor %} {% endfor %}
{% endif %} {% endif %}
@ -420,7 +420,7 @@
</div> </div>
<!-- title --> <!-- title -->
<div class="artwork-relatedworks-tile"> <div class="artwork-relatedworks-tile">
{{ x["relatedWorksLabel"]["value"]}} <a href='/artwork?id={{ x["relatedWorks"]["value"] | replace("http://daap.bannerrepeater.org/entity/", "") }}'>{{ x["relatedWorksLabel"]["value"]}}</a>
</div> </div>
<!-- year --> <!-- year -->
<div class="artwork-relatedworks-date"> <div class="artwork-relatedworks-date">
@ -445,9 +445,9 @@
<div> <div>
<div class="artwork-lists-img"> <div class="artwork-lists-img">
{% if "image" in x %} {% if "image" in x %}
<img src="x['image']['value']"> <a target="_blank" href="{{ x['list']['value'] }}"><img src="x['image']['value']"></a>
{% else %} {% else %}
<img src="{{ url_for('static', filename='/imgs/Icons/placeholder_no-image2.png') }}"> <a target="_blank" href="{{ x['list']['value'] }}"><img src="{{ url_for('static', filename='/imgs/Icons/placeholder_no-image2.png') }}"></a>
{% endif %} {% endif %}
</div> </div>
<div class="artwork-lists-title"> <div class="artwork-lists-title">

Loading…
Cancel
Save