emission_detail.html 931 Bytes
Newer Older
fred's avatar
fred committed
1
{% extends "base.html" %}
Simon Daron's avatar
Simon Daron committed
2
3
{% block bodyID %}Emissions{% endblock %}
{% block listen %}{% endblock %}
4
{% block main %}
Simon Daron's avatar
Simon Daron committed
5
<div class="emission">
Simon Daron's avatar
Simon Daron committed
6
	<div class="wrapper half">
7
8
9
10
11
12
13
14
15
16
		<div id="Emission-tabs-detail">
			{% include "emissions/detail.html" %} 
		</div>
		<div id="Emission-tabs-episodes" class="episodes">
			{% if episodes %}
				{% regroup episodes by first_diffusion|date:"F Y"|capfirst as month_list %}
				{% for month in month_list %}
				<div class="legend">{{ month.grouper }}</div>
					<ul class="custom list">
					{% for episode in month.list %}
Simon Daron's avatar
Simon Daron committed
17
					
18
19
20
21
22
23
24
25
26
27
28
						{% if episode.title == episodes.0.title %}
							<li>{% include "episodes/resume.html" with date="daytime" %}</li>
						{% else %}
							<li>{% include "episodes/inline.html" with date="daytime" %}</li>
						{% endif %}
					{% endfor %}
					</ul>
				{% endfor %}
			{% endif %}
		</div>
	</div>
Simon Daron's avatar
Simon Daron committed
29
</div>
fred's avatar
fred committed
30
31
32
33
{% endblock %}

{% block pageend %}
{% endblock %}