logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

index.html.haml (682B)


  1. - content_for :page_title do
  2. = t('admin.invites.title')
  3. .filters
  4. .filter-subset
  5. %strong= t('admin.invites.filter.title')
  6. %ul
  7. %li= filter_link_to t('admin.invites.filter.all'), available: nil, expired: nil
  8. %li= filter_link_to t('admin.invites.filter.available'), available: 1, expired: nil
  9. %li= filter_link_to t('admin.invites.filter.expired'), available: nil, expired: 1
  10. - if policy(:invite).create?
  11. %p= t('invites.prompt')
  12. = render 'invites/form'
  13. %hr/
  14. %table.table
  15. %thead
  16. %tr
  17. %th
  18. %th= t('invites.table.uses')
  19. %th= t('invites.table.expires_at')
  20. %th
  21. %th
  22. %tbody
  23. = render @invites
  24. = paginate @invites