diff options
author | Daniel Friesel <derf@finalrewind.org> | 2022-11-20 22:30:26 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2022-11-20 22:30:26 +0100 |
commit | d20116d8dafb4e84b5c8b5593a3fad7365024e0b (patch) | |
tree | 7e0d0a5ea6db5394dcd9411f300011a768450b1a /templates/_train_details.html.ep | |
parent | 99e4ea32f2902194052a829d62d3ec9fea6ba0e1 (diff) |
indicate entry/exit only stops in train details
Diffstat (limited to 'templates/_train_details.html.ep')
-rw-r--r-- | templates/_train_details.html.ep | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/templates/_train_details.html.ep b/templates/_train_details.html.ep index 9ea3581..167068e 100644 --- a/templates/_train_details.html.ep +++ b/templates/_train_details.html.ep @@ -43,7 +43,7 @@ <div class="mfooter"> <div class="dataline"> <div> - <div class="arrival"> + <div class="arrival <%= $departure->{arrival_hidden} ? 'timehidden' : q{} %>"> % if ($departure->{is_cancelled} and $departure->{sched_arrival}) { <span class="minfo">An: ––:––</span><br/>Plan: <%= $departure->{sched_arrival} %> % } @@ -88,10 +88,16 @@ <%= $left %>Gleis <%= $departure->{platform} // $departure->{scheduled_platform} %><%= $right %> % } % } +% if ($departure->{arrival_hidden}) { + <br/><span class="timehidden">Nur Einstieg</span> +% } +% if ($departure->{departure_hidden}) { + <br/><span class="timehidden">Nur Ausstieg</span> +% } </div> </div> <div> - <div class="departure"> + <div class="departure <%= $departure->{departure_hidden} ? 'timehidden' : q{} %>"> % if ($departure->{is_cancelled} and $departure->{sched_departure}) { <span class="minfo">Ab: ––:––</span><br/>Plan: <%= $departure->{sched_departure} %> % } |