Skip to content

Commit

Permalink
hm
Browse files Browse the repository at this point in the history
  • Loading branch information
Ember-ruby committed Jun 29, 2024
1 parent aca6adf commit c820600
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
15 changes: 15 additions & 0 deletions app/views/admin/instances/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Check failure on line 69 in app/views/admin/instances/show.html.haml

View workflow job for this annotation

GitHub Actions / lint

app/views/admin/instances/show.html.haml:69 - Illegal nesting: content can't be both given on the same line as %h3 and nested within it.
%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/

Expand Down
6 changes: 6 additions & 0 deletions config/locales/en-GB.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c820600

Please sign in to comment.