diff options
Diffstat (limited to 'templates/clean.html.ep')
-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 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) |