diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2025-03-30 17:08:46 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2025-03-30 17:08:46 +0200 |
commit | ffa1110d6422d276e9dea51da88e938247062ca2 (patch) | |
tree | 730f5cb19526e04c6d5ab49a6bcfcec87f0fbbd4 | |
parent | b841b9a177eaf94a66ff9e46530eacb7a5f60c83 (diff) |
departures_dbris: handle departures with missing destination
Closes #218
-rw-r--r-- | templates/_departures_dbris.html.ep | 4 |
1 files 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 @@ </span> <span class="dep-dest"> % 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} // []}) { <span class="followee-checkin"> <i class="material-icons tiny" aria-label="Eine Person, der du folgst, ist hier eingecheckt">people</i> |