Browse Source

Add number of permission in user permission tab

Maxime Kohlhaas 9 years ago
parent
commit
3718121cee
1 changed files with 1 additions and 1 deletions
  1. 1 1
      htdocs/core/lib/usergroups.lib.php

+ 1 - 1
htdocs/core/lib/usergroups.lib.php

@@ -62,7 +62,7 @@ function user_prepare_head($object)
 	if ($canreadperms)
 	{
 		$head[$h][0] = DOL_URL_ROOT.'/user/perms.php?id='.$object->id;
-		$head[$h][1] = $langs->trans("UserRights");
+		$head[$h][1] = $langs->trans("UserRights"). ' <span class="badge">'.($object->nb_rights).'</span>';
 		$head[$h][2] = 'rights';
 		$h++;
 	}