forked from rc/aircox
styles fix
This commit is contained in:
@ -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 %}
|
||||
|
@ -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>
|
||||
|
Reference in New Issue
Block a user