Display "shift started" instead of "shift starts" when shift has already started.
This commit is contained in:
mia 2018-01-01 16:55:59 +00:00 committed by GitHub
parent 73ed2308c1
commit c83771ed62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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>';
} }