adding phrases for Profil and ProfilUpdate

This commit is contained in:
SimonGschnell
2024-04-04 15:02:47 +02:00
parent a2d71d3a8d
commit c1cb2904e6
19 changed files with 767 additions and 253 deletions
+2
View File
@@ -4,6 +4,7 @@ import ViewStudentProfil from "../../components/Cis/Profil/StudentViewProfil.js"
import ViewMitarbeiterProfil from "../../components/Cis/Profil/MitarbeiterViewProfil.js";
import fhcapifactory from "../api/fhcapifactory.js";
import Loading from "../../components/Loader.js";
import Phrasen from "../../plugin/Phrasen.js";
Vue.$fhcapi = fhcapifactory;
Vue.$collapseFormatter = function (data) {
@@ -367,4 +368,5 @@ const profilApp = Vue.createApp({
});
profilApp.use(primevue.config.default, { zIndex: { overlay: 9999 } });
profilApp.use(Phrasen);
profilApp.mount("#content");
@@ -234,7 +234,7 @@ export default {
template: /*html*/ `
<div class="container-fluid text-break fhc-form" >
<edit-profil v-if="showModal" ref="editModal" @hideBsModal="hideEditProfilModal" :value="JSON.parse(JSON.stringify(editData))" title="Profil bearbeiten"></edit-profil>
<edit-profil v-if="showModal" ref="editModal" @hideBsModal="hideEditProfilModal" :value="JSON.parse(JSON.stringify(editData))" title="$p.t('profil','profilBearbeiten')"></edit-profil>
<div class="row">
<div class="d-md-none col-12 ">
@@ -255,7 +255,7 @@ export default {
<div class="col-auto">
<i class="fa fa-edit"></i>
</div>
<div class="col-auto">Bearbeiten</div>
<div class="col-auto">{{$p.t('ui','bearbeiten')}}</div>
</div>
</button>
</div>
@@ -289,7 +289,7 @@ export default {
<div class="col">
<!-- PROFIL INFORMATION -->
<profil-information title="MitarbeiterIn" :data="profilInformation"></profil-information>
<profil-information title="$p.t('profil','mitarbeiterIn')" :data="profilInformation"></profil-information>
</div>
@@ -300,7 +300,7 @@ export default {
<div class=" col-lg-12">
<!-- MITARBEITER INFO -->
<role-information title="Mitarbeiter Information" :data="roleInformation"></role-information>
<role-information title="$p.t('profil','mitarbeiterInformation')" :data="roleInformation"></role-information>
</div>
@@ -328,7 +328,7 @@ export default {
<div class="card">
<div class="card-header">
Private Kontakte
{{$p.t('profil','privateKontakte')}}
</div>
<div class="card-body ">
@@ -351,7 +351,7 @@ export default {
<!-- PRIVATE ADRESSEN-->
<div class="card">
<div class="card-header">Private Adressen</div>
<div class="card-header">{{$p.t('profil','privateAdressen')}}</div>
<div class="card-body">
<div class="gy-3 row ">
@@ -377,14 +377,14 @@ export default {
<!-- FUNKTIONEN TABELLE -->
<core-filter-cmpt title="Funktionen" ref="funktionenTable" :tabulator-options="funktionen_table_options" tableOnly :sideMenu="false" />
<core-filter-cmpt title="$p.t('person','funktionen')" ref="funktionenTable" :tabulator-options="funktionen_table_options" tableOnly :sideMenu="false" />
</div>
<div class="col-12 mb-4" >
<!-- BETRIEBSMITTEL TABELLE -->
<core-filter-cmpt title="Entlehnte Betriebsmittel" ref="betriebsmittelTable" :tabulator-options="betriebsmittel_table_options" tableOnly :sideMenu="false" />
<core-filter-cmpt title="$p.t('profil','entlehnteBetriebsmittel')" ref="betriebsmittelTable" :tabulator-options="betriebsmittel_table_options" tableOnly :sideMenu="false" />
</div>
</div>
@@ -418,7 +418,7 @@ export default {
<div class="col-auto">
<i class="fa fa-edit"></i>
</div>
<div class="col-auto">Bearbeiten</div>
<div class="col-auto">{{$p.t('ui','bearbeiten')}}</div>
</div>
</button>
</div>
@@ -145,7 +145,7 @@ export default {
},
template: `
template: /*html*/`
<div class="container-fluid text-break fhc-form" >
<!-- ROW -->
@@ -158,10 +158,6 @@ export default {
</div>
<!-- END OF HIDDEN QUCK LINKS -->
<!-- MAIN PANNEL -->
<div class="col-sm-12 col-md-8 col-xxl-9 ">
<!-- ROW WITH PROFIL IMAGE AND INFORMATION -->
@@ -174,27 +170,13 @@ export default {
<!-- FIRST KAESTCHEN -->
<div class="col-lg-12 col-xl-6 ">
<!-- FIRST KAESTCHEN -->
<div class="col-lg-12 col-xl-6 ">
<div class="row mb-4">
<div class="col">
<!-- Profil Informationen -->
<profil-information title="MitarbeiterIn" :data="profilInformation"></profil-information>
<profil-information title="$p.t('profil','mitarbeiterIn')" :data="profilInformation"></profil-information>
</div>
</div>
@@ -204,11 +186,6 @@ export default {
<!-- START OF SECOND PROFIL INFORMATION COLUMN -->
<!-- END OF PROFIL INFORMATION ROW -->
<!-- INFORMATION CONTENT END -->
</div>
@@ -230,7 +207,7 @@ export default {
<div class=" col-lg-12">
<!-- roleInformation -->
<role-information :data="roleInformation" title="Mitarbeiter Information"></role-information>
<role-information :data="roleInformation" title="$p.t('profil','mitarbeiterInformation')"></role-information>
</div>
@@ -262,7 +239,7 @@ export default {
<!-- FIRST TABLE -->
<div class="col-12 mb-4" >
<core-filter-cmpt title="Funktionen" ref="funktionenTable" :tabulator-options="funktionen_table_options" tableOnly :sideMenu="false" />
<core-filter-cmpt title="$p.t('person','funktionen')" ref="funktionenTable" :tabulator-options="funktionen_table_options" tableOnly :sideMenu="false" />
</div>
@@ -270,18 +247,9 @@ export default {
<!-- END OF THE ROW WITH THE TABLES UNDER THE PROFIL INFORMATION -->
</div>
<!-- END OF MAIN CONTENT COL -->
</div>
<!-- START OF SIDE PANEL -->
<div class="col-md-4 col-xxl-3 col-sm-12 text-break" >
@@ -13,7 +13,7 @@ export default {
created(){
},
template:`
template:/*html*/`
<div class="gy-2 row justify-content-center align-items-center">
@@ -27,7 +27,7 @@ export default {
<div class="col-11 col-sm-8 col-xl-11 col-xxl-8 order-1">
<div class="form-underline ">
<div class="form-underline-titel">Strasse</div>
<div class="form-underline-titel">{{$p.t('person','strasse')}}</div>
<span class="form-underline-content">{{data.strasse}} </span>
</div>
@@ -42,7 +42,7 @@ export default {
<div class="form-underline ">
<div class="form-underline-titel">Typ</div>
<div class="form-underline-titel">{{$p.t('global','typ')}}</div>
<span class="form-underline-content">{{data.typ}} </span>
</div>
@@ -50,20 +50,20 @@ export default {
<div class="offset-1 order-3 order-sm-3 col-11 col-sm-6 col-xl-7 col-xxl-6 ">
<div class="form-underline ">
<div class="form-underline-titel">Ort</div>
<div class="form-underline-titel">{{$p.t('person','ort')}}</div>
<span class="form-underline-content">{{data.ort}} </span>
</div>
</div>
<div class=" offset-1 offset-sm-0 order-4 order-sm-2 order-xl-4 order-xxl-2 col-11 col-sm-3 col-xl-4 col-xxl-3 ">
<div class="form-underline ">
<div class="form-underline-titel">PLZ</div>
<div class="form-underline-titel">{{$p.t('person','plz')}}</div>
<span class="form-underline-content">{{data.plz}} </span>
</div>
</div>
<div v-if="withZustelladresse" class="order-5 offset-1 col-11">
<div class="form-underline ">
<div class="form-underline-titel">Zustelladresse</div>
<div class="form-underline-titel">{{$p.t('person','zustelladresse')}}</div>
<div class="ms-2 form-check ">
<input class="form-check-input" type="checkbox" @click.prevent :checked="data.zustelladresse" >
@@ -16,7 +16,7 @@ export default {
return {
showUpdateModal: false,
content: null,
editProfilTitle: "Profil bearbeiten",
editProfilTitle: this.$p.t('profil','profilBearbeiten'),
};
},
@@ -224,22 +224,22 @@ export default {
computed: {},
template: `
template: /*html*/`
<div class="card " >
<edit-profil v-if="showUpdateModal" ref="updateEditModal" @hideBsModal="hideEditProfilModal" :value="content" :title="editProfilTitle"></edit-profil>
<div class="card-header">
Profil Updates
{{$p.t('profilUpdate','profilUpdates')}}
</div>
<div class="card-body" >
<div class="table-responsive text-nowrap">
<table class="m-0 table table-hover">
<thead >
<tr >
<th scope="col">Topic</th>
<th scope="col">Status</th>
<th scope="col">Date</th>
<th class="text-center" scope="col">Action</th>
<th scope="col">{{$p.t('profilUpdate','topic')}}</th>
<th scope="col">{{$p.t('global','status')}}</th>
<th scope="col">{{$p.t('global','datum')}}</th>
<th class="text-center" scope="col">{{$p.t('ui','aktion')}}</th>
</tr>
</thead>
<tbody>
@@ -9,10 +9,10 @@ export default {
}
},
template: `
template: /*html*/`
<div class="card">
<div class="card-body">
<span>Der FH Ausweis ist am <b>{{data}}</b> ausgegeben worden.</span>
<span>{{$p.t('profil','fhAusweisStatus',data)}}</span>
</div>
</div>`,
}
@@ -11,7 +11,7 @@ export default{
created(){
},
template:`
template:/*html*/`
<div class="gy-2 row align-items-center justify-content-center">
<div class="col-1 text-center" >
@@ -21,20 +21,17 @@ export default{
<!-- rendering KONTAKT emails -->
<div class="form-underline ">
<div class="form-underline-titel">{{data.kontakttyp}}</div>
<a v-if="data.kontakt.includes('@')" role="link" :aria-disabled="view?true:false" :href="!view?('mailto:'+data.kontakt):null" class="form-underline-content">{{data.kontakt}} </a>
<a v-else role="link" :aria-disabled="view?true:false" :href="!view?('tel:'+data.kontakt):null" class="form-underline-content">{{data.kontakt}} </a>
</div>
</div>
<div v-if="data?.anmerkung" class="offset-1 offset-md-0 offset-xl-1 offset-xxl-0 order-2 order-sm-1 col-10 col-md-4 col-xl-9 col-xxl-4 ">
<div class="form-underline ">
<div class="form-underline-titel">Anmerkung</div>
<div class="form-underline-titel">{{$p.t('global','anmerkung')}}</div>
<span class="form-underline-content">{{data.anmerkung}} </span>
</div>
@@ -49,8 +46,5 @@ export default{
</div>
</div>
`,
};
@@ -1,12 +1,12 @@
export default {
props: {
data: Object,
title: { type: String, default: "Mailverteilers" },
title: { type: String, default: this.$p.t('profil','mailverteiler') },
},
data() {
return {};
},
template: `
template: /*html*/`
<div class="card">
<div class="card-header">
@@ -14,7 +14,7 @@ export default {
</div>
<div class="card-body">
<h6 class="card-title">Sie sind Mitglied in folgenden Verteilern:</h6>
<h6 class="card-title">{{$p.t('profil','mailverteilerMitglied')}}</h6>
<div class="card-text row text-break mb-2" v-for="verteiler in data">
<div class="col-12 ">
<div class="row">
@@ -7,7 +7,7 @@ export default {
props:{
title:{
type:String,
default:"Mails",
default:this.$p.t('person','email'),
},
data:{
type:Array,
@@ -21,18 +21,8 @@ export default {
<div class="card-body">
<!-- HIER SIND DIE EMAILS -->
<div class="gy-3 row justify-content-center ">
<div v-for="email in data" class="col-12 ">
@@ -57,15 +57,8 @@ export default {
</div>
<div class="card-body">
<div class="gy-3 row justify-content-center align-items-center">
=
<!-- SQUEEZING THE IMAGE INSIDE THE FIRST INFORMATION COLUMN -->
<!-- START OF THE FIRST ROW WITH THE PROFIL IMAGE -->
<div class="col-12 col-sm-6 mb-2">
@@ -7,7 +7,7 @@ export default{
},
title:{
type:String,
default: "Quick Links",
default: this.$p.t('profil','quickLinks'),
},
mobile:{
type:Boolean,
@@ -28,28 +28,22 @@ export default{
}
},
template:`
template:/*html*/`
<div class="card">
<template v-if="mobile">
<button class="btn btn-outline-primary" data-bs-toggle="collapse" data-bs-target="#quickLinks" :aria-expanded="collapseOpen" aria-controls="quickLinks" >
{{title}}
<i class="fa " :class="collapseOpen?'fa-chevron-up':'fa-chevron-down'"></i>
</button>
<div @[\`show.bs.collapse\`]="collapseOpen=true;" @[\`hide.bs.collapse\`]="collapseOpen=false;" class="mt-1 collapse" id="quickLinks">
<div class="list-group">
<a href="#" class="list-group-item list-group-item-action">Zeitwünsche</a>
<a href="#" class="list-group-item list-group-item-action">Lehrveranstaltungen</a>
<a href="#" class="list-group-item list-group-item-action ">Zeitsperren</a>
<a href="#" class="list-group-item list-group-item-action">{{$p.t('profil','zeitwuensche')}}</a>
<a href="#" class="list-group-item list-group-item-action">{{$p.t('profil','lehrveranstaltungen')}}</a>
<a href="#" class="list-group-item list-group-item-action ">{{$p.t('profil','zeitsperren')}}</a>
</div>
</div>
@@ -63,9 +57,9 @@ export default{
<div class="card-body">
<a style="text-decoration:none" class="my-1 d-block" href="#">Zeitwuensche</a>
<a style="text-decoration:none" class="my-1 d-block" href="#">Lehrveranstaltungen</a>
<a style="text-decoration:none" class="my-1 d-block" href="#">Zeitsperren</a>
<a style="text-decoration:none" class="my-1 d-block" href="#">{{$p.t('profil','zeitwuensche')}}</a>
<a style="text-decoration:none" class="my-1 d-block" href="#">{{$p.t('profil','lehrveranstaltungen')}}</a>
<a style="text-decoration:none" class="my-1 d-block" href="#">{{$p.t('profil','zeitsperren')}}</a>
</div>
@@ -157,7 +157,7 @@ export default {
popup(options) {
return BsModal.popup.bind(this)(null, options);
},
template: `
template: /*html*/`
<bs-modal v-show="!loading" ref="modalContainer" v-bind="$props" body-class="" dialog-class="modal-lg" class="bootstrap-alert" backdrop="false" >
<template v-if="title" v-slot:title>
@@ -179,8 +179,8 @@ export default {
<template v-slot:footer>
<loader ref="loaderRef" :timeout="0"></loader>
<button class="btn btn-outline-danger " @click="hide">Abbrechen</button>
<button :disabled="!profilUpdate" @click="submitProfilChange" role="button" class="btn btn-primary">Senden</button>
<button class="btn btn-outline-danger " @click="hide">{{$p.t('ui','cancel')}}</button>
<button :disabled="!profilUpdate" @click="submitProfilChange" role="button" class="btn btn-primary">{{$p.t('ui','senden')}}</button>
</template>
<!-- end of optional footer -->
</bs-modal>`,
@@ -107,7 +107,7 @@ export default {
<div v-if="showZustellAdressenWarning" class="col-12 ">
<div class="card bg-danger mx-2">
<div class="card-body text-white ">
<span>!Achtung: Eine deiner Adressen ist bereits als Zustelladresse gespeichert, sind sie sicher, dass sie die aktuelle Adresse stattdessen als Zustelladresse speichern wollen?</span>
<span>{{$p.t('profilUpdate','zustelladresseWarning')}}</span>
</div>
</div>
</div>
@@ -120,7 +120,7 @@ export default {
<div class="form-check mb-2">
<input class="form-check-input" type="checkbox" @change="updateValue($event,'zustelladresse')" :checked="data.zustelladresse" id="flexCheckDefault">
<label class="form-check-label" for="flexCheckDefault">
Zustelladresse
{{$p.t('person','zustelladresse')}}
</label>
</div>
@@ -134,7 +134,7 @@ export default {
<div class="col-12 col-sm-9 col-xl-12 col-xxl-9 order-1">
<div class="form-underline ">
<div class="form-underline-titel">Strasse*</div>
<div class="form-underline-titel">{{$p.t('person','strasse')}}*</div>
<input class="form-control" :value="data.strasse" @input="updateValue($event,'strasse')" :placeholder="data.strasse">
</div>
@@ -145,14 +145,14 @@ export default {
<div class=" order-2 order-sm-4 order-xl-3 order-xxl-4 col-12 col-sm-5 col-xl-8 col-xxl-5 ">
<div class="form-underline">
<div class="form-underline-titel">Kontakttyp*</div>
<div class="form-underline-titel">{{$p.t('profilUpdate','kontaktTyp')}}*</div>
<select :value="data.typ" @change="updateValue($event,'typ')" class="form-select" aria-label="Select Kontakttyp">
<option selected></option>
<option value="Nebenwohnsitz">Nebenwohnsitz</option>
<option value="Hauptwohnsitz">Hauptwohnsitz</option>
<option v-if="isMitarbeiter" value="Homeoffice">Homeoffice</option>
<option v-if="isMitarbeiter" value="Rechnungsadresse">Rechnungsadresse</option>
<option value="Nebenwohnsitz">{{$p.t('profilUpdate','nebenwohnsitz')}}</option>
<option value="Hauptwohnsitz">{{$p.t('profilUpdate','hauptwohnsitz')}}</option>
<option v-if="isMitarbeiter" value="Homeoffice">{{$p.t('profilUpdate','homeoffice')}}</option>
<option v-if="isMitarbeiter" value="Rechnungsadresse">{{$p.t('profilUpdate','rechnungsadresse')}}</option>
</select>
</div>
@@ -166,14 +166,14 @@ export default {
<div class="order-3 order-sm-3 order-xl-2 order-xxl-3 col-12 col-sm-7 col-xl-12 col-xxl-7 " >
<div class="form-underline ">
<div class="form-underline-titel">Ort*</div>
<div class="form-underline-titel">{{$p.t('person','ort')}}*</div>
<input class="form-control" :value="data.ort" @input="updateValue($event,'ort')" :placeholder="data.ort">
</div>
</div>
<div class="order-4 order-sm-2 order-xl-4 order-xxl-2 col-12 col-sm-3 col-xl-4 col-xxl-3 ">
<div class="form-underline ">
<div class="form-underline-titel">PLZ*</div>
<div class="form-underline-titel">{{$p.t('person','plz')}}*</div>
<input class="form-control" :value="data.plz" @input="updateValue($event,'plz')" @input="getGemeinde" :placeholder="data.plz">
@@ -182,13 +182,13 @@ export default {
<div class="col-6 order-5">
<div class="form-underline ">
<div class="form-underline-titel">Gemeinde*</div>
<div class="form-underline-titel">{{$p.t('person','gemeinde')}}*</div>
<auto-complete class="w-100" v-model="data.gemeinde" dropdown :forceSelection="data.nation ==='A'?true:false" :suggestions="gemeinden" @complete="autocompleteSearch" ></auto-complete>
</div>
</div>
<div class="col-6 order-5 ">
<div class="form-underline ">
<div class="form-underline-titel">Nation*</div>
<div class="form-underline-titel">{{$p.t('person','nation')}}*</div>
<select :value="data.nation" @change="updateValue($event,'nation')" @change="getGemeinde" class="form-select" aria-label="Select Kontakttyp">
<option selected></option>
<option :value="nation.code" v-for="nation in nationenList">{{nation.langtext}}</option>
@@ -57,7 +57,7 @@ export default {
<div v-if="showZustellKontakteWarning" class="col-12 ">
<div class="card bg-danger mx-2">
<div class="card-body text-white ">
<span>!Achtung: Eine deiner Kontakte ist bereits als Zustellungskontakt gespeichert, sind sie sicher, dass sie den aktuellen Kontakt stattdessen als Zustellkontakt speichern wollen?</span>
<span>{{$p.t('profilUpdate','zustellkontakteWarning')}}</span>
</div>
</div>
</div>
@@ -67,16 +67,16 @@ export default {
<div class="form-underline">
<div class="form-underline-titel">Kontakttyp</div>
<div class="form-underline-titel">{{$p.t('profilUpdate','kontaktTyp')}}</div>
<select :value="data.kontakttyp" @change="updateValue($event,'kontakttyp')" class="form-select" aria-label="Select Kontakttyp">
<option selected></option>
<option value="email">E-mail</option>
<option value="telefon">Telefonnummer</option>
<option value="notfallkontakt">Notfallkontakt</option>
<option value="mobil">Mobiltelefonnummer</option>
<option value="homepage">Homepage</option>
<option value="fax">Faxnummer</option>
<option value="email">{{$p.t('person','email')}}</option>
<option value="telefon">{{$p.t('person','telefon')}}</option>
<option value="notfallkontakt">{{$p.t('profilUpdate','notfallkontakt')}}</option>
<option value="mobil">{{$p.t('profilUpdate','mobiltelefonnummer')}}</option>
<option value="homepage">{{$p.t('profilUpdate','homepage')}}</option>
<option value="fax">{{$p.t('profilUpdate','faxnummer')}}</option>
</select>
</div>
@@ -88,44 +88,26 @@ export default {
<div class="form-underline">
<div class="form-underline-titel">{{data.kontakttyp?data.kontakttyp:'Kontakt'}}</div>
<div class="form-underline-titel">{{data.kontakttyp?data.kontakttyp:$p.t('global','kontakt')}}</div>
<input :disabled="data.kontakttyp?false:true" class="form-control" :value="data.kontakt" @input="updateValue($event,'kontakt')" :placeholder="data.kontakt">
</div>
</div>
<div class="col-12">
<div class="form-underline">
<div class="form-underline-titel">Anmerkung</div>
<div class="form-underline-titel">{{$p.t('global','anmerkung')}}</div>
<input class="form-control" :value="data.anmerkung" @input="updateValue($event,'anmerkung')" :placeholder="data.anmerkung">
</div>
</div>
<div class="d-flex flex-row justify-content-start col-12 allign-middle">
<span style="opacity: 0.65; font-size: .85rem; " class="px-2">Zustellungs Kontakt</span>
<span style="opacity: 0.65; font-size: .85rem; " class="px-2">{{$p.t('profilUpdate','zustellungsKontakt')}}</span>
<input class="form-check-input " type="checkbox" :checked="data.zustellung" @change="updateValue($event,'zustellung')" id="flexCheckDefault">
<input class="form-check-input " type="checkbox" :checked="data.zustellung" @change="updateValue($event,'zustellung')" id="flexCheckDefault">
</div>
</div>
`,
@@ -46,19 +46,19 @@ export default {
this.files = res.data;
})
},
template: `
template: /*html*/`
<div class="row">
<div class="col">
<div class="form-underline mb-2">
<div class="form-underline-titel">Status</div>
<div class="form-underline-titel">{{$p.t('global','status')}}</div>
<span class="form-underline-content">{{status}} </span>
</div>
</div>
<div class="col">
<div class="form-underline mb-2">
<div class="form-underline-titel">Date</div>
<div class="form-underline-titel">{{$p.t('global','datum')}}</div>
<span class="form-underline-content">{{status_timestamp}} </span>
</div>
</div>
@@ -67,7 +67,7 @@ export default {
<div class="row">
<div class="col">
<div v-if="status_message" class="form-underline mb-2 ">
<div class="form-underline-titel">Status message</div>
<div class="form-underline-titel">{{$p.t('profilUpdate','statusMessage')}}</div>
<textarea class="form-control" rows="4" disabled>{{status_message}} </textarea>
</div>
</div>
@@ -92,12 +92,12 @@ export default {
this.dmsData = this.files;
}
},
template: `
template: /*html*/`
<p style="opacity:0.8" class="ms-2" v-if="withFiles && !updateID">Please update your {{data.titel}} and upload the corresponding Document of proof</p>
<p style="opacity:0.8" class="ms-2" v-if="withFiles && !updateID">{{$p.t('profilUpdate','profilUpdateInformationMessage',data.titel)}}</p>
<div class="form-underline">
<div class="form-underline-titel">{{data.titel?data.titel:"titel"}}</div>
<div class="form-underline-titel">{{data.titel?data.titel:$p.t('global','titel')}}</div>
<input class="mb-2 form-control" @input="emitChanges" v-model="data.value" :placeholder="data.value">
@@ -193,7 +193,7 @@ export default {
template:/*html*/ `
<div class="container-fluid text-break fhc-form" >
<edit-profil v-if="showModal" ref="editModal" @hideBsModal="hideEditProfilModal" :value="JSON.parse(JSON.stringify(editData))" title="Profil bearbeiten" ></edit-profil>
<edit-profil v-if="showModal" ref="editModal" @hideBsModal="hideEditProfilModal" :value="JSON.parse(JSON.stringify(editData))" title="$p.t('profil','profilBearbeiten')" ></edit-profil>
<!-- ROW -->
<div class="row">
<!-- HIDDEN QUICK LINKS -->
@@ -215,7 +215,7 @@ export default {
<div class="col-2">
<i class="fa fa-edit"></i>
</div>
<div class="col-10">Bearbeiten</div>
<div class="col-10">{{$p.t('ui','bearbeiten')}}</div>
</div>
</button>
</div>
@@ -245,27 +245,12 @@ export default {
<!-- ROW WITH THE PROFIL INFORMATION -->
<div class="row mb-4 ">
<div class="col-lg-12 col-xl-6 ">
<div class="row mb-4">
<div class="col">
<!-- PROFIL INFORMATION -->
<profil-information title="StudentIn" :data="profilInformation"></profil-information>
<profil-information title="$p.t('profil','studentIn')" :data="profilInformation"></profil-information>
</div>
@@ -276,7 +261,7 @@ export default {
<div class=" col-lg-12">
<!-- MITARBEITER INFO -->
<role-information title="Student Information" :data="roleInformation"></role-information>
<role-information title="$p.t('profil','studentInformation')" :data="roleInformation"></role-information>
</div>
@@ -288,11 +273,6 @@ export default {
</div>
<div class="col-xl-6 col-lg-12 ">
<div class="row mb-4">
<div class="col">
@@ -310,7 +290,7 @@ export default {
<div class="card">
<div class="card-header">
Private Kontakte
{{$p.t('profil','privateKontakte')}}
</div>
<div class="card-body ">
@@ -332,7 +312,7 @@ export default {
<!-- PRIVATE ADRESSEN-->
<div class="card">
<div class="card-header">Private Adressen</div>
<div class="card-header">{{$p.t('profil','privateAdressen')}}</div>
<div class="card-body">
<div class="gy-3 row ">
@@ -356,28 +336,19 @@ export default {
<div class="row">
<div class="col-12 mb-4" >
<core-filter-cmpt title="Entlehnte Betriebsmittel" ref="betriebsmittelTable" :tabulator-options="betriebsmittel_table_options" tableOnly :sideMenu="false" />
<core-filter-cmpt title="$p.t('profil','entlehnteBetriebsmittel')" ref="betriebsmittelTable" :tabulator-options="betriebsmittel_table_options" tableOnly :sideMenu="false" />
</div>
<div class="col-12 mb-4" >
<core-filter-cmpt title="Zutrittsgruppen" ref="zutrittsgruppenTable" :tabulator-options="zutrittsgruppen_table_options" tableOnly :sideMenu="false" noColumnFilter />
<core-filter-cmpt title="$p.t('profil','zutrittsGruppen')" ref="zutrittsgruppenTable" :tabulator-options="zutrittsgruppen_table_options" tableOnly :sideMenu="false" noColumnFilter />
</div>
</div>
<!-- END OF MAIN CONTENT COL -->
</div>
<!-- START OF SIDE PANEL -->
<div class="col-md-4 col-xxl-3 col-sm-12 text-break" >
@@ -401,7 +372,7 @@ export default {
<div class="col-2">
<i class="fa fa-edit"></i>
</div>
<div class="col-10">Bearbeiten</div>
<div class="col-10">{{$p.t('ui','bearbeiten')}}</div>
</div>
</button>
</div>
@@ -441,10 +412,6 @@ export default {
<!-- HIER SIND DIE MAILVERTEILER -->
<mailverteiler :data="data?.mailverteiler"></mailverteiler>
</div>
<!-- END OF THE SECOND ROW IN THE SIDE PANEL -->
@@ -453,11 +420,6 @@ export default {
<!-- END OF SIDE PANEL -->
</div>
<!-- END OF CONTAINER ROW-->
</div>
@@ -73,7 +73,7 @@ export default {
},
template: `
template: /*html*/`
<div class="container-fluid text-break fhc-form" >
<!-- ROW -->
@@ -86,10 +86,6 @@ export default {
</div>
<!-- END OF HIDDEN QUCK LINKS -->
<!-- MAIN PANNEL -->
<div class="col-sm-12 col-md-8 col-xxl-9 ">
<!-- ROW WITH PROFIL IMAGE AND INFORMATION -->
@@ -100,42 +96,19 @@ export default {
<!-- ROW WITH THE PROFIL INFORMATION -->
<div class="row mb-4">
<!-- FIRST KAESTCHEN -->
<div class="col-lg-12 col-xl-6 ">
<!-- FIRST KAESTCHEN -->
<div class="col-lg-12 col-xl-6 ">
<div class="row mb-4">
<div class="col">
<profil-information :data="profilInformation" title="StudentIn"></profil-information>
<profil-information :data="profilInformation" title="$p.t('profil','studentIn')"></profil-information>
</div>
</div>
<!-- START OF SECOND PROFIL INFORMATION COLUMN -->
<!-- END OF PROFIL INFORMATION ROW -->
<!-- INFORMATION CONTENT END -->
</div>
@@ -155,19 +128,14 @@ export default {
<div class=" col-lg-12">
<role-information title="Student Information" :data="roleInformation"></role-information>
<role-information title="$p.t('profil','studentInformation')" :data="roleInformation"></role-information>
</div>
</div>
<!-- END OF SECOND ROW OF SECOND COLUMN IN MAIN CONTENT -->
<!-- END OF THE SECOND INFORMATION COLUMN -->
</div>
@@ -181,9 +149,6 @@ export default {
<!-- END OF MAIN CONTENT COL -->
</div>
<!-- START OF SIDE PANEL -->
<div class="col-md-4 col-xxl-3 col-sm-12 text-break" >
@@ -220,10 +185,6 @@ export default {
</div>
<!-- END OF CONTAINER ROW-->
</div>
+669 -1
View File
@@ -24156,7 +24156,675 @@ array(
'insertvon' => 'system'
)
)
)
),
// Profil Phrasen start
array(
'app' => 'core',
'category' => 'profil',
'phrase' => 'privateKontakte',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Private Kontakte',
'description' => 'Profil Kategorie in der die ganzen privaten Kontakte einer Person aufgelistet werden',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Private Contacts',
'description' => 'Profile category in which all private contacts of a person are listed',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'profil',
'phrase' => 'privateKontakte',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Private Kontakte',
'description' => 'Profil Kategorie in der die ganzen privaten Kontakte einer Person aufgelistet werden',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Private Contacts',
'description' => 'Profile category in which all private contacts of a person are listed',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'profil',
'phrase' => 'privateAdressen',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Private Adressen',
'description' => 'Profil Kategorie in der die ganzen privaten Adressen einer Person aufgelistet werden',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Private Addresses',
'description' => 'Profile category in which all private addresses of a person are listed',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'profil',
'phrase' => 'profilBearbeiten',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Profil bearbeiten',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'edit profil',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'profil',
'phrase' => 'mitarbeiterIn',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'MitarbeiterIn',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Employee',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'profil',
'phrase' => 'entlehnteBetriebsmittel',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Entlehnte Betriebsmittel',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Borrowed Company Resources',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'profil',
'phrase' => 'mitarbeiterInformation',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Mitarbeiter Information',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Employee Information',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'profil',
'phrase' => 'studentIn',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'StudentIn',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Student',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'profil',
'phrase' => 'studentInformation',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Student Information',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Student Information',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'profil',
'phrase' => 'zutrittsGruppen',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Zutrittsgruppen',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Access groups',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'profil',
'phrase' => 'fhAusweisStatus',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Der FH Ausweis ist am <b>{0}</b> ausgegeben worden.',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'The FH ID card was issued on <b>{0}</b>',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'profil',
'phrase' => 'mailverteiler',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Mailverteiler',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Mailing list',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'profil',
'phrase' => 'mailverteilerMitglied',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Sie sind Mitglied in folgenden Mailverteilern:',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'You are a member of the following mailing lists:',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'profil',
'phrase' => 'quickLinks',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Quick Links',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Quick Links',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'profil',
'phrase' => 'zeitwuensche',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Zeitwünsche',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Time wishes',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'profil',
'phrase' => 'lehrveranstaltungen',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Lehrveranstaltungen',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Courses',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'profil',
'phrase' => 'zeitsperren',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Zeitsperren',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Time locks',
'description' => '',
'insertvon' => 'system'
)
)
),
// Profil Phrasen end
// ProfilUpdate Phrasen start
array(
'app' => 'core',
'category' => 'profilUpdate',
'phrase' => 'profilUpdates',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Profil Updates',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Profile Updates',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'profilUpdate',
'phrase' => 'topic',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Thema',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'topic',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'profilUpdate',
'phrase' => 'zustelladresseWarning',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => '!Achtung: Eine deiner Adressen ist bereits als Zustelladresse gespeichert, sind sie sicher, dass sie die aktuelle Adresse stattdessen als Zustelladresse speichern wollen?',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => '!Attention: One of your addresses is already saved as a delivery address, are you sure you want to save the current address as a delivery address instead?',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'profilUpdate',
'phrase' => 'zustellkontakteWarning',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => '!Achtung: Eine deiner Kontakte ist bereits als Zustellungskontakt gespeichert, sind sie sicher, dass sie den aktuellen Kontakt stattdessen als Zustellkontakt speichern wollen?',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => '!Attention: One of your contacts is already saved as a delivery contact, are you sure you want to save the current contact as a delivery contact instead?',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'profilUpdate',
'phrase' => 'kontaktTyp',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Kontakttyp',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'contact type',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'profilUpdate',
'phrase' => 'nebenwohnsitz',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Nebenwohnsitz',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'secondary residence',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'profilUpdate',
'phrase' => 'hauptwohnsitz',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Hauptwohnsitz',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'main residence',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'profilUpdate',
'phrase' => 'homeoffice',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Homeoffice',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Homeoffice',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'profilUpdate',
'phrase' => 'rechnungsadresse',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Rechnungsadresse',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Billing address',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'profilUpdate',
'phrase' => 'notfallkontakt',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Notfallkontakt',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Emergency contact',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'profilUpdate',
'phrase' => 'mobiltelefonnummer',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Mobiltelefonnummer',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Cell phone number',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'profilUpdate',
'phrase' => 'homepage',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Homepage',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Homepage',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'profilUpdate',
'phrase' => 'faxnummer',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Faxnummer',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Fax number',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'profilUpdate',
'phrase' => 'zustellungsKontakt',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Zustellungs Kontakt',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Delivery contact',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'profilUpdate',
'phrase' => 'statusMessage',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Status Mitteilung',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Status message',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'profilUpdate',
'phrase' => 'profilUpdateInformationMessage',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Erneuern Sie ihr {0} und laden Sie die passenden Beweisdokumente hoch',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Please update your {0} and upload the corresponding Document of proof',
'description' => '',
'insertvon' => 'system'
)
)
),
// profilUpdate Phrasen ende
);