mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: closes #11825, user icons in global privileges
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
100% {background-color: white;}
|
100% {background-color: white;}
|
||||||
}
|
}
|
||||||
|
|
||||||
[data-group-name].selected, [data-uid].selected {
|
tr[data-group-name].selected, tr[data-uid].selected {
|
||||||
animation-name: fadeOut;
|
animation-name: fadeOut;
|
||||||
animation-duration: 5s;
|
animation-duration: 5s;
|
||||||
animation-fill-mode: both;
|
animation-fill-mode: both;
|
||||||
|
|||||||
@@ -94,18 +94,15 @@
|
|||||||
{{{ each privileges.users }}}
|
{{{ each privileges.users }}}
|
||||||
<tr data-uid="{privileges.users.uid}"{{{ if privileges.users.banned }}} data-banned{{{ end }}}>
|
<tr data-uid="{privileges.users.uid}"{{{ if privileges.users.banned }}} data-banned{{{ end }}}>
|
||||||
<td>
|
<td>
|
||||||
{{{ if ./picture }}}
|
{buildAvatar(privileges.users, "24px", true)}
|
||||||
<img class="avatar avatar-sm" src="{privileges.users.picture}" title="{privileges.users.username}" alt="" />
|
|
||||||
{{{ else }}}
|
|
||||||
<div class="avatar avatar-sm" style="background-color: {../icon:bgColor};">{../icon:text}</div>
|
|
||||||
{{{ end }}}
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
{{{ if privileges.users.banned }}}
|
{{{ if privileges.users.banned }}}
|
||||||
<i class="ban fa fa-gavel text-danger" title="[[admin/manage/categories:privileges.banned-user-inheritance]]"></i>
|
<i class="ban fa fa-gavel text-danger" title="[[admin/manage/categories:privileges.banned-user-inheritance]]"></i>
|
||||||
{{{ end }}}
|
{{{ end }}}
|
||||||
{privileges.users.username}
|
{privileges.users.username}
|
||||||
</td>
|
</td>
|
||||||
|
<td>
|
||||||
|
<!-- need this empty -->
|
||||||
|
</td>
|
||||||
<td class="text-center"><input autocomplete="off" type="checkbox" class="checkbox-helper"></td>
|
<td class="text-center"><input autocomplete="off" type="checkbox" class="checkbox-helper"></td>
|
||||||
{function.spawnPrivilegeStates, privileges.users.username, ../privileges}
|
{function.spawnPrivilegeStates, privileges.users.username, ../privileges}
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
Reference in New Issue
Block a user