emission_detail.html 1.15 KB
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 id="Emission" class="wrapper futurtabs">
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!--
	<ul class="custom">
		<li><a href="#Emission-tabs-episodes">Episodes</a></li>
		<li><a href="#Emission-tabs-detail">A propos de l'émission</a></li>
	</ul>
		<header class="mainHeader">
			<h1 class="title">{{ emission.title }}</h1>
		</header>
-->
		<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 %}
						
						{% 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>
fred's avatar
fred committed
37
38
39
40
{% endblock %}

{% block pageend %}
{% endblock %}