forked from rc/aircox
hot reload
This commit is contained in:
@ -41,3 +41,15 @@ Context variables:
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
|
||||
{% block actions %}
|
||||
{% if object.sound_set.public.count %}
|
||||
<button class="button is-round" @click="player.playButtonClick($event)"
|
||||
data-sounds="{{ object.podcasts|json }}">
|
||||
<span class="icon is-small">
|
||||
<span class="fas fa-play"></span>
|
||||
</span>
|
||||
</button>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
|
@ -30,7 +30,7 @@ Context variables:
|
||||
{% if has_cover|default_if_none:True %}
|
||||
<div class="media-left">
|
||||
<img src="{% thumbnail object.cover|default:station.default_cover 128x128 crop=scale %}"
|
||||
class="small-cover">
|
||||
class="cover is-small">
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="media-content">
|
||||
@ -55,6 +55,8 @@ Context variables:
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
{% block actions %}{% endblock %}
|
||||
</article>
|
||||
{% endif %}
|
||||
|
||||
|
Reference in New Issue
Block a user