diff --git a/public/js/components/Calendar/LvPlan.js b/public/js/components/Calendar/LvPlan.js index 99c7ba8ef..97246a5d4 100644 --- a/public/js/components/Calendar/LvPlan.js +++ b/public/js/components/Calendar/LvPlan.js @@ -194,6 +194,9 @@ export default { v-else :is="renderers[event.type]?.calendarEvent" :event="event" + :timeSlotDisplayBehavior=" + $props.mode.toLowerCase() === 'list' ? 'always' : 'default' + " > diff --git a/public/js/components/Calendar/Widget.js b/public/js/components/Calendar/Widget.js index 54109268e..2266ce422 100644 --- a/public/js/components/Calendar/Widget.js +++ b/public/js/components/Calendar/Widget.js @@ -97,6 +97,7 @@ export default { diff --git a/public/js/components/Cis/LvPlan/StgOrg.js b/public/js/components/Cis/LvPlan/StgOrg.js index 3a42505e9..5b6ddb8e6 100644 --- a/public/js/components/Cis/LvPlan/StgOrg.js +++ b/public/js/components/Cis/LvPlan/StgOrg.js @@ -319,6 +319,10 @@ export default { this.loadListGroup(); } } + + if (this.formData.stgkz) { + this.loadLvPlan(); + } }, template: `
diff --git a/public/js/components/Cis/Profil/MitarbeiterProfil.js b/public/js/components/Cis/Profil/MitarbeiterProfil.js index 58b9bfc09..bccbf4eb5 100644 --- a/public/js/components/Cis/Profil/MitarbeiterProfil.js +++ b/public/js/components/Cis/Profil/MitarbeiterProfil.js @@ -338,8 +338,8 @@ export default {
-
- +
+
+
-
@@ -367,30 +367,42 @@ export default {
+
-
+ +
+
+ +
+
+ +
+
+ +
+
+
-
+
-
+
-
@@ -412,9 +424,9 @@ export default {
+
-
@@ -439,8 +451,8 @@ export default {
+
-
+
-
-
-
- -
-
@@ -485,29 +492,36 @@ export default {
-
-
- - -
-
-
-
- - -
-
-
-
- - -
-
-
+ +
+
+ +
+
+ +
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
diff --git a/public/js/components/Cis/Profil/MitarbeiterViewProfil.js b/public/js/components/Cis/Profil/MitarbeiterViewProfil.js index a1cf77aea..3362b56d7 100644 --- a/public/js/components/Cis/Profil/MitarbeiterViewProfil.js +++ b/public/js/components/Cis/Profil/MitarbeiterViewProfil.js @@ -225,15 +225,6 @@ export default {
- - -
@@ -242,27 +233,33 @@ export default {
+
-
+ +
+
+ +
+
+
-
+
-
@@ -284,15 +281,15 @@ export default {
- -
+ +
+
-
diff --git a/public/js/components/Cis/Profil/Profil.js b/public/js/components/Cis/Profil/Profil.js index cba34951c..ab7eb0f3d 100644 --- a/public/js/components/Cis/Profil/Profil.js +++ b/public/js/components/Cis/Profil/Profil.js @@ -176,6 +176,7 @@ export const Profil = { this.data = data.profil_data.data; this.calendarSyncUrls = data.calendar_sync_urls ?? []; this.authPermissions = data.permissions; + console.log(data.profil_data); }, zustellAdressenCount() { if (!this.data || !this.data.adressen) { diff --git a/public/js/components/Cis/Profil/StudentProfil.js b/public/js/components/Cis/Profil/StudentProfil.js index 9b0367f84..ac4f367b5 100644 --- a/public/js/components/Cis/Profil/StudentProfil.js +++ b/public/js/components/Cis/Profil/StudentProfil.js @@ -292,14 +292,13 @@ export default {
+
-
-
@@ -308,30 +307,42 @@ export default {
+
-
+ +
+
+ +
+
+ +
+
+ +
+
+
-
+
-
+
-
@@ -354,9 +365,9 @@ export default {
+
-
@@ -408,11 +419,6 @@ export default {
-
-
- -
-
@@ -426,9 +432,21 @@ export default {
+ +
+
+ +
+
+ +
+
+ +
+
+
-
@@ -438,18 +456,13 @@ export default {
+
-
-
-
-
- -
-
+
diff --git a/public/js/components/Cis/Profil/StudentViewProfil.js b/public/js/components/Cis/Profil/StudentViewProfil.js index 426bb9df3..cca9b22a5 100644 --- a/public/js/components/Cis/Profil/StudentViewProfil.js +++ b/public/js/components/Cis/Profil/StudentViewProfil.js @@ -121,12 +121,12 @@ export default {
- -
-
- -
-
+ +
+
+ +
+
@@ -155,7 +155,8 @@ export default {
-
+ +
diff --git a/public/js/components/Cis/Renderer/Lehreinheit/calendarEvent.js b/public/js/components/Cis/Renderer/Lehreinheit/calendarEvent.js index fa3ea6618..652b29645 100644 --- a/public/js/components/Cis/Renderer/Lehreinheit/calendarEvent.js +++ b/public/js/components/Cis/Renderer/Lehreinheit/calendarEvent.js @@ -3,6 +3,11 @@ export default { event: { type: Object, required: true + }, + timeSlotDisplayBehavior: { + type: String, + default: "default", + // options: default, always, never } }, computed:{ @@ -50,7 +55,17 @@ export default { return luxon.Duration .fromISOTime(this.event.ende) .toISOTime({ suppressSeconds: true }); - } + }, + timeSlotDisplayClasses() { + switch (this.$props.timeSlotDisplayBehavior) { + case "always": + return "d-grid"; + case "never": + return "d-none"; + default: + return "d-none d-xl-grid"; + } + }, }, template: /*html*/`
{{ start }} {{ end }} diff --git a/public/js/components/Cis/Renderer/Reservierungen/calendarEvent.js b/public/js/components/Cis/Renderer/Reservierungen/calendarEvent.js index 2447c4f61..181ef29bd 100644 --- a/public/js/components/Cis/Renderer/Reservierungen/calendarEvent.js +++ b/public/js/components/Cis/Renderer/Reservierungen/calendarEvent.js @@ -3,6 +3,11 @@ export default { event: { type: Object, required: true + }, + timeSlotDisplayBehavior: { + type: String, + default: "default", + // options: default, always, never } }, computed: { @@ -50,21 +55,33 @@ export default { return luxon.Duration .fromISOTime(this.event.ende) .toISOTime({ suppressSeconds: true }); - } + }, + timeSlotDisplayClasses() { + switch (this.$props.timeSlotDisplayBehavior) { + case "always": + return "d-grid"; + case "never": + return "d-none"; + default: + return "d-none d-xl-grid"; + } + }, }, template: /* html */`
{{ start }} {{ end }}
{{ event.topic }} + {{ event.ort_kurzbz }} ... +{{ event.lektor.length - 3 }} - {{ event.ort_kurzbz }}
`,