Fixes #401
Display "shift started" instead of "shift starts" when shift has already started.
This commit is contained in:
parent
73ed2308c1
commit
c83771ed62
|
@ -299,7 +299,7 @@ function User_shift_state_render($user)
|
||||||
|
|
||||||
if (time() < $halfway) {
|
if (time() < $halfway) {
|
||||||
return '<span class="text-danger moment-countdown" data-timestamp="' . $nextShift['start'] . '">'
|
return '<span class="text-danger moment-countdown" data-timestamp="' . $nextShift['start'] . '">'
|
||||||
. _('Shift starts %c')
|
. _('Shift started %c')
|
||||||
. '</span>';
|
. '</span>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue