forked from rc/aircox
aircox/views/episode: redirect to edit view when adding an episode
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
|
||||
{% block page-form-actions %}
|
||||
<a class="button secondary withmargin" href="{% url 'episode-list' parent_slug=object.slug %}">{% trans "Episodes" %}</a>
|
||||
<a class="button secondary withmargin" href="{% url 'program-add-episode' object.pk %}">{% trans "New episode" %}</a>
|
||||
<a class="button secondary withmargin" href="{% url 'program-add-episode' object.pk %}" target="_self">{% trans "New episode" %}</a>
|
||||
{% if object and object.pk and request.user.is_superuser %}
|
||||
<button type="button"
|
||||
class="button secondary withmargin"
|
||||
|
Reference in New Issue
Block a user