about summary refs log tree commit diff
path: root/app/views/admin/report_notes/_report_note.html.haml
blob: 1f621e0d3bef070c53c409a93b8585d028e483fd (plain) (blame)
1
2
3
4
5
6
7
8
9
%li
  %h4
    = report_note.account.acct
    %div{ style: 'float: right' }
      %time.formatted{ datetime: report_note.created_at.iso8601, title: l(report_note.created_at) }
        = l report_note.created_at
      = table_link_to 'trash', t('admin.reports.notes.delete'), admin_report_note_path(report_note), method: :delete if can?(:destroy, report_note)
  %div{ class: 'report-note__comment' }
    = simple_format(h(report_note.content))