]> git.0d.be Git - panikweb.git/blobdiff - panikweb/templates/includes/week.html
mutate into an addon module for panikweb
[panikweb.git] / panikweb / templates / includes / week.html
diff --git a/panikweb/templates/includes/week.html b/panikweb/templates/includes/week.html
deleted file mode 100644 (file)
index 71f925f..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-{% load paniktags %}
-<div id="weekProgramContent-{{ week|slugify }}" class="program">
-
-       {% for day in days %}
-       <div data-tabbed="true" class="content" id="Program-week-{{ day.datetime|slugify }}">
-               <ul class="custom program-week list">
-               {% for cell in day.cells %}
-                       <li class="cf">
-                               <div class="programDate"><strong>{{ cell.datetime|date:"H:i" }}</strong></div>
-                               <div class="programCell">
-                               {% if cell.episode %}
-                                       {% with  cell.episode as episode %}{% episode_resume model="inline" klass="standalone" date=False %}{% endwith %}
-                               {% elif cell.emission %}
-                                       {% with cell.emission as emission %}{% emission_resume %}{% endwith %}
-                               {% else %}
-                               <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>
-                               {% endif %}
-                               </div>
-                       </li>
-               {% empty %}
-                       <li><div class="info big">Non stop only!</div></li>
-               {% endfor %}
-               </ul>
-       </div>
-       {% endfor %}
-</div>