forked from rc/aircox
templates/program_form: add a link to program episodes
This commit is contained in:
@ -7,7 +7,9 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block page-form-actions %}
|
{% 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 %}
|
{% if object and object.pk and request.user.is_superuser %}
|
||||||
|
|
||||||
<button type="button"
|
<button type="button"
|
||||||
class="button secondary"
|
class="button secondary"
|
||||||
@click="$refs['group-users-modal'].open({id: {{ object.editors_group_id }}, name: '{{ object.editors_group.name }}' })">{% translate "Editors" %}</button>
|
@click="$refs['group-users-modal'].open({id: {{ object.editors_group_id }}, name: '{{ object.editors_group.name }}' })">{% translate "Editors" %}</button>
|
||||||
|
Reference in New Issue
Block a user