Node.js based forum software built for the modern web
fix: closes #11825, user icons in global privileges
Barış Soner Uşaklıdae4f9f7b604
diff --git a/public/scss/admin/manage/privileges.scss b/public/scss/admin/manage/privileges.scssindex e411bd94e6..f2d11eed4e 100644--- a/public/scss/admin/manage/privileges.scss+++ b/public/scss/admin/manage/privileges.scss@@ -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;diff --git a/src/views/admin/partials/privileges/global.tpl b/src/views/admin/partials/privileges/global.tplindex 614b3635a8..37953ba2dc 100644--- a/src/views/admin/partials/privileges/global.tpl+++ b/src/views/admin/partials/privileges/global.tpl@@ -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>