styles fix

This commit is contained in:
bkfox
2024-05-01 02:12:01 +02:00
parent 6b7cfbdadf
commit 7cccb6182e
13 changed files with 62 additions and 39 deletions

View File

@ -58,7 +58,7 @@
{% if podcasts %}
<section class="container">
<h2 class="title is-3 p-2">{% translate "Last podcasts" %}</h2>
<h2 class="title">{% translate "Last podcasts" %}</h2>
{% include "./widgets/carousel.html" with objects=podcasts url_name="podcast-list" url_label=_("All podcasts") %}
</section>
{% endif %}

View File

@ -2,10 +2,15 @@
{% comment %}Detail page of a show{% endcomment %}
{% load i18n aircox %}
{% block content-container %}
{% block content %}
{{ block.super }}
{% with schedules=object.schedule_set.all %}
{% if schedules %}
<header class="container schedules">
{% if object.active and schedules %}
<header class="schedules mt-3">
<h4 class="title is-4 mr-3">
{% translate "Diffusions" %}
</h4>
{% for schedule in schedules %}
<div class="schedule">
<div class="heading">
@ -33,8 +38,13 @@
{% endif %}
{% endwith %}
{% endblock %}
{% block main %}
{{ block.super }}
{% if episodes %}
<section class="container">
<h2 class="title is-2">{% translate "Last Episodes" %}</h2>