+
{{ entry.date.toLocaleString('pl-PL', { dateStyle: 'long', timeStyle: 'short' }) }}
-
-
-
- -
- {{
- new Date(entry.value.timestampTo).toLocaleString('pl-PL', {
- dateStyle:
- new Date(entry.value.timestampTo).getDay() == entry.date.getDay()
- ? undefined
- : 'long',
- timeStyle: 'short'
- })
- }}
+
+ -
+ {{
+ new Date(entry.value.timestampTo).toLocaleString('pl-PL', {
+ dateStyle:
+ new Date(entry.value.timestampTo).getDay() == entry.date.getDay()
+ ? undefined
+ : 'long',
+ timeStyle: 'short'
+ })
+ }}
+
- {{ entry.value.trainCategoryCode }} {{ entry.value.trainNo }}
+ {{ entry.value.trainCategoryCode }}
+ {{ ' ' }}
+ {{ entry.value.trainNo }}
{{ ' ' }} {{ t('profile.list.for') }}: {{ entry.value.driverName }}
{{ ' ' }}
{{ entry.value.route.replace('|', ' > ') }}
{{ ' ' }}
- ({{ entry.value.currentDistance }} / {{ entry.value.routeDistance }}km)
+ ({{ entry.value.currentDistance }} km / {{ entry.value.routeDistance }} km)
{{ entry.value.stationName }}
{{ ' - ' }}
-
- {{ t('profile.list.since') }}:
+
+ {{ t('profile.list.online-since') }}:
{{
humanizeDuration(
(entry.value.timestampTo || Date.now()) - entry.value.timestampFrom
@@ -229,6 +237,14 @@ function toggleFilter(filterType: JournalEntryType) {
}
}
+.timestamp-indicator {
+ color: #ccc;
+
+ &[data-online='true'] {
+ color: var(--clr-success);
+ }
+}
+
@include responsive.midScreen {
.history-list-box {
max-height: 100vh;
diff --git a/src/locales/pl.json b/src/locales/pl.json
index 1f11a24..7d8efb6 100644
--- a/src/locales/pl.json
+++ b/src/locales/pl.json
@@ -638,7 +638,7 @@
"created-timetables-count": "wystawione RJ jako dyżurny ruchu",
"longest-created-timetable": "najdłuższy wystawiony RJ",
"created-timetables-length-sum": "suma długości wystawionych RJ",
- "no-dispatcher-stats": "Ten dyżurny nie wystawił jeszcze żadnego rozkładu jazdy"
+ "no-dispatcher-stats": "Brak zapisanych wystawionych RJ"
},
"recent-stats": {
@@ -651,7 +651,7 @@
"list": {
"for": "dla",
- "since": "od"
+ "online-since": "online od"
}
}
}