]> git.0d.be Git - panikdb.git/commitdiff
don't require add_track to schedule a diffusion
authorFrédéric Péters <fpeters@0d.be>
Wed, 22 Jul 2020 17:31:03 +0000 (19:31 +0200)
committerFrédéric Péters <fpeters@0d.be>
Wed, 22 Jul 2020 17:31:03 +0000 (19:31 +0200)
panikdb/templates/emissions/episode_detail.html

index 425a95c3c220e5029f42474d82583c44b8e044c1..0272bc8fd097802cceabc1c3436d0f4bed61c3dd 100644 (file)
@@ -85,7 +85,7 @@ Tags :
   {% if user.is_staff %}<a href="diffusion/{{ diffusion.id }}/remove" class="icon-remove-sign" title="Retirer"></a>{% endif %}
 {% elif can_manage %}
   {% if has_soma and diffusion.datetime|date:"Y-m-d H:i" > s_now %}
-    {% if soundfiles|integral and perms.nonstop.add_track %}
+    {% if soundfiles|integral %}
     <a rel="popup" href="{% url 'nonstop-add-diffusion' pk=diffusion.id %}">[programmer la diffusion]</a>
     {% elif forloop.first and not soundfiles|integral and perms.nonstop.add_streameddiffusion %}
     <a rel="popup" href="{% url 'nonstop-add-diffusion' pk=diffusion.id %}">[programmer un stream]</a>