diff --git a/application/views/lehre/Antrag/Create.php b/application/views/lehre/Antrag/Create.php index 00e41d1cd..36a39078f 100644 --- a/application/views/lehre/Antrag/Create.php +++ b/application/views/lehre/Antrag/Create.php @@ -8,7 +8,7 @@ $sitesettings = array( 'fontawesome6' => true, 'phrases' => array( ), - 'customJSModules' => array('public/js/apps/lehre/Antrag.js'), + 'fhcApps' => array('lehre/Antrag'), 'customCSSs' => array( 'public/css/Fhc.css', 'public/css/components/primevue.css', diff --git a/application/views/lehre/Antrag/Leitung/List.php b/application/views/lehre/Antrag/Leitung/List.php index 1225b16b6..b1ba44a4c 100644 --- a/application/views/lehre/Antrag/Leitung/List.php +++ b/application/views/lehre/Antrag/Leitung/List.php @@ -18,7 +18,7 @@ $sitesettings = array( 'lehre', 'person', ), - 'customJSModules' => array('public/js/apps/lehre/Antrag/Leitung.js'), + 'fhcApps' => array('lehre/Antrag/Leitung'), 'customCSSs' => array( 'public/css/Fhc.css', 'public/css/components/primevue.css', diff --git a/application/views/lehre/Antrag/Student/List.php b/application/views/lehre/Antrag/Student/List.php index 6d769dafe..9454e2006 100644 --- a/application/views/lehre/Antrag/Student/List.php +++ b/application/views/lehre/Antrag/Student/List.php @@ -8,7 +8,7 @@ $sitesettings = array( 'fontawesome6' => true, 'phrases' => array( ), - 'customJSModules' => array('public/js/apps/lehre/Antrag/Student.js'), + 'fhcApps' => array('lehre/Antrag/Student'), 'customCSSs' => array( 'public/css/Fhc.css', 'public/css/components/primevue.css', diff --git a/application/views/lehre/Antrag/Wiederholung/Student.php b/application/views/lehre/Antrag/Wiederholung/Student.php index e51cfd1bc..73405fc0a 100644 --- a/application/views/lehre/Antrag/Wiederholung/Student.php +++ b/application/views/lehre/Antrag/Wiederholung/Student.php @@ -12,7 +12,7 @@ $sitesettings = array( 'lehre', 'global' ), - 'customJSModules' => array('public/js/apps/lehre/Antrag/Lvzuweisung.js'), + 'fhcApps' => array('lehre/Antrag/Lvzuweisung'), 'customCSSs' => array( 'public/css/Fhc.css', 'public/css/components/primevue.css', diff --git a/public/js/apps/lehre/Antrag.js b/public/js/apps/lehre/Antrag.js index 97b4bda97..afdfe48ab 100644 --- a/public/js/apps/lehre/Antrag.js +++ b/public/js/apps/lehre/Antrag.js @@ -20,6 +20,9 @@ const app = Vue.createApp({ }; } }); + +FhcApps.makeExtendable(app); + app .use(PluginsPhrasen) .mount('#wrapper'); \ No newline at end of file diff --git a/public/js/apps/lehre/Antrag/Leitung.js b/public/js/apps/lehre/Antrag/Leitung.js index 8fd8b117e..c8169629a 100644 --- a/public/js/apps/lehre/Antrag/Leitung.js +++ b/public/js/apps/lehre/Antrag/Leitung.js @@ -7,6 +7,9 @@ const app = Vue.createApp({ StudierendenantragLeitung } }); + +FhcApps.makeExtendable(app); + app .use(PluginsPhrasen) .use(primevue.config.default,{zIndex: {overlay: 9999}}) diff --git a/public/js/apps/lehre/Antrag/Lvzuweisung.js b/public/js/apps/lehre/Antrag/Lvzuweisung.js index 7504e7dcf..f85a52f62 100644 --- a/public/js/apps/lehre/Antrag/Lvzuweisung.js +++ b/public/js/apps/lehre/Antrag/Lvzuweisung.js @@ -12,6 +12,9 @@ const app = Vue.createApp({ } } }); + +FhcApps.makeExtendable(app); + app .use(PluginsPhrasen) .mount('#wrapper'); \ No newline at end of file diff --git a/public/js/apps/lehre/Antrag/Student.js b/public/js/apps/lehre/Antrag/Student.js index 46150c541..7d40f4339 100644 --- a/public/js/apps/lehre/Antrag/Student.js +++ b/public/js/apps/lehre/Antrag/Student.js @@ -7,6 +7,9 @@ const app = Vue.createApp({ LvPopup } }); + +FhcApps.makeExtendable(app); + app .use(PluginsPhrasen) .mount('#wrapper'); \ No newline at end of file