Historia RJ scenerii: dodano odnośniki do dziennika

This commit is contained in:
2022-07-12 10:59:29 +02:00
parent b88a96237e
commit 32c601d50a
@@ -9,10 +9,13 @@
<b>{{ localeDay(historyItem.beginDate, $i18n.locale) }}</b> <b>{{ localeDay(historyItem.beginDate, $i18n.locale) }}</b>
{{ localeTime(historyItem.beginDate, $i18n.locale) }} {{ localeTime(historyItem.beginDate, $i18n.locale) }}
</div> </div>
<div> <div>
<span class="text--grayed"> #{{ historyItem.timetableId }} </span> <router-link :to="`/journal/timetables?timetableId=${historyItem.timetableId}`">
<b class="text--primary">&nbsp;{{ historyItem.trainCategoryCode }} {{ historyItem.trainNo }}</b> <span class="text--grayed"> #{{ historyItem.timetableId }} </span>
<div>{{ historyItem.driverName }}</div> <b class="text--primary">&nbsp;{{ historyItem.trainCategoryCode }} {{ historyItem.trainNo }}</b>
<div>{{ historyItem.driverName }}</div>
</router-link>
</div> </div>
<div>{{ historyItem.route.replace('|', ' -> ') }}</div> <div>{{ historyItem.route.replace('|', ' -> ') }}</div>
@@ -108,3 +111,4 @@ export default defineComponent({
} }
} }
</style> </style>