summaryrefslogtreecommitdiff
path: root/templates/_checked_in.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-08-03 12:35:47 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-08-03 12:35:47 +0200
commita48352ada44a7a5dde9817383434759c9b5a6497 (patch)
tree025f9ff77c4de07aac763dfd31aad639576a1c4a /templates/_checked_in.html.ep
parentff75b16bfc7123210517e52951856e92ff661398 (diff)
also show train direction on departure
Diffstat (limited to 'templates/_checked_in.html.ep')
-rw-r--r--templates/_checked_in.html.ep10
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/>