From 1725719f07c99e7de67fa6b2981d060c1a385d81 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 5 Jun 2015 10:41:46 +0200 Subject: clean template: indicate changed platforms --- templates/clean.html.ep | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'templates/clean.html.ep') diff --git a/templates/clean.html.ep b/templates/clean.html.ep index 61ee6d6..2eb63ea 100644 --- a/templates/clean.html.ep +++ b/templates/clean.html.ep @@ -71,7 +71,7 @@ % elsif (defined $departure->{delay} and $departure->{delay} > 0) {
+<%= $departure->{delay} %>
% } - + % if (not $departure->{is_cancelled}) {
% if ($departure->{sched_arrival}) { @@ -138,7 +138,7 @@ % } % } - + % if ($departure->{info} and length $departure->{info}) { %= $departure->{info} @@ -171,7 +171,13 @@ % } % } % } - +% if ($departure->{scheduled_platform} and $departure->{platform} and +% $departure->{scheduled_platform} ne $departure->{platform}) { + +% } +% else { + +% } %= $departure->{platform} -- cgit v1.2.3