From 4a20d8b28d6f24f604634f75f95b19dff33f8e0a Mon Sep 17 00:00:00 2001 From: Christian Hofmaier Date: Tue, 2 Jan 2018 16:37:40 +0100 Subject: [exams] reworked permission system from "click and you get error" to "button is disabled due to lack of permission". you now can only add/delete/edit based on locations you have permission for. you need permission for all locations of an exam to edit/delete it, but you can see it if you have at least permission for one of the locations. --- modules-available/exams/templates/page-exams.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'modules-available/exams/templates/page-exams.html') diff --git a/modules-available/exams/templates/page-exams.html b/modules-available/exams/templates/page-exams.html index 29b8c319..bb6cbd0a 100644 --- a/modules-available/exams/templates/page-exams.html +++ b/modules-available/exams/templates/page-exams.html @@ -43,10 +43,9 @@ {{^liesInPast}} {{/liesInPast}} - {{lang_edit}} - + - + @@ -56,7 +55,7 @@
- {{lang_addExam}} + {{lang_addExam}}
-- cgit v1.2.3-55-g7522