diff --git a/application/views/Cis/MyLv.php b/application/views/Cis/MyLv.php index 347a66cb7..d8d5026a1 100644 --- a/application/views/Cis/MyLv.php +++ b/application/views/Cis/MyLv.php @@ -9,8 +9,6 @@ $this->load->view('templates/CISVUE-Header', $includesArray); ?>
-

MyLv

-
diff --git a/public/js/apps/Cis/LvInfo.js b/public/js/apps/Cis/LvInfo.js index 3ec63414c..1764cf097 100644 --- a/public/js/apps/Cis/LvInfo.js +++ b/public/js/apps/Cis/LvInfo.js @@ -1,8 +1,13 @@ import Info from "../../components/Cis/Mylv/Semester/Studiengang/Lv/Info.js"; import Phrasen from "../../plugin/Phrasen.js"; +import {setScrollbarWidth} from "../../helpers/CssVarCalcHelpers"; -Vue.createApp({ +const app = Vue.createApp({ components: { Info } -}).use(Phrasen, { reload: true }).mount('#content'); \ No newline at end of file +}) + +setScrollbarWidth(); + +app.use(Phrasen, { reload: true }).mount('#content'); \ No newline at end of file diff --git a/public/js/apps/Cis/MyLv/Student.js b/public/js/apps/Cis/MyLv/Student.js index 095a3f780..4d7049096 100644 --- a/public/js/apps/Cis/MyLv/Student.js +++ b/public/js/apps/Cis/MyLv/Student.js @@ -1,9 +1,14 @@ import MylvStudent from "../../../components/Cis/Mylv/Student.js"; import Phrasen from "../../../plugin/Phrasen.js"; +import {setScrollbarWidth} from "../../../helpers/CssVarCalcHelpers"; -Vue.createApp({ +const app = Vue.createApp({ name: 'MyLvStudentApp', components: { MylvStudent } -}).use(Phrasen, {reload: true}).mount('#content'); \ No newline at end of file +}) + +setScrollbarWidth(); + +app.use(Phrasen, {reload: true}).mount('#content'); \ No newline at end of file diff --git a/public/js/apps/Cis/RoomInformation.js b/public/js/apps/Cis/RoomInformation.js index 21256ecca..8f9ad2583 100644 --- a/public/js/apps/Cis/RoomInformation.js +++ b/public/js/apps/Cis/RoomInformation.js @@ -1,5 +1,6 @@ import Phrasen from "../../plugin/Phrasen.js"; import RoomInformation from "../../components/Cis/Mylv/RoomInformation.js"; +import {setScrollbarWidth} from "../../helpers/CssVarCalcHelpers"; const app = Vue.createApp({ name: 'RoomInformationApp', @@ -11,6 +12,9 @@ const app = Vue.createApp({ } } }); + +setScrollbarWidth(); + app.config.unwrapInjectedRef = true; app.use(Phrasen); app.mount('#content'); \ No newline at end of file diff --git a/public/js/apps/Cis/Stundenplan.js b/public/js/apps/Cis/Stundenplan.js index acc41baad..7405bf98d 100644 --- a/public/js/apps/Cis/Stundenplan.js +++ b/public/js/apps/Cis/Stundenplan.js @@ -107,9 +107,8 @@ const app = Vue.createApp({ this.loadEvents(); this.getLvID(); }, - //TODO: Stundenplan phrase template:/*html*/` -

Stundenplan

+

{{$p.t('lehre/stundenplan')}}


diff --git a/public/js/components/Cis/Mylv/Student.js b/public/js/components/Cis/Mylv/Student.js index ffe5c05cf..068f0f84d 100644 --- a/public/js/components/Cis/Mylv/Student.js +++ b/public/js/components/Cis/Mylv/Student.js @@ -90,10 +90,13 @@ export default { }); }, template: ` + +

{{p.t('lehre/myLV')}}

+
- +
diff --git a/system/phrasesupdate.php b/system/phrasesupdate.php index ade9a2593..c5ec942e2 100644 --- a/system/phrasesupdate.php +++ b/system/phrasesupdate.php @@ -37156,6 +37156,26 @@ array( 'insertvon' => 'system' ) ) + ), + array( + 'app' => 'core', + 'category' => 'lehre', + 'phrase' => 'myLV', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => "Meine Lehrveranstaltungen", + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => "My Courses", + 'description' => '', + 'insertvon' => 'system' + ) + ) ) // CIS4 phrases from legacy code end );