only adds the Events file from addons which are actually active and refactors the Lv Information into its own component

This commit is contained in:
SimonGschnell
2024-10-28 14:15:45 +01:00
parent b801401d2b
commit fbf0417269
5 changed files with 66 additions and 61 deletions
+7 -1
View File
@@ -13,7 +13,8 @@ class MyLv extends Auth_Controller
public function __construct()
{
parent::__construct([
'index' => ['student/anrechnung_beantragen:r','user:r'] // TODO(chris): permissions?
'index' => ['student/anrechnung_beantragen:r','user:r'], // TODO(chris): permissions?
'Info' => ['student/anrechnung_beantragen:r','user:r'] // TODO(chris): permissions?
]);
}
@@ -27,4 +28,9 @@ class MyLv extends Auth_Controller
{
$this->load->view('Cis/MyLv');
}
public function Info($studien_semester,$lvid)
{
$this->load->view('Cis/LvInfo',['lvid'=> $lvid, 'studien_semester' => $studien_semester]);
}
}