1 {% extends "base.html" %}
5 <h2>{{ episode.emission.title }} — {{ episode.title }}</h2>
6 <span class="actions"><a href="../">Retourner à l'émission</a></span>
13 <a class="button" href="edit/">Modifier</a>
14 {% if perms.emissions.add_diffusion %}
15 <a class="button" href="add-diffusion" rel="popup">Ajouter une diffusion</a>
17 <a class="button" href="add-soundfile" rel="popup">Ajouter un son</a>
18 {% if episode.effective_start and episode.effective_end %}
20 <a class="button" id="download-recording" download href="{{ episode.get_pige_download_url }}">Télécharger l'enregistrement</a>
22 {% elif not soundfiles %}
23 {% if episode.effective_start %}
24 <a class="button" id="stop-recording" href="stop">Arrêter l'enregistrement</a>
26 <a class="button" id="start-recording" href="start">Démarrer l'enregistrement</a>
29 <a class="button actually-not-that-friendly" rel="popup" href="delete/">Supprimer</a>
33 {% if episode.subtitle %}
34 <div class="description">
35 {{ episode.subtitle|safe }}
39 {% if episode.image %}
41 <img src="{{ episode.image.url }}"/>
47 {{ episode.text|safe }}
51 {% if episode.tags.all %}
54 {% for tag in episode.tags.all %}
55 <span class="tag">{{ tag }}</span>{% if not forloop.last %}, {% endif %}
64 {% for diffusion in diffusions %}
65 <li>{{ diffusion.datetime }}
67 <a href="diffusion/{{ diffusion.id }}/remove" class="icon-remove-sign" title="Retirer"></a>
75 <table id="soundfiles">
83 {% if can_manage %}<th>Modifier</th>{% endif %}
84 {% if can_manage %}<th>Supprimer</th>{% endif %}
87 {% for soundfile in soundfiles %}
89 <td><a href="{{ soundfile.file.url }}">{{ soundfile|sound_filename }}</a></td>
90 <td>{{ soundfile.title }}</td>
91 <td>{{ soundfile.format }}</td>
92 <td>{{ soundfile.podcastable }}</td>
93 <td>{{ soundfile.fragment }}</td>
94 {% if can_manage %}<td><a href="sounds/{{ soundfile.id }}/"
95 class="icon-edit" title="Modifier"></a></td>{% endif %}
96 {% if can_manage %}<td><a href="sounds/{{ soundfile.id }}/remove"
97 class="icon-remove-sign" title="Retirer"></a></td>{% endif %}
108 $('.image img').click(function() { $(this).toggleClass('large'); });