From 3993e553d1649ec01d49d9640547cd19392d3f9e Mon Sep 17 00:00:00 2001 From: msquare Date: Fri, 29 Dec 2017 13:12:56 +0100 Subject: small improvements of user view --- includes/view/User_view.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'includes/view') diff --git a/includes/view/User_view.php b/includes/view/User_view.php index 8d47dc47..71bee3a0 100644 --- a/includes/view/User_view.php +++ b/includes/view/User_view.php @@ -419,6 +419,10 @@ function User_view_myshifts($shifts, $user_source, $its_me, $tshirt_score, $tshi $timesum += ($shift['end'] - $shift['start']); } } + + if($user_source['force_active']) { + $myshifts_table[] = success(_('You have done enough to get a t-shirt.'), true); + } if (count($myshifts_table) > 0) { $myshifts_table[] = [ -- cgit v1.2.3-54-g00ecf