Browse Source

link to copy template from artwork template fixed

master
zeroth 4 years ago
parent
commit
ba9d7219f0
  1. 10
      templates/artwork.html

10
templates/artwork.html

@ -375,20 +375,22 @@
<!-- img --> <!-- img -->
<div class="artwork-copiesincollection-img-div"> <div class="artwork-copiesincollection-img-div">
{% if "image" in x %} {% if "image" in x %}
<!-- <a href='/artwork?id={{ x["copiesCollections"]["value"] | replace("https://daap.bannerrepeater.org/entity/", "") }}'> --> <a href='/copy?id={{ x["copiesCollections"]["value"] | replace("http://daap.bannerrepeater.org/entity/", "") }}'>
<img class="artwork-copiesincollection-imgs" src='{{ x["image"]["value"] | replace("wiki/File:","wiki/Special:Redirect/file/") }}'> <img class="artwork-copiesincollection-imgs" src='{{ x["image"]["value"] | replace("wiki/File:","wiki/Special:Redirect/file/") }}'>
<!-- </a> --> </a>
<br> <br>
{% else %} {% else %}
<!-- <a href='/artwork?id={{ x["copiesCollections"]["value"] | replace("https://daap.bannerrepeater.org/entity/", "") }}'> --> <a href='/copy?id={{ x["copiesCollections"]["value"] | replace("http://daap.bannerrepeater.org/entity/", "") }}'>
<img class="artwork-copiesincollection-imgs" src="{{ url_for('static', filename='/imgs/Icons/placeholder_no-image2.png') }}"> <img class="artwork-copiesincollection-imgs" src="{{ url_for('static', filename='/imgs/Icons/placeholder_no-image2.png') }}">
<!-- </a> --> </a>
<br> <br>
{% endif %} {% endif %}
</div> </div>
<!-- title/name of collection --> <!-- title/name of collection -->
<div class="artwork-copiesincollection-title-div"> <div class="artwork-copiesincollection-title-div">
<a href='/copy?id={{ x["copiesCollections"]["value"] | replace("http://daap.bannerrepeater.org/entity/", "") }}'>
{{ x["collectionLabel"]["value"]}} {{ x["collectionLabel"]["value"]}}
</a>
</div> </div>
</div> </div>

Loading…
Cancel
Save