diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-02-15 00:22:58 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-02-15 00:22:58 +0100 |
commit | 5426f06ac29b9ef4d302d3f2d13b315dcf89e079 (patch) | |
tree | d4a3c2b1e5cefc544748e46ed34471a3da345a14 /app/views/admin/accounts/index.html.haml | |
parent | 0a2427f79b90f82100b3a4ebe95ceb488cbb5a1d (diff) |
Fix admin UI for accounts somewhat
Diffstat (limited to 'app/views/admin/accounts/index.html.haml')
-rw-r--r-- | app/views/admin/accounts/index.html.haml | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/app/views/admin/accounts/index.html.haml b/app/views/admin/accounts/index.html.haml index a93aa9143..f8ed4ef97 100644 --- a/app/views/admin/accounts/index.html.haml +++ b/app/views/admin/accounts/index.html.haml @@ -25,9 +25,7 @@ %tr %th Username %th Domain - %th Subscribed - %th Silenced - %th Suspended + %th= fa_icon 'paper-plane-o' %th %tbody - @accounts.each do |account| @@ -44,16 +42,6 @@ - else %i.fa.fa-times %td - - if account.silenced? - %i.fa.fa-check - - else - %i.fa.fa-times - %td - - if account.suspended? - %i.fa.fa-check - - else - %i.fa.fa-times - %td = table_link_to 'circle', 'Web', web_path("accounts/#{account.id}") = table_link_to 'globe', 'Public', TagManager.instance.url_for(account) = table_link_to 'pencil', 'Edit', admin_account_path(account.id) |