Skip to content
Permalink
Browse files

Ajout du badge des rôles dans l'interface des permissions.

  • Loading branch information...
noelma committed Jul 23, 2019
1 parent 986f616 commit 333f6fde07e51bdc0ef8fe49bfa737f4e9da1d0d
Showing with 4 additions and 1 deletion.
  1. +4 −1 core/modules/User/Views/page-permission.php
@@ -12,7 +12,10 @@
<th>Droit</th>
<?php foreach ($roles as $role): ?>

<th><?php echo $role[ 'role_label' ]; ?></th>
<th>
<span class="badge-role" style="background-color: <?php echo $role[ 'role_color' ]; ?>"></span>
<?php echo $role[ 'role_label' ]; ?>
</th>
<?php endforeach; ?>

</tr>

0 comments on commit 333f6fd

Please sign in to comment.
You can’t perform that action at this time.