summaryrefslogtreecommitdiff
path: root/templates/_checked_in.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-06-22 17:02:04 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-06-22 17:02:04 +0200
commitb3b08238292d0e794a268defd82f76d522f71949 (patch)
tree980e312a32c01cf3a38d6b93b30941ee539f524e /templates/_checked_in.html.ep
parent75aa4a961a003450063befaa7e08bf6727c597cb (diff)
show exit direction on kopfgleis platforms
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 2a25721..91cd37a 100644
--- a/templates/_checked_in.html.ep
+++ b/templates/_checked_in.html.ep
@@ -27,7 +27,15 @@
Ziel erreicht
% }
% if ($journey->{arrival_countdown} < (60 * 15) and $journey->{arr_platform}) {
- <br/>auf Gleis <%= $journey->{arr_platform} %>
+ % if ($journey->{arr_direction} and $journey->{arr_direction} eq 'r') {
+ <br/>Gleis <%= $journey->{arr_platform} %> ▶
+ % }
+ % elsif ($journey->{arr_direction} and $journey->{arr_direction} eq 'l') {
+ <br/>◀ Gleis <%= $journey->{arr_platform} %>
+ % }
+ % else {
+ <br/>auf Gleis <%= $journey->{arr_platform} %>
+ % }
% }
% }
% elsif ($journey->{arr_name}) {