diff options
author | Philip Häusler <msquare@notrademark.de> | 2014-08-24 16:48:12 +0200 |
---|---|---|
committer | Philip Häusler <msquare@notrademark.de> | 2014-08-24 16:48:12 +0200 |
commit | 9adaeaa97a36067ee718b2530d57e90f31eb92e5 (patch) | |
tree | 1e59a12e03feeae64274800f5c95b95a30d77882 /includes/view | |
parent | fbdb8ae472fac193fef06b15d78dfd1c988c6b24 (diff) |
shift state text update
Diffstat (limited to 'includes/view')
-rw-r--r-- | includes/view/User_view.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/view/User_view.php b/includes/view/User_view.php index b71f99cf..4c783644 100644 --- a/includes/view/User_view.php +++ b/includes/view/User_view.php @@ -36,9 +36,9 @@ function User_shift_state_render($user) { $halfway = ($upcoming_shifts[0]['start'] + $upcoming_shifts[0]['end']) / 2; if (time() < $halfway) - return '<span class="text-danger moment-countdown" data-timestamp="' . $upcoming_shifts[0]['start'] . '">' . _("Shift start %c") . '</span>'; + return '<span class="text-danger moment-countdown" data-timestamp="' . $upcoming_shifts[0]['start'] . '">' . _("Shift starts %c") . '</span>'; else - return '<span class="text-danger moment-countdown" data-timestamp="' . $upcoming_shifts[0]['end'] . '">' . _("Shift end %c") . '</span>'; + return '<span class="text-danger moment-countdown" data-timestamp="' . $upcoming_shifts[0]['end'] . '">' . _("Shift ends %c") . '</span>'; } function User_view($user_source, $admin_user_privilege, $freeloader, $user_angeltypes, $user_groups, $shifts, $its_me) { |