From ec44cff9a2e7e5a522f2c0685745f1ab6d58436f Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sat, 3 Dec 2016 19:08:07 +0100 Subject: Admin accounts page lists accounts --- app/views/admin/accounts/index.html.haml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'app/views/admin/accounts/index.html.haml') 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 -- cgit