forked from specter/mastodon
7bb8b0b2fc
* Add moderator role and add pundit policies for admin actions * Add rake task for turning user into mod and revoking it again * Fix handling of unauthorized exception * Deliver new report e-mails to staff, not just admins * Add promote/demote to admin UI, hide some actions conditionally * Fix unused i18n
11 lines
472 B
Plaintext
11 lines
472 B
Plaintext
%tr
|
|
%td
|
|
= simple_format(h(account_moderation_note.content))
|
|
%td
|
|
= account_moderation_note.account.acct
|
|
%td
|
|
%time.formatted{ datetime: account_moderation_note.created_at.iso8601, title: l(account_moderation_note.created_at) }
|
|
= l account_moderation_note.created_at
|
|
%td
|
|
= link_to t('admin.account_moderation_notes.delete'), admin_account_moderation_note_path(account_moderation_note), method: :delete if can?(:destroy, account_moderation_note)
|