From 6686a16bbfe8fd2af7d8d0e95b7b083cdd26ca4b Mon Sep 17 00:00:00 2001 From: Cassidy Dingenskirchen Date: Sun, 22 Oct 2023 14:43:41 +0200 Subject: departure board: restyled followee checkin notice, add it for hafas too --- templates/_departures_hafas.html.ep | 4 ++++ templates/_departures_iris.html.ep | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/templates/_departures_hafas.html.ep b/templates/_departures_hafas.html.ep index f611d8e..58bdb02 100644 --- a/templates/_departures_hafas.html.ep +++ b/templates/_departures_hafas.html.ep @@ -36,6 +36,10 @@ %= $result->destination + % for my $checkin (@{$checkin_by_train->{$result->id} // []}) { + + people <%= $checkin->{followee_name} %> → <%= $checkin->{arr_name} // '???' %> + % } diff --git a/templates/_departures_iris.html.ep b/templates/_departures_iris.html.ep index 237757c..2c47016 100644 --- a/templates/_departures_iris.html.ep +++ b/templates/_departures_iris.html.ep @@ -41,6 +41,11 @@ %= $result->destination + % for my $checkin (@{$checkin_by_train->{$result->train_id} // []}) { + + people <%= $checkin->{followee_name} %> → <%= $checkin->{arr_name} // '???' %> + + % } % } -- cgit v1.2.3