forked from kompetenzinventar/ki-frontend
#20 doppelte Kontaktmöglichkeiten, bessere Erklärung dazu
This commit is contained in:
parent
04cb8a7217
commit
350e09cf24
@ -6,6 +6,20 @@ SPDX-License-Identifier: AGPL-3.0-or-later
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<ul class="list-group list-group-flush">
|
<ul class="list-group list-group-flush">
|
||||||
|
<li
|
||||||
|
v-if="type == 'contacttype'"
|
||||||
|
class="list-group-item">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-6">
|
||||||
|
Kontaktart
|
||||||
|
<i class="bi bi-info-circle" v-tooltip="contactTypeTooltip"></i>
|
||||||
|
</div>
|
||||||
|
<div class="col-6">
|
||||||
|
Wert
|
||||||
|
<i class="bi bi-info-circle" v-tooltip="contactContentTooltip"></i>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
<li
|
<li
|
||||||
class="list-group-item"
|
class="list-group-item"
|
||||||
v-for="(value, valueKey) in values"
|
v-for="(value, valueKey) in values"
|
||||||
@ -102,6 +116,14 @@ export default {
|
|||||||
levelSelection: levelJson,
|
levelSelection: levelJson,
|
||||||
languagesSelection: languagesJson,
|
languagesSelection: languagesJson,
|
||||||
editableValues: this.values,
|
editableValues: this.values,
|
||||||
|
contactTypeTooltip: {
|
||||||
|
content: 'Kontaktart z.B. E-Mail, Matrix, Twitter etc...',
|
||||||
|
html: true
|
||||||
|
},
|
||||||
|
contactContentTooltip: {
|
||||||
|
content: 'Wert: zB.: beate@beispiel.de, @beate:beispiel.de, beate_beispiel',
|
||||||
|
html: true
|
||||||
|
}
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
@ -167,7 +167,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
|
|||||||
<auto-complete
|
<auto-complete
|
||||||
type="contacttype"
|
type="contacttype"
|
||||||
:values="profile.contacts"
|
:values="profile.contacts"
|
||||||
placeholder="z.B. E-Mail, Mobiltelefon, Matrix, Web"
|
placeholder="Zuerst Kontaktart: E-Mail, Matrix, Web, etc.."
|
||||||
@update-values="profile.contacts = $event"
|
@update-values="profile.contacts = $event"
|
||||||
></auto-complete>
|
></auto-complete>
|
||||||
</template>
|
</template>
|
||||||
|
Loading…
Reference in New Issue
Block a user