dodano odnośnik do dziennika RJ maszynisty

This commit is contained in:
2024-03-23 00:00:52 +01:00
parent c7162dbd14
commit 66a02d76bd
4 changed files with 14 additions and 4 deletions
@@ -10,6 +10,7 @@
v-if="popupStore.currentPopupContent"
@load="onImageLoad"
@error="onImageError"
@click="popupStore.onPopUpHide"
width="300"
height="176"
class="rounded-md w-full h-auto"
+11 -2
View File
@@ -46,6 +46,11 @@
<img src="/images/icon-diamond.svg" alt="donator diamond icon" />
</b>
<span v-else>{{ train.driverName }}</span>
&bull;
<button class="btn--image btn--text btn-journal" v-if="extended">
<img src="/images/icon-train.svg" alt="" />
DZIENNIK
</button>
</div>
</div>
@@ -149,8 +154,7 @@ export default defineComponent({
required: true
},
extended: {
type: Boolean,
default: true
type: Boolean
}
},
@@ -201,6 +205,11 @@ export default defineComponent({
vertical-align: text-bottom;
}
.btn-journal {
display: inline-block;
padding: 0;
}
.timetable-id {
color: #d2d2d2;
}
+1 -1
View File
@@ -6,7 +6,7 @@
<img src="/images/icon-exit.svg" alt="close card" />
</button>
<TrainInfo :train="chosenTrain" :extended="false" ref="trainInfo" />
<TrainInfo :train="chosenTrain" :extended="true" ref="trainInfo" />
<TrainSchedule :train="chosenTrain" tabindex="0" />
</div>
</div>
+1 -1
View File
@@ -20,7 +20,7 @@
@click.stop="selectModalTrain(train.trainId, $event.currentTarget)"
@keydown.enter="selectModalTrain(train.trainId, $event.currentTarget)"
>
<TrainInfo :train="train" />
<TrainInfo :train="train" :extended="false" />
</li>
</transition-group>
</div>