If the user has hidden role assignments, the icon should be the closed eye. MDL-13935 ; merged from 19_STABLE
This commit is contained in:
+1
-1
@@ -681,7 +681,7 @@
|
||||
$user = make_context_subobj($user);
|
||||
if ( !empty($user->hidden) ) {
|
||||
// if the assignment is hidden, display icon
|
||||
$hidden = " <img src=\"{$CFG->pixpath}/t/hide.gif\" alt=\"".get_string('hiddenassign')."\" class=\"hide-show-image\"/>";
|
||||
$hidden = " <img src=\"{$CFG->pixpath}/t/show.gif\" title=\"".get_string('userhashiddenassignments', 'role')."\" alt=\"".get_string('hiddenassign')."\" class=\"hide-show-image\"/>";
|
||||
} else {
|
||||
$hidden = '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user