From 5426f06ac29b9ef4d302d3f2d13b315dcf89e079 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Wed, 15 Feb 2017 00:22:58 +0100 Subject: Fix admin UI for accounts somewhat --- app/views/admin/accounts/index.html.haml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (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 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| @@ -43,16 +41,6 @@ %i.fa.fa-check - 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) -- cgit