From: Frédéric Péters Date: Sun, 29 Mar 2020 13:20:49 +0000 (+0200) Subject: limit possibility to stream to first diffusion X-Git-Tag: v2021~244 X-Git-Url: https://git.0d.be/?p=panikdb.git;a=commitdiff_plain;h=30f88022acab06313dc0a0af88ae4f9d963c532b limit possibility to stream to first diffusion --- diff --git a/panikdb/templates/emissions/episode_detail.html b/panikdb/templates/emissions/episode_detail.html index a19a872..cdd48ca 100644 --- a/panikdb/templates/emissions/episode_detail.html +++ b/panikdb/templates/emissions/episode_detail.html @@ -82,7 +82,7 @@ Tags : {% if has_soma and diffusion.datetime|date:"Y-m-d H:i" > s_now %} {% if soundfiles|integral and perms.nonstop.add_track %} [programmer dans soma] - {% elif not soundfiles|integral and perms.nonstop.add_streameddiffusion %} + {% elif forloop.first and not soundfiles|integral and perms.nonstop.add_streameddiffusion %} [programmer stream dans soma] {% endif %} {% endif %}