From b12b5a821b68b98aad646f1931c6c9775759952c Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 14 Jul 2019 21:29:52 +0200 Subject: Show departures of all linked stations Not well-tested yet, deployment will have to wait a bit. Issue #15 --- templates/_connections.html.ep | 8 ++++---- templates/departures.html.ep | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'templates') diff --git a/templates/_connections.html.ep b/templates/_connections.html.ep index cd9edc3..f1d8c2b 100644 --- a/templates/_connections.html.ep +++ b/templates/_connections.html.ep @@ -4,7 +4,7 @@ % if ($checkin_from) { - <%= $train->line %> + <%= $train->line %> % } % else { %= $train->line @@ -12,7 +12,7 @@ % if ($checkin_from) { - <%= $via %> + <%= $via %> % } % else { %= $via @@ -38,7 +38,7 @@ % if ($checkin_from) { - <%= $train->line %> + <%= $train->line %> % } % else { %= $train->line @@ -46,7 +46,7 @@ % if ($checkin_from) { - <%= $via %> + <%= $via %> % } % else { %= $via diff --git a/templates/departures.html.ep b/templates/departures.html.ep index 7e98d9c..9ab4340 100644 --- a/templates/departures.html.ep +++ b/templates/departures.html.ep @@ -64,12 +64,12 @@ % } - + <%= $result->line %> - + <%= $result->destination %> -- cgit v1.2.3