1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Small fix to entity main image display

This commit is contained in:
krateng 2023-04-01 15:31:18 +02:00
parent 31661c4141
commit 3b286bd7f2
3 changed files with 6 additions and 6 deletions

View File

@ -45,11 +45,11 @@
{% if adminmode %}
<div
class="changeable-image" data-uploader="b64=>upload('{{ encodedalbum }}',b64)"
style="background-image:url('{{ images.get_album_image(album) }}');"
style="background-image:url('{{ images.get_album_image(info.album) }}');"
title="Drag & Drop to upload new image"
></div>
{% else %}
<div style="background-image:url('{{ images.get_album_image(album) }}');">
<div style="background-image:url('{{ images.get_album_image(info.album) }}');">
</div>
{% endif %}
</td>

View File

@ -53,11 +53,11 @@
{% if adminmode %}
<div
class="changeable-image" data-uploader="b64=>upload('{{ encodedartist }}',b64)"
style="background-image:url('{{ images.get_artist_image(artist) }}');"
style="background-image:url('{{ images.get_artist_image(info.artist) }}');"
title="Drag & Drop to upload new image"
></div>
{% else %}
<div style="background-image:url('{{ images.get_artist_image(artist) }}');">
<div style="background-image:url('{{ images.get_artist_image(info.artist) }}');">
</div>
{% endif %}
</td>

View File

@ -50,11 +50,11 @@
{% if adminmode %}
<div
class="changeable-image" data-uploader="b64=>upload('{{ encodedtrack }}',b64)"
style="background-image:url('{{ images.get_track_image(track) }}');"
style="background-image:url('{{ images.get_track_image(info.track) }}');"
title="Drag & Drop to upload new image"
></div>
{% else %}
<div style="background-image:url('{{ images.get_track_image(track) }}');">
<div style="background-image:url('{{ images.get_track_image(info.track) }}');">
</div>
{% endif %}
</td>