From 8a7c78219fe96a8a9ec219f076b6634915ac3eff Mon Sep 17 00:00:00 2001
From: Fred Boniface
Date: Fri, 7 Jul 2023 22:05:52 +0100
Subject: [PATCH] Add classes to train detail messages
---
src/lib/ldb/{ => nrcc}/alert-bar.svelte | 0
src/lib/ldb/public-ldb.svelte | 2 +-
src/lib/ldb/staff/staff-ldb.svelte | 2 +-
src/lib/ldb/staff/train-detail.svelte | 4 ++--
4 files changed, 4 insertions(+), 4 deletions(-)
rename src/lib/ldb/{ => nrcc}/alert-bar.svelte (100%)
diff --git a/src/lib/ldb/alert-bar.svelte b/src/lib/ldb/nrcc/alert-bar.svelte
similarity index 100%
rename from src/lib/ldb/alert-bar.svelte
rename to src/lib/ldb/nrcc/alert-bar.svelte
diff --git a/src/lib/ldb/public-ldb.svelte b/src/lib/ldb/public-ldb.svelte
index 16fbd9c..bc26675 100644
--- a/src/lib/ldb/public-ldb.svelte
+++ b/src/lib/ldb/public-ldb.svelte
@@ -4,7 +4,7 @@
import { onMount } from 'svelte';
import Loading from '$lib/navigation/loading.svelte';
import OverlayIsland from '$lib/islands/overlay-island.svelte';
- import AlertBar from './alert-bar.svelte';
+ import AlertBar from '$lib/ldb/nrcc/alert-bar.svelte';
let requestedStation;
$: requestedStation = station;
diff --git a/src/lib/ldb/staff/staff-ldb.svelte b/src/lib/ldb/staff/staff-ldb.svelte
index c35651b..ec65191 100644
--- a/src/lib/ldb/staff/staff-ldb.svelte
+++ b/src/lib/ldb/staff/staff-ldb.svelte
@@ -2,7 +2,7 @@
export let station = '';
export let title = 'Loading...';
import { onMount } from 'svelte';
- import AlertBar from '../alert-bar.svelte';
+ import AlertBar from '$lib/ldb/nrcc/alert-bar.svelte';
import ServiceRow from './service-row.svelte';
import StaffTrainDetail from '$lib/ldb/staff/train-detail.svelte';
import Reason from '$lib/raw-fetchers/reason.svelte';
diff --git a/src/lib/ldb/staff/train-detail.svelte b/src/lib/ldb/staff/train-detail.svelte
index 2e7040c..fcbdb68 100644
--- a/src/lib/ldb/staff/train-detail.svelte
+++ b/src/lib/ldb/staff/train-detail.svelte
@@ -111,12 +111,12 @@
{#if train.GetServiceDetailsResult.delayReason}
-
+ |
|
{/if}
{#if train.GetServiceDetailsResult.cancelReason}
-
+ |
|
{/if}