diff options
| author | Daniel Friesel <derf@finalrewind.org> | 2019-04-23 20:00:03 +0200 | 
|---|---|---|
| committer | Daniel Friesel <derf@finalrewind.org> | 2019-04-23 20:00:03 +0200 | 
| commit | 5af134ef1ec968597a8fb9feb44372657d178bb8 (patch) | |
| tree | 897e06b123ef4b5e1b047f1133a78770fd9f25ad | |
| parent | e168d9cd39c38b8e5a1994c8bf11376d26e9ea77 (diff) | |
landingpage: Fix plural for "0 minutes"
| -rw-r--r-- | templates/landingpage.html.ep | 2 | 
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) {  | 
