From 3943313178cb3168aba94a1993b10e86b5b96e45 Mon Sep 17 00:00:00 2001 From: dzhuang Date: Thu, 14 Sep 2017 10:16:58 +0800 Subject: [PATCH] Added shortcut for relate-edit_calendar --- course/templates/course/course-base.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/course/templates/course/course-base.html b/course/templates/course/course-base.html index 429ae881..894dd906 100644 --- a/course/templates/course/course-base.html +++ b/course/templates/course/course-base.html @@ -125,9 +125,10 @@ {% if pperm.edit_events %} - {% if user.is_staff %} -
  • {% trans "Edit events" %}
  • + {% if user.is_superuser %} +
  • {% trans "Edit events (admin)" %}
  • {% endif %} +
  • {% trans "Edit events (calendar)" %}
  • {% trans "Create recurring events" %}
  • {% trans "Renumber events" %}
  • {% endif %} -- GitLab