diff --git a/src/components/JournalView/JournalTimetables/EntryDetails.vue b/src/components/JournalView/JournalTimetables/EntryDetails.vue index b3c25eb..b363a2c 100644 --- a/src/components/JournalView/JournalTimetables/EntryDetails.vue +++ b/src/components/JournalView/JournalTimetables/EntryDetails.vue @@ -24,44 +24,20 @@
- + {{ $t('journal.dispatcher-name') }} {{ timetable.authorName }} - - {{ $t('journal.stock-length') }} - - {{ - currentHistoryIndex == 0 - ? timetable.stockLength - : stockHistory[currentHistoryIndex].stockLength || timetable.stockLength - }}m - - - - - {{ $t('journal.stock-mass') }} - - {{ - Math.floor( - (currentHistoryIndex == 0 - ? timetable.stockMass - : stockHistory[currentHistoryIndex].stockMass || timetable.stockMass) / 1000 - ) - }}t - - - - - {{ $t('journal.stock-max-speed') }} - {{ timetable.maxSpeed }}km/h - - - + {{ $t('journal.stock-timetable-speed') }} {{ timetable.trainMaxSpeed }}km/h + + + {{ $t('journal.stock-max-speed') }} + {{ timetable.maxSpeed }}km/h +
@@ -98,8 +74,35 @@
+ {{ $t('journal.stock-preview') }}: +
+ + {{ $t('journal.stock-length') }} + + {{ + currentHistoryIndex == 0 + ? timetable.stockLength + : stockHistory[currentHistoryIndex].stockLength || timetable.stockLength + }}m + + + + + {{ $t('journal.stock-mass') }} + + {{ + Math.floor( + (currentHistoryIndex == 0 + ? timetable.stockMass + : stockHistory[currentHistoryIndex].stockMass || timetable.stockMass) / 1000 + ) + }}t + + +
+