diff options
-rw-r--r-- | templates/clean.html.ep | 6 |
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) |