1 {% extends "base.html" %}
2 {% load paniktags staticfiles thumbnails %}
3 {% block title %}Sons{% endblock %}
5 <h1 class="top"><a href="{% url 'listen' %}">Sons</a></h1>
11 <div class="detail marged soundfiles cf">
12 <div class="wrapper navigation">
14 <p class="intro leftPart">
15 Émissions et fragments sonores à (ré-)écouter, à partager et à télécharger.
16 Entretien, magazine, interview, pièce sonore, reportage, toutes les formes sont
20 <div class="leftPart">
21 <div class="soundfiles">
22 <h5 class="sectionLabel">Focus</h5>
24 <ul class="custom columns cf padded">
25 {% for soundfile in focus %}
26 <li class="soundfile frontpage">
27 <div class="content content-inline cf special">
28 <a class="block cf" href="{% url 'episode-view' emission_slug=soundfile.episode.emission.slug slug=soundfile.episode.slug %}">
29 <div class="label labels absolute">
30 <span class="item inBlock">{{ soundfile.format.title }}</span>
33 {% if soundfile.episode.image %}
34 <img class="normal" src="{{ soundfile.episode.image|thumbnail:'480x320' }}"/>
35 {% elif soundfile.episode.emission.image %}
36 <img class="normal" src="{{ soundfile.episode.emission.image|thumbnail:'480x320' }}"/>
38 <img class="normal" src="{% static "img/sound.png" %}"/>
42 {% if soundfile.fragment and soundfile.title %}
43 <h5 class="title">{{ soundfile.title }}</h5>
45 <h5 class="title">{{ soundfile.episode.title }}</h5>
46 <h5 class="title">{{ soundfile.episode.emission.title }}</h5>
47 <div class="description">
48 {{ soundfile.episode.text|safe|striptags|truncatewords:75}}
50 {% if soundfile.first_diffusion %}
51 <div class="smooth">{{ soundfile.first_diffusion|date:"d/m/Y" }}</div>
55 {% audio sound=soundfile %}
62 <div class="rightPart">
64 <h5 class="sectionLabel right">
65 <a href="{% url 'listenArchives' %}"><span class="iconLabel">Tous</span></a>
67 <h5 class="sectionLabel">Derniers sons <a
68 class="button icon-rss inBlock" href="{% url 'podcasts-feed' %}"></a></h5>
70 <form action="{% url 'listenArchives' %}" id="search-form">
71 <input id="id_q" name="q" type="text" {% if search_query %}value="{{ search_query }}"{% endif %}>
72 <button class="icon-search"></button>
75 <ul class="custom list soundfilesList">
76 {% for soundfile in soundfiles|slice:":20" %}
78 {% soundfile_resume soundfile=soundfile date=soundfile.first_diffusion %}