Add badge on account card in report moderation interface when account is already suspended (#29592)
This commit is contained in:
parent
39839baec3
commit
cf08a438e7
3 changed files with 22 additions and 0 deletions
|
@ -1,5 +1,11 @@
|
|||
.report-header__card
|
||||
.account-card
|
||||
- if report.target_account.suspended?
|
||||
.account-card__warning-badge
|
||||
- if report.target_account.suspension_origin_local?
|
||||
= t('admin.reports.already_suspended_badges.local')
|
||||
- else
|
||||
= t('admin.reports.already_suspended_badges.remote')
|
||||
.account-card__header
|
||||
= image_tag report.target_account.header.url, alt: ''
|
||||
.account-card__title
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue