templates/program_form: add a link to program episodes

This commit is contained in:
2024-11-07 07:23:29 +01:00
parent 7369d2d8d3
commit cd67b0ac6f

View File

@ -7,7 +7,9 @@
{% endblock %}
{% block page-form-actions %}
<a class="button secondary" href="{% url 'episode-list' parent_slug=object.slug %}">{% trans "Episodes" %}</a>
{% if object and object.pk and request.user.is_superuser %}
&nbsp;
<button type="button"
class="button secondary"
@click="$refs['group-users-modal'].open({id: {{ object.editors_group_id }}, name: '{{ object.editors_group.name }}' })">{% translate "Editors" %}</button>