add address.name to frontend
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
weeman 2022-01-25 21:00:30 +01:00
parent 3017c001b2
commit 5c5f157a77
Signed by: weeman
GPG Key ID: 34F0524D4DA694A1
2 changed files with 20 additions and 2 deletions

View File

@ -16,6 +16,14 @@ SPDX-License-Identifier: AGPL-3.0-or-later
</span> </span>
</div> </div>
</div> </div>
<div v-if="profile?.address?.name">
<div class="d-flex align-items-center">
<i class="fs-4 bi bi-person-fill text-dark mx-2"></i>
<div class="text-white">
a.k.a. {{ profile.address.name }}
</div>
</div>
</div>
<div v-if="location"> <div v-if="location">
<div class="d-flex align-items-center"> <div class="d-flex align-items-center">
<i class="fs-4 bi bi-geo-alt-fill text-dark mx-2"></i> <i class="fs-4 bi bi-geo-alt-fill text-dark mx-2"></i>

View File

@ -32,7 +32,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
</div> </div>
<div class="row mb-4"> <div class="row mb-4">
<div class="col-6 mb-3"> <div class="col-12 col-md-4 mb-3 mb-md-0">
<label class="form-label">Nickname</label> <label class="form-label">Nickname</label>
<input <input
type="text" type="text"
@ -43,7 +43,17 @@ SPDX-License-Identifier: AGPL-3.0-or-later
required required
/> />
</div> </div>
<div class="col-6 mb-3"> <div class="col-12 col-md-4 mb-3 mb-md-0">
<label class="form-label">Klarname (optional)</label>
<input
type="text"
class="form-control"
id="realname"
maxlength="25"
v-model="profile.address.name"
/>
</div>
<div class="col-12 col-md-4">
<label class="form-label"> <label class="form-label">
Pronomen Pronomen
<i class="bi bi-info-circle" v-tooltip="pronounsTooltip"></i> <i class="bi bi-info-circle" v-tooltip="pronounsTooltip"></i>