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