From 30f88022acab06313dc0a0af88ae4f9d963c532b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sun, 29 Mar 2020 15:20:49 +0200 Subject: [PATCH] limit possibility to stream to first diffusion --- panikdb/templates/emissions/episode_detail.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %} -- 2.39.2