detail.html 1.04 KB
Newer Older
Simon Daron's avatar
Simon Daron committed
1
{% load i18n %}
Simon Daron's avatar
Simon Daron committed
2
{% load paniktags %}
3
4
<div class="emission emission-detail cf">
	<div class="metas">
laron's avatar
laron committed
5
		{% if schedules %}
6
			<ul class="schedule custom">
laron's avatar
laron committed
7

8
9
10
11
				{% for schedule in schedules %}
				<li>
					<div>{{ schedule.datetime|date:"l G:i" }}
					<!--<div class="time">{{ schedule.datetime|date:"G:i" }}</div>-->
Simon Daron's avatar
Simon Daron committed
12
13
					{% if schedule.rerun %} <span class="smooth">(rediff)</span> {% endif %}
					</div>
14
15
16
				</li>
				{% endfor %}
			</ul>
laron's avatar
laron committed
17
		{% endif %}
18
19
20
21
22
		{% if emission.description %}
		<div class="description">
			{{ emission.description|safe|striptags }}
		</div>
		{% endif %}
23
	</div>
24

laron's avatar
laron committed
25
	{% if emission.image %}
Simon Daron's avatar
Simon Daron committed
26
		<img class="logo right" src="{{ emission.image.url }}"/>
laron's avatar
laron committed
27
	{% endif %}
28
29

	{% if emission.text %}
Simon Daron's avatar
Simon Daron committed
30
	<article class="text userContent">
Simon Daron's avatar
Simon Daron committed
31
		{{ emission.text|safe}}
32
	</article>
33
	{% endif %}
Simon Daron's avatar
Simon Daron committed
34
35
36
37
38
39
		{% if emission.email %}
			<div class="email ellipsis">{{ emission.email|strreplace:"@, (AT) "}}</div>
		{% endif %}
		{% if emission.website %}
			<div class="contact ellipsis"><a href="{{ emission.website}}">{{ emission.website}}</a></div>
		{% endif %}
40
41
</div>