diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-01-08 17:41:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-08 17:41:27 +0100 |
commit | a269ffdfa5721c6d51c33a143ed28c740d17f247 (patch) | |
tree | fa915626abf82207131f00dfdb281e82363d62dc | |
parent | a6c27eaa5ede718a223007ac3bb17bfca02c7444 (diff) |
Change "federation" admin UI link to point to "limited" domains (#9762)
-rw-r--r-- | app/views/admin/instances/_instance.html.haml | 5 | ||||
-rw-r--r-- | config/navigation.rb | 2 |
2 files changed, 1 insertions, 6 deletions
diff --git a/app/views/admin/instances/_instance.html.haml b/app/views/admin/instances/_instance.html.haml deleted file mode 100644 index 57d3e0b06..000000000 --- a/app/views/admin/instances/_instance.html.haml +++ /dev/null @@ -1,5 +0,0 @@ -%tr - %td - = link_to instance.domain, admin_instance_path(instance) - %td.count - = instance.accounts_count diff --git a/config/navigation.rb b/config/navigation.rb index 2365191dc..a9521f956 100644 --- a/config/navigation.rb +++ b/config/navigation.rb @@ -29,7 +29,7 @@ SimpleNavigation::Configuration.run do |navigation| admin.item :accounts, safe_join([fa_icon('users fw'), t('admin.accounts.title')]), admin_accounts_url, highlights_on: %r{/admin/accounts} admin.item :invites, safe_join([fa_icon('user-plus fw'), t('admin.invites.title')]), admin_invites_path admin.item :tags, safe_join([fa_icon('tag fw'), t('admin.tags.title')]), admin_tags_path - admin.item :instances, safe_join([fa_icon('cloud fw'), t('admin.instances.title')]), admin_instances_url, highlights_on: %r{/admin/instances|/admin/domain_blocks}, if: -> { current_user.admin? } + admin.item :instances, safe_join([fa_icon('cloud fw'), t('admin.instances.title')]), admin_instances_url(limited: '1'), highlights_on: %r{/admin/instances|/admin/domain_blocks}, if: -> { current_user.admin? } admin.item :email_domain_blocks, safe_join([fa_icon('envelope fw'), t('admin.email_domain_blocks.title')]), admin_email_domain_blocks_url, highlights_on: %r{/admin/email_domain_blocks}, if: -> { current_user.admin? } end |