diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-08-03 12:35:47 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-08-03 12:35:47 +0200 |
commit | a48352ada44a7a5dde9817383434759c9b5a6497 (patch) | |
tree | 025f9ff77c4de07aac763dfd31aad639576a1c4a /templates/_checked_in.html.ep | |
parent | ff75b16bfc7123210517e52951856e92ff661398 (diff) |
also show train direction on departure
Diffstat (limited to 'templates/_checked_in.html.ep')
-rw-r--r-- | templates/_checked_in.html.ep | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep index 7dce308..2e5569a 100644 --- a/templates/_checked_in.html.ep +++ b/templates/_checked_in.html.ep @@ -42,7 +42,15 @@ Ankunft in mehr als zwei Stunden % } % if ($journey->{departure_countdown} > 0 and $journey->{dep_platform}) { - <br/>von Gleis <%= $journey->{dep_platform} %> + % if ($journey->{dep_direction} and $journey->{dep_direction} eq 'r') { + <br/>Gleis <%= $journey->{dep_platform} %> ▶ + % } + % elsif ($journey->{dep_direction} and $journey->{dep_direction} eq 'l') { + <br/>◀ Gleis <%= $journey->{dep_platform} %> + % } + % else { + <br/>von Gleis <%= $journey->{dep_platform} %> + % } % } % if (my $wr = $journey->{wagonorder}) { <br/> |