about summary refs log tree commit diff
path: root/app/views/admin/followers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-12-28 03:38:41 +0100
committerGitHub <noreply@github.com>2018-12-28 03:38:41 +0100
commit6e49907ecfc7036b6bf2dd91b9ebf4ba62d16080 (patch)
tree9539e8e60b270a4e283e9cb41d370be6116f7259 /app/views/admin/followers
parent8c5116fa2c197f61aa34e3d1f7f7a11631ec2e0a (diff)
Improve admin UI for account view (#9643)
Diffstat (limited to 'app/views/admin/followers')
-rw-r--r--app/views/admin/followers/index.html.haml9
1 files changed, 4 insertions, 5 deletions
diff --git a/app/views/admin/followers/index.html.haml b/app/views/admin/followers/index.html.haml
index baf34bc95..31b321bac 100644
--- a/app/views/admin/followers/index.html.haml
+++ b/app/views/admin/followers/index.html.haml
@@ -1,6 +1,3 @@
-- content_for :header_tags do
-  = javascript_pack_tag 'admin', integrity: true, async: true, crossorigin: 'anonymous'
-
 - content_for :page_title do
   = t('admin.followers.title', acct: @account.acct)
 
@@ -11,9 +8,11 @@
       %li= link_to t('admin.accounts.location.local'), admin_account_followers_path(@account.id), class: 'selected'
   .back-link{ style: 'flex: 1 1 auto; text-align: right' }
     = link_to admin_account_path(@account.id) do
-      %i.fa.fa-chevron-left.fa-fw
+      = fa_icon 'chevron-left fw'
       = t('admin.followers.back_to_account')
 
+%hr.spacer/
+
 .table-wrapper
   %table.table
     %thead
@@ -24,6 +23,6 @@
         %th= t('admin.accounts.most_recent_activity')
         %th
     %tbody
-      = render partial: 'admin/accounts/account', collection: @followers.map{|a| a.account}
+      = render partial: 'admin/accounts/account', collection: @followers.map(&:account)
 
 = paginate @followers