diff options
author | Daniel Friesel <derf@finalrewind.org> | 2023-01-14 09:54:26 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2023-01-14 09:54:26 +0100 |
commit | 49463c761974b19826a16270c9e884a4fc298a31 (patch) | |
tree | 312e014776df329b4cd82714911e93d36fb2a99e /templates/_train_details.html.ep | |
parent | 8da6180bf186523af9aadd51ff5512a278f3e300 (diff) |
train details: show expected arrival time at first stop, if available4.14.10
Diffstat (limited to 'templates/_train_details.html.ep')
-rw-r--r-- | templates/_train_details.html.ep | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/_train_details.html.ep b/templates/_train_details.html.ep index 3e07cf8..ab6ea45 100644 --- a/templates/_train_details.html.ep +++ b/templates/_train_details.html.ep @@ -64,6 +64,9 @@ An: <%= $departure->{arrival} %> % } % } +% elsif ($departure->{prep_time}) { + Ein: <%= $departure->{prep_time} %> +% } </div> </div> <div> @@ -88,7 +91,7 @@ <%= $left %>Gleis <%= $departure->{platform} // $departure->{scheduled_platform} %><%= $right %> % } % } -% if ($departure->{arrival_hidden}) { +% if ($departure->{arrival_hidden} and not $departure->{prep_time}) { <br/><span class="timehidden">Nur Einstieg</span> % } % if ($departure->{departure_hidden}) { |