index.html.haml 605 B

12345678910111213141516171819
  1. - content_for :page_title do
  2. = t('admin.disputes.appeals.title')
  3. .filters
  4. .filter-subset
  5. %strong= t('admin.tags.review')
  6. %ul
  7. %li= filter_link_to safe_join([t('admin.accounts.moderation.pending'), "(#{Appeal.pending.count})"], ' '), status: 'pending'
  8. %li= filter_link_to t('admin.trends.approved'), status: 'approved'
  9. %li= filter_link_to t('admin.trends.rejected'), status: 'rejected'
  10. - if @appeals.empty?
  11. .muted-hint.center-text
  12. = t 'admin.disputes.appeals.empty'
  13. - else
  14. .announcements-list
  15. = render partial: 'appeal', collection: @appeals
  16. = paginate @appeals