From 49f81c0c52bf121e3e7210aa7ef8ee352f938b71 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 24 Apr 2019 07:52:37 +0200 Subject: [PATCH] oops --- templates/_checked_in.html.ep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep index d895ecb..34b8c86 100644 --- a/templates/_checked_in.html.ep +++ b/templates/_checked_in.html.ep @@ -32,7 +32,7 @@ Abfahrt in <%= sprintf('%.f', $status->{departure_countdown} / 60) %> Minuten % } % elsif (defined $status->{arrival_countdown}) { - % if ($status->{arrival_countdown} > 1) { + % if ($status->{arrival_countdown} > 60) { Ankunft in <%= sprintf('%.f', $status->{arrival_countdown} / 60) %> Minute<%= sprintf('%.f', $status->{arrival_countdown} / 60) == 1 ? '' : 'n' %> % }