nonstop_playlist.html 1.27 KB
Newer Older
fred's avatar
fred committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
{% extends "emissions.html" %}
{% load paniktags staticfiles i18n thumbnail %}
{% block bodyID %}Emissions{% endblock %}
{% block title %}{{ emission.title }}{% endblock %}

{% block toptitle %}
<h1 class="top"><a href="{% url 'grid' %}">{% trans 'Program' %}</a></h1>
{% endblock %}
{% block nav %}
	{% emission_nav %}
{% endblock %}
{% block main %}
<div class="wrapper navigation cf">
	<div id="Emission-container" class="emission">
		<header>
			<h3>{% trans 'Playlist' %} - {{date|date:'l d F Y'|lower}}</h3>
		</header>

		<table class="playlist">
		{% for track in tracks %}
fred's avatar
fred committed
21
		{% if track.filepath.track.title %}
fred's avatar
fred committed
22
		<tr>
23
			<td class="tracktime">{{track.play_timestamp|date:'H:i'}}</td>
fred's avatar
fred committed
24 25 26
			<td class="tracktitle">{{track.filepath.track.title }}</td>
			<td class="trackartist">{{track.filepath.track.artist.name }}</td>
		</tr>
fred's avatar
fred committed
27
		{% endif %}
fred's avatar
fred committed
28 29 30
		{% endfor %}
		</table>

31 32 33 34 35 36
		{% if not tracks|length %}
		<p>
		{% if future %}Pas encore de playlist connue, à plus tard ?{% else %}Pas de playlist connue.{% endif %}
		</p>
		{% endif %}

fred's avatar
fred committed
37 38 39 40 41 42 43 44 45 46 47 48
		<p class="playlist-disclaimer">
			N.B. Débordements d'émissions et autres manifestations
			radiophoniques spontanées peuvent amener cette liste à ne pas être
			totalement correcte.
		</p>

	</div>
</div>
{% endblock %}

{% block links %}
{% endblock %}