Merge branch 'feature-76385/mobile-optimization-lv-plan' into cis40_2026-02_rc

This commit is contained in:
Harald Bamberger
2026-04-23 16:33:24 +02:00
12 changed files with 363 additions and 138 deletions
@@ -48,6 +48,7 @@ class LvPlan extends FHCAPI_Controller
'getStudiengaenge' => self::PERM_LOGGED,
'getLehrverband' => self::PERM_LOGGED,
'permissionOtherLvPlan' => self::PERM_LOGGED,
'compactibleEventTypes' => self::PERM_LOGGED,
]);
$this->load->library('LogLib');
@@ -393,6 +394,16 @@ class LvPlan extends FHCAPI_Controller
$this->terminateWithSuccess($this->permissionlib->isBerechtigt('basis/other_lv_plan'));
}
/**
* get event types which can be compacted in lv plan display
*
* @return void
*/
public function compactibleEventTypes()
{
$this->terminateWithSuccess(["lehreinheit", "reservierung"]);
}
/**
* fetch moodle events
*