display user permissions - closes #1344
This commit is contained in:
parent
dadcb181e1
commit
28435dcd1e
|
@ -160,6 +160,11 @@
|
||||||
Took @n.millis ms.
|
Took @n.millis ms.
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
@if(isGranted(_.Admin) && u.roles.nonEmpty) {
|
||||||
|
<div class="mod_roles">
|
||||||
|
Mod permissions: @u.roles.mkString(", ")
|
||||||
|
</div>
|
||||||
|
}
|
||||||
<table class="slist">
|
<table class="slist">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
|
@ -334,7 +334,8 @@ div.user_show .mod_zone .actions {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
div.user_show .mod_zone .neural {
|
div.user_show .mod_zone .neural,
|
||||||
|
div.user_show .mod_zone .mod_roles {
|
||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
}
|
}
|
||||||
div.user_show .mod_zone .neural strong {
|
div.user_show .mod_zone .neural strong {
|
||||||
|
|
Loading…
Reference in a new issue