summaryrefslogtreecommitdiff
path: root/templates/clean.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2017-07-02 18:41:00 +0200
committerDaniel Friesel <derf@finalrewind.org>2017-07-02 18:41:00 +0200
commit428d1581d5dc72f340ac17ca8087023fcd95c078 (patch)
tree781a630cff8b4754018dae0cf89a1b6af9ea3a14 /templates/clean.html.ep
parent63dcc39f08b7726bae3859a5341b4ed0d71345bf (diff)
parent678d410e44ed8b36d21b2f1b720a9cb77d213e56 (diff)
Merge branch 'master' of github.com:derf/db-fakedisplay1.11
Diffstat (limited to 'templates/clean.html.ep')
-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 7d63577..c2cd524 100644
--- a/templates/clean.html.ep
+++ b/templates/clean.html.ep
@@ -99,12 +99,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)