Added spam, other account flags to reports page table list items
• Added: - spam, other account flags to reports page table list items • Removed: - Account moderation notes count in reports table list item
This commit is contained in:
parent
2548205487
commit
5a5150757e
|
@ -23,8 +23,17 @@
|
||||||
.report-card__profile
|
.report-card__profile
|
||||||
= account_link_to target_account, '', size: 36, path: admin_account_path(target_account.id)
|
= account_link_to target_account, '', size: 36, path: admin_account_path(target_account.id)
|
||||||
.report-card__profile__stats
|
.report-card__profile__stats
|
||||||
= link_to pluralize(target_account.targeted_moderation_notes.count, t('admin.reports.account.note')), admin_account_path(target_account.id)
|
%div{ :style => "display:flex;flex-direction:row;margin-bottom:4px;" }
|
||||||
%br/
|
- if target_account.is_flagged_as_spam
|
||||||
|
%span{ :style => "display:inline-block;margin-right:4px;font-size:12px;background-color:#781600;border-radius:6px;color:#fff;width:40px;line-height:22px;font-weight:600;text-align:center;padding:2px 0 0 6px;" } SPAM
|
||||||
|
- if target_account.is_pro
|
||||||
|
%span{ :style => "display:inline-block;margin-right:4px;font-size:12px;background-color:#FFD700;border-radius:6px;color:#292929;width:24px;line-height:22px;font-weight:600;text-align:center;padding:2px 0 0 2px;" } P
|
||||||
|
- if target_account.is_verified
|
||||||
|
%span{ :style => "display:inline-block;margin-right:4px;font-size:12px;background-color:#fff;border-radius:6px;color:#292929;width:24px;line-height:22px;font-weight:600;text-align:center;padding:2px 0 0 2px;" } V
|
||||||
|
- if target_account.is_donor
|
||||||
|
%span{ :style => "display:inline-block;margin-right:4px;font-size:12px;background-color:#4EA6FF;border-radius:6px;color:#292929;width:24px;line-height:22px;font-weight:600;text-align:center;padding:2px 0 0 2px;" } D
|
||||||
|
- if target_account.is_investor
|
||||||
|
%span{ :style => "display:inline-block;font-size:12px;background-color:#6DD900;border-radius:6px;color:#292929;width:24px;line-height:22px;font-weight:600;text-align:center;padding:2px 0 0 2px;" } I
|
||||||
- if target_account.suspended?
|
- if target_account.suspended?
|
||||||
%span.red= t('admin.accounts.suspended')
|
%span.red= t('admin.accounts.suspended')
|
||||||
- elsif target_account.silenced?
|
- elsif target_account.silenced?
|
||||||
|
|
Loading…
Reference in New Issue