Loading src/UnicaenUtilisateur/Controller/RoleController.php +2 −0 Changes for src/UnicaenUtilisateur/Controller/RoleController.php: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -34,6 +34,8 @@ class RoleController extends AbstractActionController { /** @var RoleInterface[] $roles */ $roles = $this->roleService->findAll(); $ip = $this->identityProviders; return new ViewModel([ 'title' => "Gestion des rôles", 'roles' => $roles, Loading view/unicaen-utilisateur/role/index.phtml +1 −1 Changes for view/unicaen-utilisateur/role/index.phtml: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -81,7 +81,7 @@ $canEffacer = $this->isAllowed(RolePrivileges::getResourceId(RolePrivileges: } ?> <?php if($result): ?> <i class="fas fa-user"></i> <?php echo $nbUser; ?> <i class="fas fa-user"></i> <?php echo count($result); ?> <?php else: ?> <span class="text-warning"><i class="fas fa-exclamation-triangle"></i> Aucune méthode de calcul associée à ce rôle automatique.</span> <?php endif; ?> Loading Loading
src/UnicaenUtilisateur/Controller/RoleController.php +2 −0 Changes for src/UnicaenUtilisateur/Controller/RoleController.php: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -34,6 +34,8 @@ class RoleController extends AbstractActionController { /** @var RoleInterface[] $roles */ $roles = $this->roleService->findAll(); $ip = $this->identityProviders; return new ViewModel([ 'title' => "Gestion des rôles", 'roles' => $roles, Loading
view/unicaen-utilisateur/role/index.phtml +1 −1 Changes for view/unicaen-utilisateur/role/index.phtml: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -81,7 +81,7 @@ $canEffacer = $this->isAllowed(RolePrivileges::getResourceId(RolePrivileges: } ?> <?php if($result): ?> <i class="fas fa-user"></i> <?php echo $nbUser; ?> <i class="fas fa-user"></i> <?php echo count($result); ?> <?php else: ?> <span class="text-warning"><i class="fas fa-exclamation-triangle"></i> Aucune méthode de calcul associée à ce rôle automatique.</span> <?php endif; ?> Loading