]> git.0d.be Git - panikweb.git/blob - panikweb_templates/templates/panikombo/episode.html
04fd894a7c6b90cd1df87acfe2bf752e7c6a0a90
[panikweb.git] / panikweb_templates / templates / panikombo / episode.html
1 {% load paniktags thumbnails staticfiles %}
2 <div class="wrapper extra-soundfiles">
3         <div class="logo">
4                 {% if episode.image %}
5                         <img src="{{ episode.image|thumbnail:'60x60' }}"/>
6                 {% elif episode.emission.image %}
7                         <img src="{{ episode.emission.image|thumbnail:'60x60' }}"/>
8                 {% else %}
9                         <img class="smooth"  style="width:60px;" src="{% static "img/emission.png" %}"/>
10                 {% endif %}
11         </div>
12 <ul class="padded custom list">
13 <li>
14   <div class="soundfile-info"><strong>
15     <a href="{% url 'emission-view' slug=episode.emission.slug%}">{{ episode.emission.title }}</a> -
16     <a href="{% url 'episode-view' emission_slug=episode.emission.slug slug=episode.slug %}">{{ episode.title }}</a></strong>
17           {% if soundfile.fragment %}<span> - {{ soundfile.title }}</span>{% endif %}
18   </div>
19   {% if soundfile %}{% audio sound=soundfile %}{% else %}
20   {% for diffusion in episode.diffusions %}
21   <span class="date">→ {{ diffusion.datetime|date:"l d M Y à H:i" }}</span>
22   {% endfor %}
23   {% endif %}
24 </li>
25 </ul>
26 </div>