detail.html 1.34 KB
Newer Older
Simon Daron's avatar
Simon Daron committed
1

2
3
4
5
6
7
8
9
10
11
12
13
14
<div class="emission emission-detail cf">
	<!--
	<nav class="menu">
		<ul>
			<li><a href="#">épisodes</a></li>
			<li><a href="#" class="active">à propos</a></li>
		</ul>
	</nav>
	-->
	<header class="mainHeader">
		<h1 class="title">{{ emission.title }}</h1>
	</header>
	<div class="metas">
laron's avatar
laron committed
15
16
		{% if schedules %}
			<div class="schedule">
laron's avatar
laron committed
17

laron's avatar
laron committed
18
19
20
21
22
23
24
25
			{% for schedule in schedules %}
				<div>{{ schedule.datetime|date:"l G:i" }}
				<!--<div class="time">{{ schedule.datetime|date:"G:i" }}</div>-->
				{% if schedule.rerun %} <span class="smooth">(rediff)</span> {% endif %}</div>
			</li>
			{% endfor %}
			</div>
		{% endif %}
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
		<button class="control todo">
			<span class="symbol huge">G</span>
			<span class="listen">Écouter <!--la dernière--></span>
		</button>
		<div class="cf"></div>
		{% if emission.description %}
		<div class="description">
			{{ emission.description|safe|striptags }}
		</div>
		{% endif %}
		{% if emission.email %}
			<div class="email ellipsis">{{ emission.email}}</div>
		{% endif %}
		{% if emission.website %}
			<div class="contact ellipsis"><a href="{{ emission.website}}">{{ emission.website}}</a></div>
41
42
		{% endif %}
	</div>
43

laron's avatar
laron committed
44
45
46
	{% if emission.image %}
		<img class="logo" src="{{ emission.image.url }}"/>
	{% endif %}
47
48
49
50
51

	{% if emission.text %}
	<article class="text content">
		{{ emission.text|safe }}
	</article>
52
53
54
	{% endif %}
</div>