add date into diffusion menu in wagtail nav; get larger menus in back-office

This commit is contained in:
bkfox
2017-05-14 22:33:11 +02:00
parent 3cceb65121
commit a599f133a1
9 changed files with 121 additions and 108 deletions

View File

@ -18,6 +18,7 @@
{% endif %}
{% endwith %}
{% if diffusion.diffusion_set.count %}
<section class="dates">
<h2>{% trans "Dates of diffusion" %}</h2>
<ul>
@ -29,6 +30,7 @@
{% endwith %}
</ul>
</section>
{% endif %}
{% with podcasts=self.get_podcasts %}
{% if podcasts %}

View File

@ -8,7 +8,7 @@
{% block content_extras %}
<section class="schedule">
{% if page.program.active %}
{% if page.program.active and page.program.schedule_set.count %}
<h2>{% trans "Schedule" %}</h2>
<ul>
{% for schedule in page.program.schedule_set.all %}