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:
parent
31661c4141
commit
3b286bd7f2
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user