aboutsummaryrefslogtreecommitdiff
path: root/src/components/user_profile/user_profile.vue
diff options
context:
space:
mode:
authormarcin mikołajczak <git@mkljczk.pl>2022-02-13 19:07:49 +0100
committermarcin mikołajczak <git@mkljczk.pl>2022-02-13 19:11:14 +0100
commit79d02bddbe2b77574844b8ade7a09043c31b1c6b (patch)
tree7a8904bbf031ea8618eb7320d9129a13b1b181c0 /src/components/user_profile/user_profile.vue
parent8ade11783aa4740a2cff61f27938f3408c3e0eb0 (diff)
Birthdays
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
Diffstat (limited to 'src/components/user_profile/user_profile.vue')
-rw-r--r--src/components/user_profile/user_profile.vue14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/components/user_profile/user_profile.vue b/src/components/user_profile/user_profile.vue
index 726216ff..5e083198 100644
--- a/src/components/user_profile/user_profile.vue
+++ b/src/components/user_profile/user_profile.vue
@@ -11,6 +11,16 @@
:allow-zooming-avatar="true"
rounded="top"
/>
+ <span
+ v-if="!!user.birthday"
+ class="user-birthday"
+ >
+ <FAIcon
+ class="fa-old-padding"
+ icon="birthday-cake"
+ />
+ {{ $t('user_card.birthday', { birthday: formattedBirthday }) }}
+ </span>
<div
v-if="user.fields_html && user.fields_html.length > 0"
class="user-profile-fields"
@@ -138,6 +148,10 @@
flex: 2;
flex-basis: 500px;
+ .user-birthday {
+ margin: 0 0.75em 0.5em;
+ }
+
.user-profile-fields {
margin: 0 0.5em;