about summary refs log tree commit diff
path: root/app/views/admin/disputes/appeals/index.html.haml
blob: dd6a6f403f10e7931b0a7aac57d6cb8cd60ab283 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
- content_for :page_title do
  = t('admin.disputes.appeals.title')

- content_for :header_tags do
  = javascript_pack_tag 'admin', async: true, crossorigin: 'anonymous'

.filters
  .filter-subset
    %strong= t('admin.tags.review')
    %ul
      %li= filter_link_to safe_join([t('admin.accounts.moderation.pending'), "(#{Appeal.pending.count})"], ' '), status: 'pending'
      %li= filter_link_to t('admin.trends.approved'), status: 'approved'
      %li= filter_link_to t('admin.trends.rejected'), status: 'rejected'

- if @appeals.empty?
  %div.muted-hint.center-text
    = t 'admin.disputes.appeals.empty'
- else
  .announcements-list
    = render partial: 'appeal', collection: @appeals

= paginate @appeals