diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2022-08-31 07:12:28 +0000 |
|---|---|---|
| committer | David Siegfried <david.siegfried@uni-vechta.de> | 2022-08-31 07:12:28 +0000 |
| commit | e67b28357ce04e1c2af8cf8a07d66159e44ba73a (patch) | |
| tree | 3d78a85e5a3647b19f59d2290d15f321d30cfdaa /lib/modules/CoreOverview.class.php | |
| parent | ec07c50364a509345c17ab9f18b3bffe3bec94a7 (diff) | |
transfer CourseHistory plugin into main, fixes #1497
Closes #1497
Merge request studip/studip!936
Diffstat (limited to 'lib/modules/CoreOverview.class.php')
| -rw-r--r-- | lib/modules/CoreOverview.class.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/modules/CoreOverview.class.php b/lib/modules/CoreOverview.class.php index 39145ae..fff3050 100644 --- a/lib/modules/CoreOverview.class.php +++ b/lib/modules/CoreOverview.class.php @@ -100,6 +100,9 @@ class CoreOverview extends CorePlugin implements StudipModule if (!$sem_class['studygroup_mode']) { $navigation->addSubNavigation('details', new Navigation(_('Details'), 'dispatch.php/course/details/')); } + if ($GLOBALS['perm']->have_studip_perm('admin', $course_id)) { + $navigation->addSubNavigation('history', new Navigation(_('Änderungsverlauf'), 'dispatch.php/course/history')); + } } return ['main' => $navigation]; } |
