From 5bf1318cf5980511301ac542f5c0096dfccb0dbd Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 17 Aug 2022 21:45:43 +0200 Subject: connections: do not allow checkin while still in transit fixes bug introduced by f01f108f94f53846268188d8e9a63ad36613bcab --- templates/_connections.html.ep | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/templates/_connections.html.ep b/templates/_connections.html.ep index 9b009df..ca2a6ba 100644 --- a/templates/_connections.html.ep +++ b/templates/_connections.html.ep @@ -7,7 +7,12 @@ % $td_class = 'cancelled'; % $link_class = 'action-cancelled-from'; % } - + % if ($checkin_from) { + + % } + % else { + + % } % if ($checkin_from) { <%= $train->line %> @@ -70,7 +75,12 @@ % $td_class = 'cancelled'; % $link_class = 'action-cancelled-from'; % } - + % if ($checkin_from) { + + % } + % else { + + % } % if ($checkin_from) { <%= $train->line %> -- cgit v1.2.3