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/_departures_iris.html.ep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/_departures_iris.html.ep') diff --git a/templates/_departures_iris.html.ep b/templates/_departures_iris.html.ep index 56b5820..d96fd37 100644 --- a/templates/_departures_iris.html.ep +++ b/templates/_departures_iris.html.ep @@ -36,7 +36,7 @@ gps_off % } - + %= $result->line -- cgit v1.2.3