Fix admin UI for accounts somewhat
This commit is contained in:
parent
0a2427f79b
commit
5426f06ac2
5 changed files with 58 additions and 31 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue