summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2017-06-22 06:52:48 +0200
committerDaniel Friesel <derf@finalrewind.org>2017-06-22 06:52:48 +0200
commit9bba5357b84fa048e8f4afd424480d3c5b909466 (patch)
tree120b4b7dbf2c565f84cfac96e772fc2c71966f65 /templates
parent51e7e74cd55c5e51403c023edf04a31903a7c694 (diff)
Format platform line like arrival/departure lines in infoscreen detail view
Diffstat (limited to 'templates')
-rw-r--r--templates/clean.html.ep6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/clean.html.ep b/templates/clean.html.ep
index 1c64c20..eee9f03 100644
--- a/templates/clean.html.ep
+++ b/templates/clean.html.ep
@@ -98,12 +98,12 @@
</div> <!-- mheader -->
<div class="mfooter">
<div class="platforminfo">
-% if ($departure->{platform}) {
- Gleis <%= $departure->{platform} %>
+% if ($departure->{scheduled_platform} or $departure->{platform}) {
+ Gleis <%= $departure->{scheduled_platform} // $departure->{platform} %>
% }
% if ($departure->{scheduled_platform} and $departure->{platform}
% and $departure->{scheduled_platform} ne $departure->{platform}) {
- (nicht Gleis <%= $departure->{scheduled_platform} %>)
+ (heute Gleis <%= $departure->{platform} %>)
% }
% elsif ($departure->{changed_platform}) {
(Gleiswechsel)