small improvements of user view
This commit is contained in:
parent
1a22a6d410
commit
b59d17918e
|
@ -227,8 +227,9 @@ function user_controller()
|
||||||
|
|
||||||
if($user_source['force_active']) {
|
if($user_source['force_active']) {
|
||||||
$tshirt_score = _('Enough');
|
$tshirt_score = _('Enough');
|
||||||
|
success(_('You have done enough to get a t-shirt.'));
|
||||||
} else {
|
} else {
|
||||||
$tshirt_score = round(User_tshirt_score($user_source), 2) . 'h';
|
$tshirt_score = round(User_tshirt_score($user_source), 2) . ' h';
|
||||||
}
|
}
|
||||||
|
|
||||||
return [
|
return [
|
||||||
|
|
Loading…
Reference in New Issue