Commit 774108b7 authored by fred's avatar fred
Browse files

emission: display right column even if there's only a futur episode

parent 877f147a
......@@ -31,7 +31,7 @@
{% endif %}
</div>
{% if episodes.exists or news %}
{% if episodes.exists or futurEpisodes.exists or news %}
<div id="Emission-tabs-menu" class="rightPart episodes">
{% if news %}
......@@ -46,7 +46,7 @@
{% endif %}
{% if episodes.exists %}
{% if episodes.exists or futurEpisodes.exists %}
<h5 class="sectionLabel right"><a class="" href="{% url 'emissionEpisodes' slug=emission.slug %}">Tous ({{ episodes.count }})</a></h5>
<h5 class="sectionLabel">Épisodes</h5>
<form method="get" action="{% url 'emissionEpisodes' slug=emission.slug %}" class="" id="search-form">
......@@ -63,6 +63,7 @@
</div>
{% endif %}
{% if episodes %}
<div class="sub recent-episodes">
<h5 class="sectionLabel">Précédemment</h5>
......@@ -72,6 +73,7 @@
{% endfor %}
{% endwith %}
</div>
{% endif %}
{% endif %}
</div>
{% endif %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment