mirror of
https://github.com/mastodon/mastodon.git
synced 2024-10-21 00:56:14 +00:00
564efd0651
* Add appeals * Add ability to reject appeals and ability to browse pending appeals in admin UI * Add strikes to account page in settings * Various fixes and improvements - Add separate notification setting for appeals, separate from reports - Fix style of links in report/strike header - Change approving an appeal to not restore statuses (due to federation complexities) - Change style of successfully appealed strikes on account settings page - Change account settings page to only show unappealed or recently appealed strikes * Change appealed_at to overruled_at * Fix missing method error
19 lines
779 B
Plaintext
19 lines
779 B
Plaintext
.report-notes__item
|
|
= image_tag report_note.account.avatar.url, class: 'report-notes__item__avatar'
|
|
|
|
.report-notes__item__header
|
|
%span.username
|
|
= link_to report_note.account.username, admin_account_path(report_note.account_id)
|
|
%time{ datetime: report_note.created_at.iso8601, title: l(report_note.created_at) }
|
|
- if report_note.created_at.today?
|
|
= t('admin.report_notes.today_at', time: l(report_note.created_at, format: :time))
|
|
- else
|
|
= l report_note.created_at.to_date
|
|
|
|
.report-notes__item__content
|
|
= simple_format(h(report_note.content))
|
|
|
|
- if can?(:destroy, report_note)
|
|
.report-notes__item__actions
|
|
= table_link_to 'trash', t('admin.reports.notes.delete'), admin_report_note_path(report_note), method: :delete
|