link to copy template from artwork template fixed
This commit is contained in:
parent
a1564fee94
commit
ba9d7219f0
@ -375,20 +375,22 @@
|
||||
<!-- img -->
|
||||
<div class="artwork-copiesincollection-img-div">
|
||||
{% 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/") }}'>
|
||||
<!-- </a> -->
|
||||
</a>
|
||||
<br>
|
||||
{% 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') }}">
|
||||
<!-- </a> -->
|
||||
</a>
|
||||
<br>
|
||||
{% endif %}
|
||||
</div>
|
||||
<!-- title/name of collection -->
|
||||
<div class="artwork-copiesincollection-title-div">
|
||||
<a href='/copy?id={{ x["copiesCollections"]["value"] | replace("http://daap.bannerrepeater.org/entity/", "") }}'>
|
||||
{{ x["collectionLabel"]["value"]}}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user