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

.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