diff --git a/LICENSE b/LICENSE index 36b0330..2c5f1fd 100644 --- a/LICENSE +++ b/LICENSE @@ -1,21 +1,21 @@ -MIT License - -Copyright (c) 2021 Spythere - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +MIT License + +Copyright (c) 2021 Spythere + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/src/assets/icon-SPE.svg b/src/assets/icon-SPE.svg new file mode 100644 index 0000000..d25e959 --- /dev/null +++ b/src/assets/icon-SPE.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/components/StationsView/StationTable.vue b/src/components/StationsView/StationTable.vue index 3c180f8..72d210c 100644 --- a/src/components/StationsView/StationTable.vue +++ b/src/components/StationsView/StationTable.vue @@ -80,8 +80,10 @@ - {{ $t(`status.${station.statusID}`) }} + {{ $t(`status.${station.statusID}`) }} {{ station.statusID == "online" ? station.statusTimeString : "" }} @@ -96,10 +98,9 @@ {{ + >{{ 2 > station.dispatcherExp ? "L" : station.dispatcherExp - }} + }} @@ -181,7 +182,10 @@ /> - + {{ station.currentUsers }} / @@ -189,7 +193,10 @@ - + {{ station.spawns.length }} @@ -212,11 +219,17 @@ -
+
{{ $t("sceneries.no-stations") }}
-
+
{{ $t("app.loading") }}
diff --git a/src/components/TrainsView/TrainTable.vue b/src/components/TrainsView/TrainTable.vue index c33f906..8d5d6f1 100644 --- a/src/components/TrainsView/TrainTable.vue +++ b/src/components/TrainsView/TrainTable.vue @@ -188,6 +188,20 @@ @error="onImageError" /> + +
+ {{ + train.cars.length == 0 + ? "EZT" + : `${train.cars.length} wagon${ + train.cars.length % 10 >= 5 + ? "ów" + : train.cars.length == 1 + ? "" + : "y" + }` + }} +
@@ -242,17 +256,6 @@ v-if="train.timetableData" v-show="showedSchedule == train.timetableData.timetableId" > - -