Compare commits

..

6 Commits

Author SHA1 Message Date
e3115f9944 Merge branch 'main' into profile-page
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-01-14 13:09:46 +01:00
872d544075 Merge pull request 'Fix typo for language levels' (#67) from zeitschlag/ki-frontend:typo into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #67
2021-12-17 20:41:45 +01:00
fba33d20a7 Fix typo for language levels 2021-12-17 18:29:54 +01:00
e035fa3289
extend skill length to 50
All checks were successful
continuous-integration/drone/push Build is passing
2021-11-22 20:14:45 +01:00
324203216a
fix typo 2021-11-22 18:48:13 +01:00
b270a5d56a Merge pull request 'Weitere Arbeiten Profilseite' (#53) from profile-page into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #53
2021-10-25 14:15:38 +02:00
3 changed files with 9 additions and 6 deletions

View File

@ -1,6 +1,6 @@
{ {
"1": "Keine Angabe", "1": "Keine Angabe",
"2": "Grundkentnisse", "2": "Grundkenntnisse",
"3": "Gut", "3": "Gut",
"4": "Fließend", "4": "Fließend",
"5": "Muttersprache" "5": "Muttersprache"

View File

@ -25,7 +25,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
type="text" type="text"
class="form-control form-control-sm" class="form-control form-control-sm"
id="searchText" id="searchText"
maxlength="25" :maxlength="maxlength"
:placeholder="placeholder" :placeholder="placeholder"
v-model="searchText" v-model="searchText"
@input="search()" @input="search()"
@ -99,7 +99,10 @@ export default {
}; };
}, },
computed: { computed: {
...mapState(['currentUserId']) ...mapState(['currentUserId']),
maxlength() {
return this.type === 'skill' ? 50 : 25
}
}, },
methods: { methods: {
addResult(result = false) { addResult(result = false) {

View File

@ -65,8 +65,8 @@ SPDX-License-Identifier: AGPL-3.0-or-later
<i class="bi bi-x-square me-1"></i> <i class="bi bi-x-square me-1"></i>
nein nein
</div> </div>
<span <span
class="ms-3" class="ms-3"
v-if="profile.availability_status && profile.availability_hours_per_week"> v-if="profile.availability_status && profile.availability_hours_per_week">
({{ profile.availability_hours_per_week }} Stunden pro Woche) ({{ profile.availability_hours_per_week }} Stunden pro Woche)
</span> </span>
@ -101,7 +101,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
{{ profile.freetext }} {{ profile.freetext }}
</div> </div>
<div v-if="profile.volunteerwork" class="lh-base"> <div v-if="profile.volunteerwork" class="lh-base">
<h5>Ehrentamtliche Arbeit</h5> <h5>Ehrenamtliche Arbeit</h5>
{{ profile.volunteerwork }} {{ profile.volunteerwork }}
</div> </div>
</Section> </Section>