<commit_before>- content_for :page_title do
  = @instance.domain

.dashboard__counters
  %div
    %div
      .dashboard__counters__num= number_with_delimiter @following_count
      .dashboard__counters__label= t 'admin.instances.total_followed_by_them'
  %div
    %div
      .dashboard__counters__num= number_with_delimiter @followers_count
      .dashboard__counters__label= t 'admin.instances.total_followed_by_us'
  %div
    %div
      .dashboard__counters__num= number_to_human_size @media_storage
      .dashboard__counters__label= t 'admin.instances.total_storage'
  %div
    %div
      .dashboard__counters__num= number_with_delimiter @blocks_count
      .dashboard__counters__label= t 'admin.instances.total_blocked_by_us'
  %div
    %div
      .dashboard__counters__num= number_with_delimiter @reports_count
      .dashboard__counters__label= t 'admin.instances.total_reported'
  %div
    %div
      .dashboard__counters__num
        - if @available
          = fa_icon 'check'
        - else
          = fa_icon 'times'
      .dashboard__counters__label= t 'admin.instances.delivery_available'

%hr.spacer/

%div{ style: 'overflow: hidden' }
  %div{ style: 'float: left' }
    = link_to t('admin.accounts.title'), admin_accounts_path(remote: '1', by_domain: @instance.domain), class: 'button'

  %div{ style: 'float: right' }
    - if @union_domain
      = link_to t('admin.union_domains.undo'), admin_union_domain_path(@union_domain), class: 'button'
    - else
      = link_to t('admin.union_domains.add_new'), admin_union_domain_path(mode: 'domain', _domain: @instance.domain), class: 'button'
    - if @domain_block
      = link_to t('admin.domain_blocks.undo'), admin_domain_block_path(@domain_block), class: 'button'
    - else
      = link_to t('admin.domain_blocks.add_new'), new_admin_domain_block_path(_domain: @instance.domain), class: 'button'<commit_msg>Fix: add new union domain on instance/show<commit_after>- content_for :page_title do
  = @instance.domain

.dashboard__counters
  %div
    %div
      .dashboard__counters__num= number_with_delimiter @following_count
      .dashboard__counters__label= t 'admin.instances.total_followed_by_them'
  %div
    %div
      .dashboard__counters__num= number_with_delimiter @followers_count
      .dashboard__counters__label= t 'admin.instances.total_followed_by_us'
  %div
    %div
      .dashboard__counters__num= number_to_human_size @media_storage
      .dashboard__counters__label= t 'admin.instances.total_storage'
  %div
    %div
      .dashboard__counters__num= number_with_delimiter @blocks_count
      .dashboard__counters__label= t 'admin.instances.total_blocked_by_us'
  %div
    %div
      .dashboard__counters__num= number_with_delimiter @reports_count
      .dashboard__counters__label= t 'admin.instances.total_reported'
  %div
    %div
      .dashboard__counters__num
        - if @available
          = fa_icon 'check'
        - else
          = fa_icon 'times'
      .dashboard__counters__label= t 'admin.instances.delivery_available'

%hr.spacer/

%div{ style: 'overflow: hidden' }
  %div{ style: 'float: left' }
    = link_to t('admin.accounts.title'), admin_accounts_path(remote: '1', by_domain: @instance.domain), class: 'button'

  %div{ style: 'float: right' }
    - if @union_domain
      = link_to t('admin.union_domains.undo'), admin_union_domain_path(@union_domain), class: 'button'
    - else
      = link_to t('admin.union_domains.add_new'), new_admin_union_domain_path(mode: 'domain', _domain: @instance.domain), class: 'button'
    - if @domain_block
      = link_to t('admin.domain_blocks.undo'), admin_domain_block_path(@domain_block), class: 'button'
    - else
      = link_to t('admin.domain_blocks.add_new'), new_admin_domain_block_path(_domain: @instance.domain), class: 'button'
{'fraction_non_alphanumeric': 0.10668074993398469, 'fraction_numerical': 0.0005281225244256667, 'mean_word_length': 4.037234042553192, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6331675', 'n_tokens_mistral': 1270, 'n_tokens_neox': 1279, 'n_words': 225}