]> git.0d.be Git - panikdb.git/commitdiff
templates: update for unified soma scheduling
authorFrédéric Péters <fpeters@0d.be>
Sat, 16 May 2020 09:02:47 +0000 (11:02 +0200)
committerFrédéric Péters <fpeters@0d.be>
Sat, 16 May 2020 09:02:47 +0000 (11:02 +0200)
panikdb/templates/emissions/episode_detail.html

index cdd48cae02a102f22d24da9967155de312c9606d..66e4a18027af4c274beac7b0cbe0e1368afb4bc3 100644 (file)
@@ -73,7 +73,7 @@ Tags :
   {% else %}
     (stream programmé dans soma)
     {% if can_manage and perms.nonstop.add_streameddiffusion and diffusion.end_datetime|date:"Y-m-d H:i" > s_now %}
   {% else %}
     (stream programmé dans soma)
     {% if can_manage and perms.nonstop.add_streameddiffusion and diffusion.end_datetime|date:"Y-m-d H:i" > s_now %}
-    <a href="{% url 'nonstop-del-streamed-diffusion' pk=diffusion.id %}">[supprimer stream dans soma]</a>
+    <a href="{% url 'nonstop-del-diffusion' pk=diffusion.id %}">[supprimer stream dans soma]</a>
     {% endif %}
   {% endif %}
   {# removal limited to staff as this will not remove from soma #}
     {% endif %}
   {% endif %}
   {# removal limited to staff as this will not remove from soma #}
@@ -83,7 +83,7 @@ Tags :
     {% if soundfiles|integral and perms.nonstop.add_track %}
     <a rel="popup" href="{% url 'nonstop-add-diffusion' pk=diffusion.id %}">[programmer dans soma]</a>
     {% elif forloop.first and not soundfiles|integral and perms.nonstop.add_streameddiffusion %}
     {% if soundfiles|integral and perms.nonstop.add_track %}
     <a rel="popup" href="{% url 'nonstop-add-diffusion' pk=diffusion.id %}">[programmer dans soma]</a>
     {% elif forloop.first and not soundfiles|integral and perms.nonstop.add_streameddiffusion %}
-    <a rel="popup" href="{% url 'nonstop-add-streamed-diffusion' pk=diffusion.id %}">[programmer stream dans soma]</a>
+    <a rel="popup" href="{% url 'nonstop-add-diffusion' pk=diffusion.id %}">[programmer stream dans soma]</a>
     {% endif %}
   {% endif %}
   <a href="diffusion/{{ diffusion.id }}/remove" class="icon-remove-sign" title="Retirer"></a>
     {% endif %}
   {% endif %}
   <a href="diffusion/{{ diffusion.id }}/remove" class="icon-remove-sign" title="Retirer"></a>