From 2ee5332ee5373b87c3a3305c7884f0aaaeb78906 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 7 Dec 2020 19:44:18 +0100 Subject: warn if a connecting train may not be reached --- templates/_connections.html.ep | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'templates') diff --git a/templates/_connections.html.ep b/templates/_connections.html.ep index b44841b..d09f0c0 100644 --- a/templates/_connections.html.ep +++ b/templates/_connections.html.ep @@ -50,6 +50,9 @@ % if ($train->departure_delay) { %= sprintf('(%+d)', $train->departure_delay) % } + % if ($train->{interchange_icon}) { + <%= $train->{interchange_icon} %> + % } % if ($train->platform) {
Gleis <%= $train->platform %> % } @@ -108,6 +111,9 @@ % if ($train->departure_delay) { %= sprintf('(%+d)', $train->departure_delay) % } + % if ($train->{interchange_icon}) { + <%= $train->{interchange_icon} %> + % } % } % if ($train->platform and not $train->departure_is_cancelled) { -- cgit v1.2.3