aboutsummaryrefslogtreecommitdiff
path: root/lib/modules
diff options
context:
space:
mode:
authorRon Lucke <lucke@elan-ev.de>2023-01-06 10:19:34 +0000
committerDavid Siegfried <david.siegfried@uni-vechta.de>2023-01-06 10:19:34 +0000
commitd436a45e1576a0080d8c966529095f8d187a5941 (patch)
treedbef757dded6f78d2ce09638ca464d63213bfa3c /lib/modules
parentb58dc13c73e267b55d15ec6436b0d83e3fff17e0 (diff)
Optimierung der Darstellungsstruktur mehrerer Lernmaterialien in Courseware
Closes #1599 Merge request studip/studip!1201
Diffstat (limited to 'lib/modules')
-rw-r--r--lib/modules/CoursewareModule.class.php38
1 files changed, 14 insertions, 24 deletions
diff --git a/lib/modules/CoursewareModule.class.php b/lib/modules/CoursewareModule.class.php
index e07d5d2..76280e6 100644
--- a/lib/modules/CoursewareModule.class.php
+++ b/lib/modules/CoursewareModule.class.php
@@ -41,31 +41,21 @@ class CoursewareModule extends CorePlugin implements SystemPlugin, StudipModule,
);
$navigation->setImage(Icon::create('courseware', Icon::ROLE_INFO_ALT));
$navigation->addSubNavigation(
- 'content',
- new Navigation(_('Inhalt'), 'dispatch.php/course/courseware/?cid='.$courseId)
+ 'shelf',
+ new Navigation(_('Lernmaterialien'), 'dispatch.php/course/courseware/?cid=' . $courseId)
);
$navigation->addSubNavigation(
- 'dashboard',
- new Navigation(_('Übersicht'), 'dispatch.php/course/courseware/dashboard?cid='.$courseId)
+ 'unit',
+ new Navigation(_('Inhalt'), 'dispatch.php/course/courseware/courseware?cid=' . $courseId)
+ );
+ $navigation->addSubNavigation(
+ 'activities',
+ new Navigation(_('Aktivitäten'), 'dispatch.php/course/courseware/activities?cid=' . $courseId)
+ );
+ $navigation->addSubNavigation(
+ 'tasks',
+ new Navigation(_('Aufgaben'), 'dispatch.php/course/courseware/tasks?cid=' . $courseId)
);
-
- if ($GLOBALS['perm']->have_studip_perm('dozent', $courseId)) {
- $navigation->addSubNavigation(
- 'manager',
- new Navigation(_('Verwaltung'), 'dispatch.php/course/courseware/manager?cid='.$courseId)
- );
- } else {
- $element = StructuralElement::getCoursewareCourse($courseId);
- if ($element !== null) {
- $instance = new Instance($element);
- if ($GLOBALS['perm']->have_studip_perm($instance->getEditingPermissionLevel(), $courseId)) {
- $navigation->addSubNavigation(
- 'manager',
- new Navigation(_('Verwaltung'), 'dispatch.php/course/courseware/manager?cid='.$courseId)
- );
- }
- }
- }
return ['courseware' => $navigation];
}
@@ -129,10 +119,10 @@ class CoursewareModule extends CorePlugin implements SystemPlugin, StudipModule,
{
return [
'summary' => _('Lerninhalte erstellen, verteilen und erleben'),
- 'description' => _('Mit Courseware können Sie interaktive multimediale Lerninhalte erstellen und nutzen. '
+ 'description' => _('Mit Courseware können Sie interaktive, multimediale Lerninhalte erstellen und nutzen. '
. 'Die Lerninhalte lassen sich hierarchisch unterteilen und können aus Texten, '
. 'Videosequenzen, Aufgaben, Kommunikationselementen und einer Vielzahl weiterer '
- . 'Elementen bestehen. Fertige Lerninhalte können exportiert und in andere Kurse oder '
+ . 'Elemente bestehen. Fertige Lerninhalte können exportiert und in andere Kurse oder '
. 'andere Installationen importiert werden. Courseware ist nicht nur für digitale '
. 'Formate geeignet, sondern kann auch genutzt werden, um klassische '
. 'Präsenzveranstaltungen mit Online-Anteilen zu ergänzen. Formate wie integriertes '