<commit_before>= content_for :meta_tags do
  -# Meta tags for facebook social graph
  meta property="og:title" content=@user.name
  meta property="og:url" content=="#{Configuration[:base_url]}#{user_path(@user)}"
  meta property="og:image" content==@user.display_image
  meta property="og:site_name" content=::Configuration[:company_name]
  meta property="og:description" content=@user.bio
  meta property="fb:admins" content="#{fb_admins}"


#page_content
  .container
    #user_profile

      // Public profile
      - unless can? :manage, @user
        .section_header
          .profile_image[class=@user.profile_type]
            - if @user.company?
              = @user.display_image_html width: 160, height: 75
            - else
              = @user.display_image_html
          .profile_title
            h1.profile
                = @user.display_name
            h4.bio
                = @user.bio
            .user_social
              ul
                - if @user.facebook_link
                  li
                    = link_to @user.facebook_link, target: 'blank' do
                      = image_tag 'neighborly/facebook_32.png'
                - if @user.twitter
                  li
                    = link_to @user.twitter_link, target: 'blank' do
                      = image_tag 'neighborly/twitter_32.png'
                - if @user.linkedin_url
                  li
                    = link_to @user.linkedin_url, target: 'blank' do
                      = image_tag 'neighborly/linkedin_32.png'
                - if @user.other_link
                  li.other
                    = link_to @user.other_link, target: 'blank' do
                      = image_tag 'neighborly/internet_32.png', width: '28px', heigt: '28px'
        .clearfix
          h2.ivebacked= "I've backed #{@user.backs.confirmed.not_anonymous.length} so far..."
        #user_profile_content
          #user_backed_projects.content[data-path=user_backers_path(@user)]
            - if !can? :manage, @user
              p.empty.hide= t('users.backs.no_backs', name: @user.display_name)
            - else
              p.empty.hide= t('users.backs.no_backs_current_user_html', link: ::Configuration[:base_url])
            .results
            .clearfix
            .loading= image_tag "loading.gif"
            .clearfix

      // Private profile
      - else
        .section_header
          .profile_title
            h1.profile My Neighbor.ly Account

        .tab_container<commit_msg>Fix crash on user page when is not logged in<commit_after>= content_for :meta_tags do
  -# Meta tags for facebook social graph
  meta property="og:title" content=@user.name
  meta property="og:url" content=="#{Configuration[:base_url]}#{user_path(@user)}"
  meta property="og:image" content==@user.display_image
  meta property="og:site_name" content=::Configuration[:company_name]
  meta property="og:description" content=@user.bio
  meta property="fb:admins" content="#{fb_admins}"


#page_content
  .container
    #user_profile

      // Public profile
      - unless can? :manage, @user
        .section_header
          .profile_image[class=@user.profile_type]
            - if @user.company?
              = @user.display_image_html width: 160, height: 75
            - else
              = @user.display_image_html
          .profile_title
            h1.profile
                = @user.display_name
            h4.bio
                = @user.bio
            .user_social
              ul
                - if @user.facebook_link
                  li
                    = link_to @user.facebook_link, target: 'blank' do
                      = image_tag 'neighborly/facebook_32.png'
                - if @user.twitter
                  li
                    = link_to @user.twitter_link, target: 'blank' do
                      = image_tag 'neighborly/twitter_32.png'
                - if @user.linkedin_url
                  li
                    = link_to @user.linkedin_url, target: 'blank' do
                      = image_tag 'neighborly/linkedin_32.png'
                - if @user.other_link
                  li.other
                    = link_to @user.other_link, target: 'blank' do
                      = image_tag 'neighborly/internet_32.png', width: '28px', heigt: '28px'
        .clearfix
          h2.ivebacked= "I've backed #{@user.backs.with_state('confirmed').not_anonymous.length} so far..."
        #user_profile_content
          #user_backed_projects.content[data-path=user_backers_path(@user)]
            - if !can? :manage, @user
              p.empty.hide= t('users.backs.no_backs', name: @user.display_name)
            - else
              p.empty.hide= t('users.backs.no_backs_current_user_html', link: ::Configuration[:base_url])
            .results
            .clearfix
            .loading= image_tag "loading.gif"
            .clearfix

      // Private profile
      - else
        .section_header
          .profile_title
            h1.profile My Neighbor.ly Account

        .tab_container
{'fraction_non_alphanumeric': 0.10331810053645937, 'fraction_numerical': 0.008344923504867872, 'mean_word_length': 1.697749196141479, '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': '805580', 'n_tokens_mistral': 1496, 'n_tokens_neox': 1415, 'n_words': 282}