From 1b0c1cb9d6bec72d36d8f74e225843c77dfa3fc2 Mon Sep 17 00:00:00 2001 From: Spythere Date: Sun, 16 Jan 2022 19:27:41 +0100 Subject: [PATCH] =?UTF-8?q?Dodano=20informacj=C4=99=20o=20SUP=20dla=20scen?= =?UTF-8?q?erii?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/icon-SUP.svg | 2 +- .../SceneryInfo/SceneryInfoIcons.vue | 7 ++++++ src/components/StationsView/StationTable.vue | 9 +++++++ src/locales/en.json | 1 + src/locales/pl.json | 1 + src/scripts/interfaces/Station.ts | 2 ++ src/scripts/utils/apiURLs.ts | 2 +- src/store/index.ts | 25 +++++++++++-------- 8 files changed, 36 insertions(+), 13 deletions(-) diff --git a/src/assets/icon-SUP.svg b/src/assets/icon-SUP.svg index 162b468..46d1805 100644 --- a/src/assets/icon-SUP.svg +++ b/src/assets/icon-SUP.svg @@ -1,6 +1,6 @@ - + diff --git a/src/components/SceneryView/SceneryInfo/SceneryInfoIcons.vue b/src/components/SceneryView/SceneryInfo/SceneryInfoIcons.vue index 13b5cd9..ee3c528 100644 --- a/src/components/SceneryView/SceneryInfo/SceneryInfoIcons.vue +++ b/src/components/SceneryView/SceneryInfo/SceneryInfoIcons.vue @@ -7,6 +7,13 @@ :title="$t('desc.control-type') + $t(`controls.${station.generalInfo.controlType}`)" /> + SUP (RASP-UZK) + + SUP (RASP-UZK) + > = Symbol() @@ -286,23 +286,26 @@ export const store = createStore({ supportersOnly: station[5] == "TAK", signalType: station[6], controlType: station[7], - SBL: station[8], - TWB: station[9], + + SUP: station[8], + + SBL: station[9], + TWB: station[10], routes: { oneWay: { - catenary: station[10], - noCatenary: station[11] + catenary: station[11], + noCatenary: station[12] }, twoWay: { - catenary: station[12], - noCatenary: station[13] + catenary: station[13], + noCatenary: station[14] } }, - checkpoints: station[14] ? (station[14]).split(";").map(sub => ({ checkpointName: sub, scheduledTrains: [] })) : [], + checkpoints: station[15] ? (station[15]).split(";").map(sub => ({ checkpointName: sub, scheduledTrains: [] })) : [], - default: station[15], - nonPublic: station[16], - unavailable: station[17], + default: station[16], + nonPublic: station[17], + unavailable: station[18], } }));