mirror of
https://github.com/krateng/maloja.git
synced 2025-06-06 18:33:19 +03:00
Image fetch now uses real entity info instead of just URL filterkeys
This commit is contained in:
parent
ccf75898e7
commit
dfa564be0b
@ -12,7 +12,7 @@
|
|||||||
{% if adminmode %}
|
{% if adminmode %}
|
||||||
<div
|
<div
|
||||||
class="shiny alwaysshiny changeable-image" data-uploader="b64=>upload('{{ encodedalbum }}',b64)"
|
class="shiny alwaysshiny 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"
|
title="Drag & Drop to upload new image"
|
||||||
></div>
|
></div>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
{% if adminmode %}
|
{% if adminmode %}
|
||||||
<div
|
<div
|
||||||
class="shiny alwaysshiny changeable-image" data-uploader="b64=>upload('{{ encodedartist }}',b64)"
|
class="shiny alwaysshiny 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"
|
title="Drag & Drop to upload new image"
|
||||||
></div>
|
></div>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
@ -6,14 +6,13 @@
|
|||||||
|
|
||||||
{% import 'partials/awards_track.jinja' as awards %}
|
{% import 'partials/awards_track.jinja' as awards %}
|
||||||
|
|
||||||
|
|
||||||
<table class="top_info">
|
<table class="top_info">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="image">
|
<td class="image">
|
||||||
{% if adminmode %}
|
{% if adminmode %}
|
||||||
<div
|
<div
|
||||||
class="shiny alwaysshiny changeable-image" data-uploader="b64=>upload('{{ encodedtrack }}',b64)"
|
class="shiny alwaysshiny 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"
|
title="Drag & Drop to upload new image"
|
||||||
></div>
|
></div>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user