Fix admin UI for accounts somewhat
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user