misc: enable adding new episodes

This commit is contained in:
2024-11-07 08:09:13 +01:00
parent 2a594821bb
commit fe424e9d9d
3 changed files with 14 additions and 0 deletions

View File

@ -8,6 +8,8 @@
{% block page-form-actions %}
<a class="button secondary" href="{% url 'episode-list' parent_slug=object.slug %}">{% trans "Episodes" %}</a>
&nbsp;
<a class="button secondary" href="{% url 'program-add-episode' object.pk %}">{% trans "New episode" %}</a>
{% if object and object.pk and request.user.is_superuser %}
&nbsp;
<button type="button"