From d340f06a22691a929c87b464560c4d8b4046b0d6 Mon Sep 17 00:00:00 2001 From: CuriousMagpie Date: Fri, 1 Sep 2023 15:37:57 -0400 Subject: [PATCH] WIP(profile): fixed user not found error --- .../src/components/userMenu/profile.vue | 787 +++++++++--------- 1 file changed, 394 insertions(+), 393 deletions(-) diff --git a/website/client/src/components/userMenu/profile.vue b/website/client/src/components/userMenu/profile.vue index 49089c7fe3..b39600ce15 100644 --- a/website/client/src/components/userMenu/profile.vue +++ b/website/client/src/components/userMenu/profile.vue @@ -48,172 +48,126 @@ - - -
- +
-
-
-

{{ $t('about') }}

-
-
-
-

+ +
+
+
+

{{ $t('about') }}

+
+
+
+

+

+ {{ $t('noDescription') }} +

+
+
+
+

{{ $t('photo') }}

+

- {{ $t('noDescription') }} + {{ $t('noPhoto') }}

-
-

{{ $t('photo') }}

- +
-
-
- - - + - - - - - - + {{ $t('sendMessage') }} + + - - + - + - - - - - - {{ $t('reportPlayer') }} - - - - - - - - - - {{ $t('blockPlayer') }} - - - - -
- - - - {{ $t('adminTools') }} - - - - + - - {{ $t('viewAdminPanel') }} + + {{ $t('sendGift') }} - + + + + + + {{ $t('reportPlayer') }} + + + + + - {{ $t('banPlayer') }} + {{ $t('blockPlayer') }} - - - - - - - {{ $t('shadowMute') }} - - - - - - - - - - - {{ $t('mutePlayer') }} - - - - -
-
-
- - -
-
-
- {{ $t('joined') }}: -
-
- {{ userJoinedDate }} -
-
-
-
- {{ $t('totalLogins') }}: -
-
- {{ user.loginIncentives }} -
-
-
-
- {{ $t('latestCheckin') }}: -
-
- {{ userLastLoggedIn }} -
-
-
-
- {{ $t('nextReward') }}: -
-
- {{ nextIncentive }} -
-
-
- {{ getProgressDisplay() }} -
+
- {{ incentivesProgress }}% {{ $t('complete') }} + + + + {{ $t('adminTools') }} + + + + + + + + + {{ $t('viewAdminPanel') }} + + + + + + + + + + {{ $t('banPlayer') }} + + + + + + + + + + {{ $t('shadowMute') }} + + + + + + + + + + + {{ $t('mutePlayer') }} + + + + +
+ + + + +
+
+
+ {{ $t('joined') }}: +
+
+ {{ userJoinedDate }}
-
-
-
-
- -
-

{{ $t('editProfile') }}

-
-
- -
- - -
-
- - -
-
- - - -
-
-
- - -
-
-
- -
-
-

- {{ $t(`${key}Achievs`) }} -

-
-
-
-
- -

- {{ achievement.title }} -

+
+
+ {{ $t('totalLogins') }}: +
+
+ {{ user.loginIncentives }} +
+
+
+
+ {{ $t('latestCheckin') }}: +
+
+ {{ userLastLoggedIn }} +
+
+
+
+ {{ $t('nextReward') }}: +
+
+ {{ nextIncentive }} +
+
+
+ {{ getProgressDisplay() }} +
- -
-
- {{ achievement.optionalCount }} + {{ incentivesProgress }}% {{ $t('complete') }}
-
-
- {{ achievementsCategories[key].open ? - $t('hideAchievements', {category: $t(`${key}Achievs`)}) : - $t('showAllAchievements', {category: $t(`${key}Achievs`)}) - }} -
-
-
-
+
-
-

- {{ $t('challengesWon') }} -

-
- +

{{ $t('editProfile') }}

+
+
+ +
+ + +
+
+ + +
+
+ + + +
-
-
-
-

- {{ $t('questsCompleted') }} -

-
- {{ content.quests[key].text() }} - + +
-
- -
- + +
+
+

+ {{ $t(`${key}Achievs`) }} +

+
+
+
+
+ +

+ {{ achievement.title }} +

+
+
+
+
+ {{ achievement.optionalCount }} +
+
+
+
+
+
+
+ {{ achievementsCategories[key].open ? + $t('hideAchievements', {category: $t(`${key}Achievs`)}) : + $t('showAllAchievements', {category: $t(`${key}Achievs`)}) + }} +
+
+
+
+
+
+
+

+ {{ $t('challengesWon') }} +

+
+ +
+
+
+
+

+ {{ $t('questsCompleted') }} +

+
+ {{ content.quests[key].text() }} + + {{ value }} + +
+
+
+
+ +
+ +
@@ -942,6 +942,7 @@ } +// eslint-disable-next-line vue/component-tags-order