]> git.0d.be Git - panikweb.git/blobdiff - panikweb_templates/templates/combo/cells/alimentation/episode_auto_selection.html
move static & templates to panikweb project directory
[panikweb.git] / panikweb_templates / templates / combo / cells / alimentation / episode_auto_selection.html
diff --git a/panikweb_templates/templates/combo/cells/alimentation/episode_auto_selection.html b/panikweb_templates/templates/combo/cells/alimentation/episode_auto_selection.html
deleted file mode 100644 (file)
index d66216c..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-{% load paniktags thumbnail staticfiles %}
-{% if title and episodes %}<h3>{{title}}</h3>{% endif %}
-{% for episode in episodes %}
-<div class="episode inline episode-inline">
-       <div class="logo">
-               {% if episode.image %}
-                       {% thumbnail episode.image "60x60" crop="50% 25%" as im %}
-                       <img src="{{im.url}}"/>
-                       {% endthumbnail %}
-               {% elif episode.emission.image %}
-                       {% thumbnail episode.emission.image "60x60" crop="50% 25%" as im %}
-                       <img src="{{im.url}}"/>
-                       {% endthumbnail %}
-               {% else %}
-                       <img class="smooth"  style="width:60px;" src="{% static "img/emission.png" %}"/>
-               {% endif %}
-       </div>
-       <div class="content">
-               {% if episode.main_sound %}
-                       <div class="sound right">{% audio sound=episode.main_sound %}</div>
-               {% endif %}
-               <div class="title">
-                       <h5 class="title">
-                               <a href="{% url 'episode-view' emission_slug=episode.emission.slug slug=episode.slug %}">{{ episode.title }}</a>
-                       </h5>
-               </div>
-               {% if episode.text %}
-               <div class="description">
-                       {{ episode.text|safe|striptags|truncatewords:35 }}
-               </div>
-               {% endif %}
-       </div>
-</div>
-{% endfor %}