about summary refs log tree commit diff
path: root/app/views/admin/accounts
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin/accounts')
-rw-r--r--app/views/admin/accounts/index.html.haml19
1 files changed, 19 insertions, 0 deletions
diff --git a/app/views/admin/accounts/index.html.haml b/app/views/admin/accounts/index.html.haml
index e69de29bb..aac2f99a8 100644
--- a/app/views/admin/accounts/index.html.haml
+++ b/app/views/admin/accounts/index.html.haml
@@ -0,0 +1,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