Updated account_flags_block to only be visible for staff
• Updated: - account_flags_block to only be visible for staff
This commit is contained in:
parent
fea1b9389b
commit
c85ad3e92a
|
@ -1,4 +1,5 @@
|
||||||
%div{ :style => "display:flex;flex-direction:row;" }
|
- if current_user&.staff?
|
||||||
|
%div{ :style => "display:flex;flex-direction:row;" }
|
||||||
- if account.is_flagged_as_spam
|
- if 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;padding:2px 0 0 6px;" } 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;padding:2px 0 0 6px;" } SPAM
|
||||||
- if account.is_pro
|
- if account.is_pro
|
||||||
|
|
Loading…
Reference in New Issue