mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
55e1503522
* Add admin/instances index action * Add link to instances admin page * View lists instances * Instances, grouped by domain, ordered by count * Use Account.remote scope * Extract method: Account.by_domain_accounts
16 lines
325 B
Plaintext
16 lines
325 B
Plaintext
- content_for :page_title do
|
|
= t('admin.instances.title')
|
|
|
|
%table.table
|
|
%thead
|
|
%tr
|
|
%th= t('admin.instances.domain_name')
|
|
%th= t('admin.instances.account_count')
|
|
%tbody
|
|
- @instances.each do |instance|
|
|
%tr
|
|
%td= instance.domain
|
|
%td= instance.accounts_count
|
|
|
|
= paginate @instances
|