aboutsummaryrefslogtreecommitdiff
path: root/src/components/user_profile/user_profile.vue
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2023-01-25 23:50:54 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2023-01-25 23:50:54 +0000
commit22c3012e1cb66b8a93b79b2bf3d655394aacee5b (patch)
tree026f8c2c0416acfcb317b58e888cd54cb6108783 /src/components/user_profile/user_profile.vue
parent65e10f07def87f0c4399dbce92eb00b430d5dba4 (diff)
parent03d5c2e140fc70937d3533665fa88d055ab486f1 (diff)
Merge branch 'birthdays' into 'develop'
Birthdays See merge request pleroma/pleroma-fe!1432
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 2720f052..c63a303c 100644
--- a/src/components/user_profile/user_profile.vue
+++ b/src/components/user_profile/user_profile.vue
@@ -12,6 +12,16 @@
rounded="top"
:has-note-editor="true"
/>
+ <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"
@@ -149,6 +159,10 @@
// No sticky header on user profile
--currentPanelStack: 1;
+ .user-birthday {
+ margin: 0 0.75em 0.5em;
+ }
+
.user-profile-fields {
margin: 0 0.5em;