{% if soundfiles|integral %}({% trans "scheduled for diffusion" %}){% else %}({% trans "stream scheduled for diffusion" %}){% endif %}
{% if can_manage %}
<a rel="popup" href="{% url 'nonstop-diffusion-properties' pk=diffusion.scheduleddiffusion_set.first.id %}">{% trans "[diffusion options]" %}</a>
- {% if perms.nonstop.add_streameddiffusion and not soundfiles|integral and diffusion.end_datetime|date:"Y-m-d H:i" > s_now %}
+ {% if perms.nonstop.add_scheduleddiffusion and not soundfiles|integral and diffusion.end_datetime|date:"Y-m-d H:i" > s_now %}
<a href="{% url 'nonstop-del-diffusion' pk=diffusion.id %}">{% trans "[remove stream]" %}</a>
{% endif %}
{% endif %}
<a rel="popup" href="{% url 'nonstop-add-diffusion' pk=diffusion.id %}">{% trans "[schedule diffusion]" %}</a>
{% endif %}
- {% if perms.nonstop.add_streameddiffusion and diffusion.end_datetime|date:"Y-m-d H:i" > s_now %}
+ {% if perms.nonstop.add_scheduleddiffusion and diffusion.end_datetime|date:"Y-m-d H:i" > s_now %}
{% if forloop.first and not soundfiles|integral %}
<a rel="popup" href="{% url 'nonstop-add-diffusion' pk=diffusion.id %}">{% trans "[schedule a stream]" %}</a>
{% endif %}