Commit e59cddaf authored by fred's avatar fred

adapt episode view to have start/stop buttons

parent cb8cc047
......@@ -14,6 +14,17 @@
<a class="big-friendly-button" id="add-diffusion-link" href="#">Ajouter une diffusion</a>
{% endif %}
<a class="big-friendly-button" id="add-soundfile-link" href="#">Ajouter un son</a>
{% if episode.effective_start and episode.effective_end %}
{% if internal_ip %}
<a class="big-friendly-button" id="download-recording" download href="{{ episode.get_pige_download_url }}">Télécharger l'enregistrement</a>
{% endif %}
{% elif not soundfiles %}
{% if episode.effective_start %}
<a class="big-friendly-button" id="stop-recording" href="stop">Arrêter l'enregistrement</a>
{% else %}
<a class="big-friendly-button" id="start-recording" href="start">Démarrer l'enregistrement</a>
{% endif %}
{% endif %}
<a class="big-friendly-button actually-not-that-friendly" href="delete/">Supprimer</a>
</p>
{% endif %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment