feat: add support to set the marble avatar in user settings (#1156)

Frontend for https://kolaente.dev/vikunja/api/pulls/1060

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1156
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
This commit is contained in:
konrad 2021-12-07 21:27:04 +00:00
parent 10fe38cef6
commit 1a119f97c5
2 changed files with 5 additions and 0 deletions

View file

@ -102,6 +102,7 @@
"title": "Avatar", "title": "Avatar",
"initials": "Initials", "initials": "Initials",
"gravatar": "Gravatar", "gravatar": "Gravatar",
"marble": "Marble",
"upload": "Upload", "upload": "Upload",
"uploadAvatar": "Upload Avatar", "uploadAvatar": "Upload Avatar",
"statusUpdateSuccess": "Avatar status was updated successfully!", "statusUpdateSuccess": "Avatar status was updated successfully!",

View file

@ -13,6 +13,10 @@
<input name="avatarProvider" type="radio" v-model="avatarProvider" value="gravatar"/> <input name="avatarProvider" type="radio" v-model="avatarProvider" value="gravatar"/>
{{ $t('user.settings.avatar.gravatar') }} {{ $t('user.settings.avatar.gravatar') }}
</label> </label>
<label class="radio">
<input name="avatarProvider" type="radio" v-model="avatarProvider" value="marble"/>
{{ $t('user.settings.avatar.marble') }}
</label>
<label class="radio"> <label class="radio">
<input name="avatarProvider" type="radio" v-model="avatarProvider" value="upload"/> <input name="avatarProvider" type="radio" v-model="avatarProvider" value="upload"/>
{{ $t('user.settings.avatar.upload') }} {{ $t('user.settings.avatar.upload') }}