program.html 866 Bytes
Newer Older
fred's avatar
fred committed
1
{% extends "base.html" %}
Simon Daron's avatar
Simon Daron committed
2
3
{% block bodyID %}Program{% endblock %}
{% block listen %}{% endblock %}
4
{% block main %}
Simon Daron's avatar
Simon Daron committed
5
<div class="program tabs">
6
7
8
9
10
11
12
	<nav>
		<ul class="days custom">
		{% for day in days %}
			<li class=""><a href="#Program-tabs-{{ day.datetime|date:"w" }}">{{ day.datetime|date:"D d" }}</a></li>
		{% endfor %}
		</ul>
	</nav>
Simon Daron's avatar
Simon Daron committed
13
	{% for day in days %}
14
	<div class="content padded" id="Program-tabs-{{ day.datetime|date:"w" }}">
Simon Daron's avatar
Simon Daron committed
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
		<ul class="custom emission-list list">
		{% if day.schedules %}
		    {% for schedule in day.schedules %}
			<li >
				<div class="date dateBloc">
					<div class="time">{{ schedule.datetime|date:"H:i" }}</div>
				</div>
				{% include "emissions/inline.html" with emission=schedule.emission %}		
			</li>
		    {% endfor %}
		{% else %}
			<li>Non stop</li>
		{% endif %}
		</ul>
	</div>
	{% endfor %}
fred's avatar
fred committed
31
32
</div>
{% endblock %}