about summary refs log tree commit diff
path: root/app/views/admin/accounts/index.html.haml
blob: 32474c2a4ff0bb2a48b5b27e703c725e87a161cb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
%table.table
  %thead
    %tr
      %th Username
      %th Domain
      %th Subscribed
  %tbody
    - @accounts.each do |account|
      %tr
        %td= account.username
        %td= account.domain
        %th
          - if account.local?
            Local
          - elsif account.subscribed?
            %i.fa.fa-check
          - else
            %i.fa.fa-times

= will_paginate @accounts, pagination_options