From b3b08238292d0e794a268defd82f76d522f71949 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 22 Jun 2019 17:02:04 +0200 Subject: show exit direction on kopfgleis platforms --- templates/_checked_in.html.ep | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'templates/_checked_in.html.ep') 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}) { -
auf Gleis <%= $journey->{arr_platform} %> + % if ($journey->{arr_direction} and $journey->{arr_direction} eq 'r') { +
Gleis <%= $journey->{arr_platform} %> ▶ + % } + % elsif ($journey->{arr_direction} and $journey->{arr_direction} eq 'l') { +
◀ Gleis <%= $journey->{arr_platform} %> + % } + % else { +
auf Gleis <%= $journey->{arr_platform} %> + % } % } % } % elsif ($journey->{arr_name}) { -- cgit v1.2.3