diff --git a/app/views/admin/instances/show.html.haml b/app/views/admin/instances/show.html.haml index 5f2664df76dc11..795ecb94450e89 100644 --- a/app/views/admin/instances/show.html.haml +++ b/app/views/admin/instances/show.html.haml @@ -66,6 +66,21 @@ - else = link_to t('admin.domain_blocks.add_new'), new_admin_domain_block_path(_domain: @instance.domain), class: 'button' +%h3= t('admin.instances.local_stats.title') + %p= t('admin.instances.local_stats.description_html') + .table-wrapper + %table.table.horizontal-table + %tbody + %tr + %th= t('admin.instances.local_stats.created') + %td= @instance.domain_block.created_at + %tr + %th= t('admin.instances.local_stats.edited') + %td= @instance.domain_block.updated_at + %tr + %th= t('admin.instances.local_stats.domain_digest') + %td= @instance.domain_block.domain_digest + - if @instance.persisted? %hr.spacer/ diff --git a/config/locales/en-GB.yml b/config/locales/en-GB.yml index d4840c84e99bb1..5b135bb664987b 100644 --- a/config/locales/en-GB.yml +++ b/config/locales/en-GB.yml @@ -496,6 +496,12 @@ en-GB: policy: Policy reason: Public reason title: Content policies + local_stats: + title: Stats + description_html: Uhh yeah + domain_digest: domain_digest + edited: edited + created: created dashboard: instance_accounts_dimension: Most followed accounts instance_accounts_measure: stored accounts