]> git.0d.be Git - panikweb.git/blob - panikweb_templates/templates/includes/week.html
misc: run manage.py with python3
[panikweb.git] / panikweb_templates / templates / includes / week.html
1 {% load paniktags %}
2 <div id="weekProgramContent-{{ week|slugify }}" class="program">
3
4         {% for day in days %}
5         <div data-tabbed="true" class="content" id="Program-week-{{ day.datetime|slugify }}">
6                 <ul class="custom program-week list">
7                 {% for cell in day.cells %}
8                         <li class="cf">
9                                 <div class="programDate"><strong>{{ cell.datetime|date:"H:i" }}</strong></div>
10                                 <div class="programCell">
11                                 {% if cell.episode %}
12                                         {% with  cell.episode as episode %}{% episode_resume model="inline" klass="standalone" date=False %}{% endwith %}
13                                 {% elif cell.emission %}
14                                         {% with cell.emission as emission %}{% emission_resume %}{% endwith %}
15                                 {% else %}
16                                 <a href="{% if cell.nonstop.redirect_path %}{{ cell.nonstop.redirect_path }}{% else %}{% url 'emission-view' slug=cell.slug %}{% endif %}" class="nonstop"><em>{{ cell.label }}</em></a> - <span class="smooth categories category">Musique en continu</span> - <a class="playlist" href="{% url 'nonstop-playlist' slug=cell.slug year=cell.datetime.year month=cell.datetime.month day=cell.datetime.day %}">playlist</a>
17                                 {% endif %}
18                                 </div>
19                         </li>
20                 {% empty %}
21                         <li><div class="info big">Non stop only!</div></li>
22                 {% endfor %}
23                 </ul>
24         </div>
25         {% endfor %}
26 </div>