_checked_in: Fix misleading output on arrival_countdown == 0
This commit is contained in:
parent
438319e63a
commit
e726d076c3
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@
|
|||
% if ($status->{departure_countdown} > 120) {
|
||||
Abfahrt in <%= int($status->{departure_countdown} / 60) %> Minuten
|
||||
% }
|
||||
% elsif ($status->{arrival_countdown}) {
|
||||
% elsif (defined $status->{arrival_countdown}) {
|
||||
% if ($status->{arrival_countdown} > 0) {
|
||||
Ankunft in <%= int($status->{arrival_countdown} / 60) %>
|
||||
Minute<%= int($status->{arrival_countdown} / 60) == 1 ? '' : 'n' %>
|
||||
|
|
Loading…
Reference in a new issue