summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-04-24 07:52:37 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-04-24 07:52:37 +0200
commit49f81c0c52bf121e3e7210aa7ef8ee352f938b71 (patch)
tree5e2c2e4712ec313266d0d649fea2adad3c0ab5f6 /templates
parentdef2fedf986fea8c10a3d44339b6f0d0fe46e54c (diff)
oops
Diffstat (limited to 'templates')
-rw-r--r--templates/_checked_in.html.ep2
1 files changed, 1 insertions, 1 deletions
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' %>
% }