From ffa1110d6422d276e9dea51da88e938247062ca2 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sun, 30 Mar 2025 17:08:46 +0200 Subject: departures_dbris: handle departures with missing destination Closes #218 --- templates/_departures_dbris.html.ep | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/_departures_dbris.html.ep b/templates/_departures_dbris.html.ep index 06f2ee9..dbd1a70 100644 --- a/templates/_departures_dbris.html.ep +++ b/templates/_departures_dbris.html.ep @@ -38,10 +38,10 @@ % if ($result->is_cancelled) { - Fahrt nach <%= $result->destination %> entfällt + Fahrt nach <%= $result->destination // $result->via_last %> entfällt % } % else { - %= $result->destination + %= $result->destination // $result->via_last % for my $checkin (@{$checkin_by_train->{$result->id} // []}) { people -- cgit v1.2.3