missing phrasen

This commit is contained in:
Johann Hoffmann
2024-11-21 15:21:33 +01:00
parent 8eb7d18ff9
commit d400f34e0f
7 changed files with 43 additions and 9 deletions
-2
View File
@@ -9,8 +9,6 @@ $this->load->view('templates/CISVUE-Header', $includesArray);
?>
<div id="content">
<h2>MyLv</h2>
<hr>
<mylv-student></mylv-student>
</div>
+7 -2
View File
@@ -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');
})
setScrollbarWidth();
app.use(Phrasen, { reload: true }).mount('#content');
+7 -2
View File
@@ -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');
})
setScrollbarWidth();
app.use(Phrasen, {reload: true}).mount('#content');
+4
View File
@@ -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');
+1 -2
View File
@@ -107,9 +107,8 @@ const app = Vue.createApp({
this.loadEvents();
this.getLvID();
},
//TODO: Stundenplan phrase
template:/*html*/`
<h2>Stundenplan</h2>
<h2>{{$p.t('lehre/stundenplan')}}</h2>
<hr>
<lv-modal v-if="currentlySelectedEvent" :event="currentlySelectedEvent" ref="lvmodal" />
<fhc-calendar :initial-date="currentDay" @change:range="updateRange" :events="events" initial-mode="week" show-weeks @select:day="selectDay" v-model:minimized="minimized">
+4 -1
View File
@@ -90,10 +90,13 @@ export default {
});
},
template: `
<h2>{{p.t('lehre/myLV')}}</h2>
<hr>
<div class="mylv-student" v-if="ready">
<div v-if="currentSemester" class="row justify-content-center mb-3">
<div class="col-auto d-none">
<label class="col-form-label">{{p.t('lehre/studiensemester')}}</label>
<label class="col-form-label">{{$p.t('lehre/studiensemester')}}</label>
</div>
<div class="col-auto">
<div class="input-group">
+20
View File
@@ -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
);