Add non-public, pass times, and booked platforms to train details
This commit is contained in:
parent
8c91a50a34
commit
3abdc7d740
@ -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;
|
||||
|
@ -63,7 +63,6 @@
|
||||
|
||||
<TrainIcons firstClass={serviceDetail.firstClass} hasCatering={serviceDetail.catering} sleeper={serviceDetail.sleeper} vstp={serviceDetail.vstp} />
|
||||
{#if serviceDetail.pis}
|
||||
<br>
|
||||
<PisHandler pisObject={serviceDetail.pis} />
|
||||
{/if}
|
||||
<p class="svc-detail">
|
||||
@ -80,9 +79,10 @@
|
||||
})}
|
||||
</p>
|
||||
<table>
|
||||
<caption>Grey times are non-passenger stops, italics are 'pass' times</caption>
|
||||
<caption>Italics are 'pass' times, grey times are non-passenger stops</caption>
|
||||
<tr>
|
||||
<th>Location</th>
|
||||
<th>Plt.</th>
|
||||
<th>Sch Arr.</th>
|
||||
<th>Sch Dep.</th>
|
||||
</tr>
|
||||
@ -90,16 +90,19 @@
|
||||
<tr>
|
||||
{#if stop.publicArrival || stop.publicDeparture}
|
||||
<td>{stop.tiploc}</td>
|
||||
<td>{stop.platform || '-'}</td>
|
||||
<td>{stop.publicArrival || '-'}</td>
|
||||
<td>{stop.publicDeparture || '-'}</td>
|
||||
{:else if stop.wttArrival || stop.wttDeparture}
|
||||
<td class="wtt">{stop.tiploc}</td>
|
||||
<td class="wtt">{stop.platform || stop.depLine || stop.arrLine || '-'}</td>
|
||||
<td class="wtt">{stop.wttArrival || '-'}</td>
|
||||
<td class="wtt">{stop.wttDeparture || '-'}</td>
|
||||
{:else}
|
||||
<td class="pass">{stop.tiploc}</td>
|
||||
<td class="pass">{stop.platform || stop.depLine || stop.arrLine || '-'}</td>
|
||||
<td class="pass">-</td>
|
||||
<td class="pass">-</td>
|
||||
<td class="pass">{stop.pass || '-'}</td>
|
||||
{/if}
|
||||
</tr>
|
||||
{/each}
|
||||
|
Loading…
Reference in New Issue
Block a user