From 6d6581a0d8963bc18b35ec029959350258470069 Mon Sep 17 00:00:00 2001 From: Spythere Date: Thu, 27 Jan 2022 22:42:46 +0100 Subject: [PATCH] =?UTF-8?q?Dodano=20uwagi=20eksploatacyjne=20do=20uproszcz?= =?UTF-8?q?onego=20widoku=20poci=C4=85g=C3=B3w?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/TrainsView/TrainInfo.vue | 58 ++++++++++++++++++++----- 1 file changed, 48 insertions(+), 10 deletions(-) diff --git a/src/components/TrainsView/TrainInfo.vue b/src/components/TrainsView/TrainInfo.vue index 7d711be..d2a7351 100644 --- a/src/components/TrainsView/TrainInfo.vue +++ b/src/components/TrainsView/TrainInfo.vue @@ -22,9 +22,23 @@ | {{ train.timetableData.routeDistance }} km | - {{ $t('trains.route-progress') }} {{ confirmedPercentage(train.timetableData.followingStops) }}% + + {{ $t('trains.route-progress') }} {{ confirmedPercentage(train.timetableData.followingStops) }}% | + +
+ + + {{ $t('trains.timetable-comments').toUpperCase() }} +
@@ -41,8 +55,7 @@ - - + {{ $t(`trains.option-${stat.name}`).toUpperCase() }}: {{ `${~~(train[stat.name] * (stat.multiplier || 1))}${stat.unit}` }} @@ -100,6 +113,7 @@
@@ -281,6 +295,10 @@ export default defineComponent({