--- /dev/null
+{% load paniktags thumbnail static %}
+{% if soundfile %}
+ <div class="wrapper extra-soundfiles">
+ <div class="logo">
+ {% if soundfile.episode.image %}
+ {% thumbnail soundfile.episode.image "60x60" crop="50% 25%" as im %}
+ <img alt="" width="60" height="60" src="{{im.url}}"/>
+ {% endthumbnail %}
+ {% elif soundfile.episode.emission.image %}
+ {% thumbnail soundfile.episode.emission.image "60x60" crop="50% 25%" as im %}
+ <img alt="" width="60" height="60" src="{{im.url}}"/>
+ {% endthumbnail %}
+ {% else %}
+ <img alt="" class="smooth" style="width:60px;" src="{% static "img/emission.png" %}"/>
+ {% endif %}
+ </div>
+ <ul class="padded custom list">
+ <li>
+ <div class="soundfile-info"><strong>
+ <a href="{% url 'emission-view' slug=soundfile.episode.emission.slug%}">{{ soundfile.episode.emission.title }}</a> -
+ <a href="{% url 'episode-view' emission_slug=soundfile.episode.emission.slug slug=soundfile.episode.slug %}">{{ soundfile.episode.title }}</a></strong>
+ {% if soundfile.fragment %}<span> - {{ soundfile.title }}</span>{% endif %}
+ </div>
+ {% audio sound=soundfile %}</li>
+ </ul>
+ </div>
+{% endif %}
--- /dev/null
+{% load paniktags thumbnail static %}
+{% if episode %}
+ <div class="wrapper extra-soundfiles">
+ <div class="logo">
+ {% if episode.image %}
+ {% thumbnail episode.image "60x60" crop="50% 25%" as im %}
+ <img alt="" width="60" height="60" src="{{im.url}}"/>
+ {% endthumbnail %}
+ {% elif episode.emission.image %}
+ {% thumbnail episode.emission.image "60x60" crop="50% 25%" as im %}
+ <img alt="" width="60" height="60" src="{{im.url}}"/>
+ {% endthumbnail %}
+ {% else %}
+ <img alt="" class="smooth" style="width:60px;" src="{% static "img/emission.png" %}"/>
+ {% endif %}
+ </div>
+ <ul class="padded custom list">
+ <li>
+ <div class="soundfile-info"><strong>
+ <a href="{% url 'emission-view' slug=episode.emission.slug%}">{{ episode.emission.title }}</a> -
+ <a href="{% url 'episode-view' emission_slug=episode.emission.slug slug=episode.slug %}">{{ episode.title }}</a></strong>
+ {% if soundfile.fragment %}<span> - {{ soundfile.title }}</span>{% endif %}
+ </div>
+ {% for diffusion in episode.diffusions %}
+ <span class="date">→ {{ diffusion.datetime|date:"l d M Y à H:i" }}</span>
+ {% endfor %}
+ {% if soundfile %}{% audio sound=soundfile %}{% endif %}
+ </li>
+ </ul>
+ </div>
+{% endif %}
--- /dev/null
+{% load paniktags thumbnail static %}
+{% if title and episodes %}<h3>{{title}}</h3>{% endif %}
+{% for episode in episodes %}
+
+ <div class="wrapper extra-soundfiles soundcell">
+ <div class="logo">
+ {% if episode.image %}
+ {% thumbnail episode.image "60x60" crop="50% 25%" as im %}
+ <img alt="" width="60" height="60" src="{{im.url}}"/>
+ {% endthumbnail %}
+ {% elif episode.emission.image %}
+ {% thumbnail episode.emission.image "60x60" crop="50% 25%" as im %}
+ <img alt="" width="60" height="60" src="{{im.url}}"/>
+ {% endthumbnail %}
+ {% else %}
+ <img alt="" class="smooth" style="width:60px;" src="{% static "img/emission.png" %}"/>
+ {% endif %}
+ </div>
+ <ul class="padded custom list">
+ <li>
+ <div class="soundfile-info"><strong>
+ <a class="emission-title" href="{% url 'emission-view' slug=episode.emission.slug%}">{{ episode.emission.title }}</a>
+ <span class="sep">-</span>
+ <a class="episode-title" href="{% url 'episode-view' emission_slug=episode.emission.slug slug=episode.slug %}">{{ episode.title }}</a></strong>
+ </div>
+ {% for diffusion in episode.diffusions %}
+ <span class="date">→ {{ diffusion.datetime|date:"l d M Y à H:i" }}</span>
+ {% endfor %}
+ {% if episode.main_sound %}{% audio sound=episode.main_sound %}{% endif %}
+ {% for sound in episode.fragment_sounds %}
+ <div class="fragment-sound">
+ {% audio sound=sound display_fragment_name=True %}
+ </div>
+ {% endfor %}
+ </li>
+ </ul>
+ </div>
+
+{% endfor %}
--- /dev/null
+{{form.as_p}}
--- /dev/null
+{% load paniktags %}
+{% if title and newsitems %}<h3>{{title}}</h3>{% endif %}
+<ul class="custom list newsList">
+ {% for content in newsitems|slice:":50" %}
+ <li>{% news_inline %}</li>
+ {% endfor %}
+</ul>