1 {% load paniktags thumbnail static %}
3 <div class="wrapper extra-soundfiles">
5 {% if soundfile.episode.image %}
6 {% thumbnail soundfile.episode.image "60x60" crop="50% 25%" as im %}
7 <img width="60" height="60" src="{{im.url}}"/>
9 {% elif soundfile.episode.emission.image %}
10 {% thumbnail soundfile.episode.emission.image "60x60" crop="50% 25%" as im %}
11 <img width="60" height="60" src="{{im.url}}"/>
14 <img class="smooth" style="width:60px;" src="{% static "img/emission.png" %}"/>
17 <ul class="padded custom list">
19 <div class="soundfile-info"><strong>
20 <a href="{% url 'emission-view' slug=soundfile.episode.emission.slug%}">{{ soundfile.episode.emission.title }}</a> -
21 <a href="{% url 'episode-view' emission_slug=soundfile.episode.emission.slug slug=soundfile.episode.slug %}">{{ soundfile.episode.title }}</a></strong>
22 {% if soundfile.fragment %}<span> - {{ soundfile.title }}</span>{% endif %}
24 {% audio sound=soundfile %}</li>