Add the album basic thumbnail to their cards.
This commit is contained in:
parent
e5d0974306
commit
f23cebecfe
1 changed files with 4 additions and 2 deletions
|
@ -3,10 +3,12 @@
|
||||||
{% set viewparam = "?view=list" if view == "list" else "" %}
|
{% set viewparam = "?view=list" if view == "list" else "" %}
|
||||||
<div class="album_card album_card_{{view}}" data-id="{{album.id}}">
|
<div class="album_card album_card_{{view}}" data-id="{{album.id}}">
|
||||||
{% if album == "root" %}
|
{% if album == "root" %}
|
||||||
<a class="album_card_thumbnail" href="/albums{{viewparam}}"></a>
|
<a class="album_card_thumbnail" href="/albums{{viewparam}}">
|
||||||
{% else %}
|
{% else %}
|
||||||
<a class="album_card_thumbnail" href="/album/{{album.id}}{{viewparam}}"></a>
|
<a class="album_card_thumbnail" href="/album/{{album.id}}{{viewparam}}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
<img src="/static/basic_thumbnails/album.png"/>
|
||||||
|
</a>
|
||||||
|
|
||||||
<div class="album_card_tools">
|
<div class="album_card_tools">
|
||||||
{% if unlink_parent is not none %}
|
{% if unlink_parent is not none %}
|
||||||
|
|
Loading…
Reference in a new issue