Skip to content
Snippets Groups Projects
Commit 39433131 authored by Dong Zhuang's avatar Dong Zhuang
Browse files

Added shortcut for relate-edit_calendar

parent ffb22f25
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -125,9 +125,10 @@
{% if pperm.edit_events %}
<li role="presentation" class="divider"></li>
<li role="presentation" class="dropdown-header">{% trans "Calendar" %}</li>
{% if user.is_staff %}
<li><a href="{% url "admin:course_event_changelist" %}?course__id__exact={{ course.id }}" target="_blank">{% trans "Edit events" %}</a></li>
{% if user.is_superuser %}
<li><a href="{% url "admin:course_event_changelist" %}?course__id__exact={{ course.id }}" target="_blank">{% trans "Edit events (admin)" %}</a></li>
{% endif %}
<li><a href="{% url "relate-edit_calendar" course.identifier %}">{% trans "Edit events (calendar)" %}</a></li>
<li><a href="{% url "relate-create_recurring_events" course.identifier %}">{% trans "Create recurring events" %}</a></li>
<li><a href="{% url "relate-renumber_events" course.identifier %}">{% trans "Renumber events" %}</a></li>
{% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment