Translatable user groups & cutoff fix

Closes #318 (Typo: "irt Manager" instead of "Shirt Manager")
main
Igor Scheller 6 years ago committed by msquare
parent 414a21b3c6
commit 7762c0eb2b

@ -799,7 +799,8 @@ function User_groups_render($user_groups)
{
$output = [];
foreach ($user_groups as $group) {
$output[] = substr($group['Name'], 2);
$groupName = preg_replace('/(^\d+-)/', '', $group['Name']);
$output[] = __($groupName);
}
return div('col-md-3', [

Loading…
Cancel
Save