diff options
author | Daniel Friesel <derf@finalrewind.org> | 2022-09-24 18:53:04 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2022-09-24 18:53:04 +0200 |
commit | e54130ad6ea805cc04db17a3f614cb4bd25ca3f0 (patch) | |
tree | 4ffe1b52cc44a2c75c1614d5c36c244d06716609 /templates/_checked_in.html.ep | |
parent | 1c7779e94ef6859348570b9c1b5f2f8a27e32c1f (diff) |
optionally show local transit connections as well
Diffstat (limited to 'templates/_checked_in.html.ep')
-rw-r--r-- | templates/_checked_in.html.ep | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep index 040c5de..dcf9ddc 100644 --- a/templates/_checked_in.html.ep +++ b/templates/_checked_in.html.ep @@ -200,6 +200,13 @@ % } %= include '_connections', connections => \@connections, checkin_from => $journey->{arrival_countdown} < 0 ? $journey->{arr_ds100} : undef; % } + % if (my @transit_fyi = @{stash('transit_fyi') // []}) { + <span class="card-title" style="margin-top: 2ex;">Nahverkehr</span> + % if ($journey->{arrival_countdown} < 0) { + <p>Nur zur Information – kein Checkin möglich.</p> + % } + %= include '_transit_fyi', transit_fyi => \@transit_fyi; + % } % if (defined $journey->{arrival_countdown} and $journey->{arrival_countdown} <= 0) { <p style="margin-top: 2ex;"> Der automatische Checkout erfolgt wegen gelegentlich veralteter |