This commit is contained in:
bkfox
2022-10-08 13:46:30 +02:00
parent da42ea4bcf
commit ec844297ee
7 changed files with 130 additions and 111 deletions

View File

@ -14,9 +14,11 @@ Context variables:
{% if render_card %}
<article class="card {% if is_primary %}is-primary{% endif %}">
<header class="card-image">
<figure class="image is-4by3">
<img src="{% thumbnail object.cover|default:station.default_cover 480x480 %}">
</figure>
<a href="{{ object.get_absolute_url }}">
<figure class="image is-4by3">
<img src="{% thumbnail object.cover|default:station.default_cover 480x480 %}">
</figure>
</a>
</header>
<div class="card-header">
<h4 class="title">

View File

@ -48,7 +48,7 @@ Context variables:
{% block actions %}
{% if object.sound_set.public.count %}
<button class="button is-round" @click="player.playButtonClick($event)"
<button class="button" @click="player.playButtonClick($event)"
data-sounds="{{ object.podcasts|json }}">
<span class="icon is-small">
<span class="fas fa-play"></span>