Historia dr scenerii: dodano odnośniki do dziennika

This commit is contained in:
2022-07-12 11:20:19 +02:00
parent 506064cf9a
commit 4b0d9b887e
@@ -1,5 +1,5 @@
<template>
<section class="scenery-dispatchers-history scenery-section">
<section class="scenery-dispatchers-history scenery-section">
<Loading v-if="dataStatus != 2" />
<div class="list-warning" v-else-if="dispatcherHistoryList.length == 0">{{ $t('scenery.history-list-empty') }}</div>
@@ -7,8 +7,10 @@
<ul class="history-list" v-else>
<li class="list-item" v-for="historyItem in dispatcherHistoryList">
<div>
<span class="text--grayed">#{{ historyItem.stationHash }}&nbsp;</span>
<b class="text--primary">{{ historyItem.dispatcherName }}</b>
<router-link :to="`/journal/dispatchers?dispatcherName=${historyItem.dispatcherName}`">
<span class="text--grayed">#{{ historyItem.stationHash }}&nbsp;</span>
<b>{{ historyItem.dispatcherName }}</b>
</router-link>
</div>
<div v-if="historyItem.timestampTo">
@@ -22,7 +24,6 @@
{{ $t('journal.online-since') }}
<b>{{ timestampToString(historyItem.timestampFrom) }}</b>
({{ calculateDuration(historyItem.currentDuration) }})
<span></span>
</div>
</li>
</ul>
@@ -80,7 +81,6 @@ export default defineComponent({
@import '../../styles/responsive.scss';
@import '../../styles/SceneryView/styles.scss';
.history-list {
padding: 0 0.5em;
}