]> git.0d.be Git - panikweb-esperanzah.git/blob - espeweb/templates/nonstop_playlist.html
mutate into an addon module for panikweb
[panikweb-esperanzah.git] / espeweb / templates / nonstop_playlist.html
1 {% extends "emissions.html" %}
2 {% load paniktags staticfiles i18n thumbnail %}
3 {% block bodyID %}Emissions{% endblock %}
4 {% block title %}{{ emission.title }}{% endblock %}
5
6 {% block toptitle %}
7 <h1 class="top"><a href="{% url 'grid' %}">{% trans 'Program' %}</a></h1>
8 {% endblock %}
9 {% block nav %}
10         {% emission_nav %}
11 {% endblock %}
12 {% block main %}
13 <div class="wrapper navigation cf">
14         <div id="Emission-container" class="emission">
15                 <header>
16                         <h3>{% trans 'Playlist' %} - {{date|date:'l d F Y'|lower}}</h3>
17                 </header>
18
19                 <table class="playlist">
20                 {% for track in tracks %}
21                 {% if track.filepath.track.title %}
22                 <tr>
23                         <td class="tracktime">{{track.play_timestamp|date:'H:i'}}</td>
24                         <td class="tracktitle">{{track.filepath.track.title }}</td>
25                         <td class="trackartist">{{track.filepath.track.artist.name }}</td>
26                 </tr>
27                 {% endif %}
28                 {% endfor %}
29                 </table>
30
31                 {% if not tracks|length %}
32                 <p>
33                 {% if future %}Pas encore de playlist connue, à plus tard ?{% else %}Pas de playlist connue.{% endif %}
34                 </p>
35                 {% endif %}
36
37                 <p class="playlist-disclaimer">
38                         N.B. Débordements d'émissions et autres manifestations
39                         radiophoniques spontanées peuvent amener cette liste à ne pas être
40                         totalement correcte.
41                 </p>
42
43         </div>
44 </div>
45 {% endblock %}
46
47 {% block links %}
48 {% endblock %}