]> git.0d.be Git - panikweb.git/blob - panikweb_templates/templates/panikombo/audio.html
ec68926cf09c9278599be84f588a7b4cc8d3d9f5
[panikweb.git] / panikweb_templates / templates / panikombo / audio.html
1 {% load paniktags thumbnails staticfiles %}
2 <div class="wrapper extra-soundfiles">
3         <div class="logo">
4                 {% if soundfile.episode.image %}
5                         <img src="{{ soundfile.episode.image|thumbnail:'60x60' }}"/>
6                 {% elif soundfile.episode.emission.image %}
7                         <img src="{{ soundfile.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=soundfile.episode.emission.slug%}">{{ soundfile.episode.emission.title }}</a> -
16     <a href="{% url 'episode-view' emission_slug=soundfile.episode.emission.slug slug=soundfile.episode.slug %}">{{ soundfile.episode.title }}</a></strong>
17           {% if soundfile.fragment %}<span> - {{ soundfile.title }}</span>{% endif %}
18   </div>
19   {% audio sound=soundfile %}</li>
20 </ul>
21 </div>