Sha256: 9b6afb1d700c0bbf158deba8eaeffa23be735172b6d760d9d42bdfdc554af03f

Contents?: true

Size: 821 Bytes

Versions: 2

Compression:

Stored size: 821 Bytes

Contents

- @page_title = _('Listing reports')

%table.reports-list
  %thead
    %tr
      %th= admin_order_by_link _('Name'), 'name'
      %th= admin_order_by_link _('Email'), 'email'
      %th=  _('User')
      %th= admin_order_by_link _('Allow contact'), 'allow_contact'
      %th= admin_order_by_link _('Created at'), 'created_at'
      %th= admin_order_by_link _('URL'), 'url'
      %th=  _('Reason')
      %th

  %tbody
    - @reports.each do |report|
      %tr.report
        %td= report.name
        %td= report.email
        %td= report.user&.username
        %td.is-icon= boolean_icon_tag report.allow_contact
        %td= report.created_at
        %td= link_to report.url, report.url, target: '_blank'
        %td= report.reason
        %td.actions
          .btn-group
            = admin_destroy_link 'report', report

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
elabs-2.0.0 app/views/elabs/admin/reports/index.html.haml
elabs-2.0.0.pre app/views/elabs/admin/reports/index.html.haml