<commit_before>- page_title       @user.name
- page_description @user.bio
- header_title     @user.name, user_path(@user)
- @no_container = true

= content_for :meta_tags do
  = auto_discovery_link_tag(:atom, user_url(@user, format: :atom), title: "#{@user.name} activity")

= render 'shared/show_aside'

.user-profile
  .cover-block
    .cover-controls
      - if @user == current_user
        = link_to profile_path, class: 'btn btn-gray' do
          = icon('pencil')
      - elsif current_user
        %span.report-abuse
          - if @user.abuse_report
            %button.btn.btn-danger{ title: 'Already reported for abuse',
              data: { toggle: 'tooltip', placement: 'left', container: 'body' }}
              = icon('exclamation-circle')
          - else
            = link_to new_abuse_report_path(user_id: @user.id, ref_url: request.referrer), class: 'btn btn-gray',
              title: 'Report abuse', data: {toggle: 'tooltip', placement: 'left', container: 'body'} do
              = icon('exclamation-circle')
      - if current_user
        &nbsp;
        = link_to user_path(@user, :atom, { private_token: current_user.private_token }), class: 'btn btn-gray' do
          = icon('rss')

    .avatar-holder
      = link_to avatar_icon(@user, 400), target: '_blank' do
        = image_tag avatar_icon(@user, 90), class: "avatar s90", alt: ''
    .cover-title<commit_msg>Removed aside toggle on profile pages<commit_after>- page_title       @user.name
- page_description @user.bio
- header_title     @user.name, user_path(@user)
- @no_container = true

= content_for :meta_tags do
  = auto_discovery_link_tag(:atom, user_url(@user, format: :atom), title: "#{@user.name} activity")

.user-profile
  .cover-block
    .cover-controls
      - if @user == current_user
        = link_to profile_path, class: 'btn btn-gray' do
          = icon('pencil')
      - elsif current_user
        %span.report-abuse
          - if @user.abuse_report
            %button.btn.btn-danger{ title: 'Already reported for abuse',
              data: { toggle: 'tooltip', placement: 'left', container: 'body' }}
              = icon('exclamation-circle')
          - else
            = link_to new_abuse_report_path(user_id: @user.id, ref_url: request.referrer), class: 'btn btn-gray',
              title: 'Report abuse', data: {toggle: 'tooltip', placement: 'left', container: 'body'} do
              = icon('exclamation-circle')
      - if current_user
        &nbsp;
        = link_to user_path(@user, :atom, { private_token: current_user.private_token }), class: 'btn btn-gray' do
          = icon('rss')

    .avatar-holder
      = link_to avatar_icon(@user, 400), target: '_blank' do
        = image_tag avatar_icon(@user, 90), class: "avatar s90", alt: ''
    .cover-title
{'fraction_non_alphanumeric': 0.13731128684399713, 'fraction_numerical': 0.0050323508267433505, 'mean_word_length': 2.6474442988204454, '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': '7634291', 'n_tokens_mistral': 899, 'n_tokens_neox': 873, 'n_words': 208}