summaryrefslogtreecommitdiff
path: root/includes/view
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2014-08-24 16:48:12 +0200
committerPhilip Häusler <msquare@notrademark.de>2014-08-24 16:48:12 +0200
commit9adaeaa97a36067ee718b2530d57e90f31eb92e5 (patch)
tree1e59a12e03feeae64274800f5c95b95a30d77882 /includes/view
parentfbdb8ae472fac193fef06b15d78dfd1c988c6b24 (diff)
shift state text update
Diffstat (limited to 'includes/view')
-rw-r--r--includes/view/User_view.php4
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) {