From 83b22e59784f21355b6a3b38939645f9447c4152 Mon Sep 17 00:00:00 2001 From: Spythere Date: Sun, 15 Feb 2026 17:13:42 +0100 Subject: [PATCH] chore(profile): player activity section design --- .../PlayerProfileView/ProfileSummary.vue | 87 +++++++++++++++---- src/locales/pl.json | 2 + 2 files changed, 70 insertions(+), 19 deletions(-) diff --git a/src/components/PlayerProfileView/ProfileSummary.vue b/src/components/PlayerProfileView/ProfileSummary.vue index 36e8451..320562e 100644 --- a/src/components/PlayerProfileView/ProfileSummary.vue +++ b/src/components/PlayerProfileView/ProfileSummary.vue @@ -48,27 +48,31 @@ + -
- {{ t('profile.stats.online-as-dispatcher') }} - {{ - playerInfo.currentActivity.dispatcher - .map((d) => `${d.stationName} (${d.stationHash})`) - .join(', ') - }} + +
+

{{ t('profile.stats.currently-online') }}

+ +
+ + user icon + {{ d.stationName }} + +
-
- {{ t('profile.stats.online-as-driver') }} - {{ playerInfo.currentActivity.driver.trainNo }} {{ t('profile.stats.on-scenery') }} - {{ playerInfo.currentActivity.driver.currentStationName }} +
+ + train icon + {{ d.timetable.category }} + {{ d.trainNo }} +
- - -
@@ -181,19 +185,22 @@