podcasts & player

This commit is contained in:
bkfox
2023-11-24 20:46:56 +01:00
parent 474016f776
commit 62ada47352
14 changed files with 490 additions and 486 deletions

View File

@ -9,7 +9,7 @@
{{ block.super }}
{% if episodes %}
<section class="container">
<h4 class="title is-3">{% translate "Last Episodes" %}</h4>
<h3 class="title is-3">{% translate "Last Episodes" %}</h3>
<section class="card-grid">
{% for object in episodes|slice:":3" %}
{% page_widget "card" object %}
@ -18,8 +18,7 @@
<nav class="has-text-right">
<li class="nav-item">
<a href="{% url "episode-list" parent_slug=program.slug %}"
class="button action">
<a href="{% url "episode-list" parent_slug=program.slug %}">
{% translate "All episodes" %}
</a>
</li>
@ -30,7 +29,7 @@
{% if articles %}
<section class="container">
<h4 class="title is-4">{% translate "Last Articles" %}</h4>
<h3 class="title is-3">{% translate "Last Articles" %}</h3>
<section class="card-grid">
{% for object in articles|slice:3 %}
@ -41,7 +40,6 @@
<nav class="has-text-right">
<li class="nav-item">
<a href="{% url "article-list" parent_slug=program.slug %}"
class="button action"
aria-label="{% translate "Show all program's articles" %}">
{% translate "All articles" %}
</a>