about summary refs log tree commit diff
path: root/app/views/admin/accounts/index.html.haml
blob: aac2f99a8a5da82c5faf4abecc768ca0998c19e8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
%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