Skip to content
Snippets Groups Projects
Commit a8c752ac authored by André Noack's avatar André Noack
Browse files

fix responsive nav re #3344

parent 3d3eaee5
No related branches found
No related tags found
No related merge requests found
...@@ -112,7 +112,7 @@ class GradebookModule extends CorePlugin implements SystemPlugin, StudipModule ...@@ -112,7 +112,7 @@ class GradebookModule extends CorePlugin implements SystemPlugin, StudipModule
'custom_definitions', 'custom_definitions',
new Navigation(_('Noten manuell erfassen'), 'dispatch.php/course/gradebook/lecturers/custom_definitions') new Navigation(_('Noten manuell erfassen'), 'dispatch.php/course/gradebook/lecturers/custom_definitions')
); );
if (Config::get()->ILIAS_INTERFACE_ENABLE && $cid && Course::findCurrent()->isToolActive('IliasInterfaceModule')) { if (Config::get()->ILIAS_INTERFACE_ENABLE && Course::find($cid)->isToolActive('IliasInterfaceModule')) {
$navigation->addSubNavigation( $navigation->addSubNavigation(
'edit_ilias_definitions', 'edit_ilias_definitions',
new Navigation(_('ILIAS-Test als Leistung definieren'), 'dispatch.php/course/gradebook/lecturers/edit_ilias_definitions') new Navigation(_('ILIAS-Test als Leistung definieren'), 'dispatch.php/course/gradebook/lecturers/edit_ilias_definitions')
......
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