diff options
-rw-r--r-- | index.pl | 2 | ||||
-rw-r--r-- | templates/clean.html.ep | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -75,7 +75,7 @@ sub get_results_for { station => $station, main_cache => $cache_iris_main, realtime_cache => $cache_iris_rt, - lookbehind => 60, + lookbehind => 20, %opt ); $data = { 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) |