From 3abdc7d7409aa293d63ae9097302f96ed4b52238 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Wed, 17 Apr 2024 13:04:31 +0100 Subject: [PATCH] Add non-public, pass times, and booked platforms to train details --- src/lib/stores/version.ts | 2 +- src/lib/train/train-detail.svelte | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/lib/stores/version.ts b/src/lib/stores/version.ts index a676022..7020a57 100644 --- a/src/lib/stores/version.ts +++ b/src/lib/stores/version.ts @@ -1,3 +1,3 @@ -export const version: string = '2024.04.2'; +export const version: string = '2024.04.3'; export const versionTag: string = 'swarm'; export const showWelcome: boolean = true; diff --git a/src/lib/train/train-detail.svelte b/src/lib/train/train-detail.svelte index 0ae4a09..b765ce2 100644 --- a/src/lib/train/train-detail.svelte +++ b/src/lib/train/train-detail.svelte @@ -63,7 +63,6 @@ {#if serviceDetail.pis} -
{/if}

@@ -80,9 +79,10 @@ })}

- + + @@ -90,16 +90,19 @@ {#if stop.publicArrival || stop.publicDeparture} + {:else if stop.wttArrival || stop.wttDeparture} + {:else} + - + {/if} {/each}
Grey times are non-passenger stops, italics are 'pass' timesItalics are 'pass' times, grey times are non-passenger stops
LocationPlt. Sch Arr. Sch Dep.
{stop.tiploc}{stop.platform || '-'} {stop.publicArrival || '-'} {stop.publicDeparture || '-'}{stop.tiploc}{stop.platform || stop.depLine || stop.arrLine || '-'} {stop.wttArrival || '-'} {stop.wttDeparture || '-'}{stop.tiploc}{stop.platform || stop.depLine || stop.arrLine || '-'} --{stop.pass || '-'}