summaryrefslogtreecommitdiff
path: root/templates/landingpage.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/landingpage.html.ep')
-rw-r--r--templates/landingpage.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/landingpage.html.ep b/templates/landingpage.html.ep
index cd14f5c..26bae8d 100644
--- a/templates/landingpage.html.ep
+++ b/templates/landingpage.html.ep
@@ -36,7 +36,7 @@
<p>
Abfahrt
% if ($dep_wait > 0) {
- in <%= int(($status->{real_departure}->epoch - $now->epoch)/60) %> Minute<%= $dep_wait >= 2 ? 'n' : '' %>
+ in <%= int(($status->{real_departure}->epoch - $now->epoch)/60) %> Minute<%= $dep_wait == 1 ? '' : 'n' %>
% }
um <b><%= $status->{real_departure}->strftime('%H:%M') %></b>
% if ($status->{real_departure}->epoch != $status->{sched_departure}->epoch) {