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">
13 <div class="leftPart">
14 <div class="soundfiles">
15 <h5 class="sectionLabel">Focus</h5>
18 Émissions et fragments sonores à (ré-)écouter, à partager et à télécharger.
19 Entretien, magazine, interview, pièce sonore, reportage, toutes les formes sont
23 <ul class="custom columns cf padded">
24 {% for soundfile in focus %}
25 <li class="soundfile frontpage">
26 <div class="content content-inline cf special">
27 <a class="block cf" href="{% url 'episode-view' emission_slug=soundfile.episode.emission.slug slug=soundfile.episode.slug %}">
28 <div class="label labels absolute">
29 <span class="item inBlock">{{ soundfile.format.title }}</span>
32 {% if soundfile.episode.image %}
33 <img class="normal" src="{{ soundfile.episode.image|thumbnail:'480x320' }}"/>
34 {% elif soundfile.episode.emission.image %}
35 <img class="normal" src="{{ soundfile.episode.emission.image|thumbnail:'480x320' }}"/>
37 <img class="normal" src="{% static "img/sound.png" %}"/>
41 {% if soundfile.fragment and soundfile.title %}
42 <h5 class="title">{{ soundfile.title }}</h5>
44 <h5 class="title">{{ soundfile.episode.title }}</h5>
45 <h5 class="title">{{ soundfile.episode.emission.title }}</h5>
46 <div class="description">
47 {{ soundfile.episode.text|safe|striptags|truncatewords:75}}
49 {% if soundfile.first_diffusion %}
50 <div class="smooth">{{ soundfile.first_diffusion|date:"d/m/Y" }}</div>
54 {% audio sound=soundfile %}
61 <div class="rightPart">
63 <h5 class="sectionLabel right">
64 <a href="{% url 'listenArchives' %}"><span class="iconLabel">Tous</span></a>
66 <h5 class="sectionLabel">Derniers sons <a
67 class="button icon-rss inBlock" href="{% url 'podcasts-feed' %}"></a></h5>
69 <form action="{% url 'listenArchives' %}" id="search-form">
70 <input id="id_q" name="q" type="text" {% if search_query %}value="{{ search_query }}"{% endif %}>
71 <button class="icon-search"></button>
74 <ul class="custom list soundfilesList">
75 {% for soundfile in soundfiles|slice:":20" %}
77 {% soundfile_resume soundfile=soundfile date=soundfile.first_diffusion %}