From 7bf99b00a5064d231641b1309adacf6f1e8f42cb Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Fri, 27 Oct 2023 18:34:02 +0200 Subject: Use $train->type rather than firts part of $train->line for CSS class In some cases (e.g. in Belgium), trains do not have a type, so the first part of $train->line is the train number instead. --- templates/_connections.html.ep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/_connections.html.ep') diff --git a/templates/_connections.html.ep b/templates/_connections.html.ep index 2a89d9b..97c53e0 100644 --- a/templates/_connections.html.ep +++ b/templates/_connections.html.ep @@ -36,7 +36,7 @@ % if ($train->platform) { Gleis <%= $train->platform %> % } - + %= $train->line -- cgit v1.2.3