Compare commits

..

2 Commits

Author SHA1 Message Date
dc883ac302 update npm packages 2022-01-23 19:56:14 +01:00
16feb41f8a kompetenzinventar/ki-doku#18 line-break new text (!72)
Co-authored-by: scammo <samuel.brinkmann@googlemail.com>
Reviewed-on: kompetenzinventar/ki-frontend#72
Reviewed-by: weeman <weeman@noreply.git.wtf-eg.de>
Co-authored-by: scammo <scammo@noreply.git.wtf-eg.de>
Co-committed-by: scammo <scammo@noreply.git.wtf-eg.de>
2022-01-17 14:44:13 +01:00
5 changed files with 7918 additions and 6601 deletions

14478
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -7,10 +7,10 @@
"lint": "vue-cli-service lint" "lint": "vue-cli-service lint"
}, },
"devDependencies": { "devDependencies": {
"@vue/cli-plugin-babel": "~4.5.0", "@vue/cli-plugin-babel": "^4.5.0",
"@vue/cli-plugin-eslint": "~4.5.0", "@vue/cli-plugin-eslint": "^4.5.0",
"@vue/cli-plugin-router": "~4.5.0", "@vue/cli-plugin-router": "^4.5.0",
"@vue/cli-service": "~4.5.0", "@vue/cli-service": "^4.5.0",
"@vue/compiler-sfc": "^3.0.0", "@vue/compiler-sfc": "^3.0.0",
"babel-eslint": "^10.1.0", "babel-eslint": "^10.1.0",
"bootstrap": "^5.0.1", "bootstrap": "^5.0.1",

View File

@ -6,20 +6,6 @@ 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"
@ -116,14 +102,6 @@ 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: {

View File

@ -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="Zuerst Kontaktart: E-Mail, Matrix, Web, etc.." placeholder="z.B. E-Mail, Mobiltelefon, Matrix, Web"
@update-values="profile.contacts = $event" @update-values="profile.contacts = $event"
></auto-complete> ></auto-complete>
</template> </template>

View File

@ -75,7 +75,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
<label class="form-label fw-bold"> <label class="form-label fw-bold">
Anmerkungen Anmerkungen
</label> </label>
<div>{{ profile.availability_text }}</div> <div class="line-break-text">{{ profile.availability_text }}</div>
</div> </div>
</Section> </Section>
@ -98,11 +98,11 @@ SPDX-License-Identifier: AGPL-3.0-or-later
title="Sonstiges"> title="Sonstiges">
<div v-if="profile.freetext" :class="{ 'lh-base': true, 'mb-4': profile.volunteerwork }"> <div v-if="profile.freetext" :class="{ 'lh-base': true, 'mb-4': profile.volunteerwork }">
<h5>Über mich</h5> <h5>Über mich</h5>
{{ profile.freetext }} <div class="line-break-text">{{ profile.freetext }}</div>
</div> </div>
<div v-if="profile.volunteerwork" class="lh-base"> <div v-if="profile.volunteerwork" class="lh-base">
<h5>Ehrenamtliche Arbeit</h5> <h5>Ehrenamtliche Arbeit</h5>
{{ profile.volunteerwork }} <div class="line-break-text">{{ profile.volunteerwork }}</div>
</div> </div>
</Section> </Section>
</template> </template>
@ -154,4 +154,7 @@ export default {
</script> </script>
<style> <style>
.line-break-text{
white-space: pre-line;
}
</style> </style>