Added account_flags_block partial to admin pages

• Added:
- account_flags_block partial to admin pages (groups, accounts, reports) so admin/moderators can easily see pro, verified, investor, donor, spam flags of an account
This commit is contained in:
Developer
2021-02-18 16:49:14 -05:00
parent c7df309df5
commit fa74c34095
5 changed files with 21 additions and 16 deletions

View File

@@ -10,8 +10,10 @@
= image_tag account.avatar.url, alt: '', width: 48, height: 48, class: 'u-photo'
.display-name
%span{id: "default_account_display_name", style: "display:none;"}= account.username
%bdi
%span{style: "display:flex;flex-direction:row;align-items:center;"}
%strong.emojify.p-name= display_name(account, custom_emojify: true)
%div{style: "margin-left:auto;"}
= render 'admin/accounts/account_flags_block', :account => @account
%span
= acct(account)
= fa_icon('lock') if account.locked?