<commit_before>-#   Copyright (c) 2010, Diaspora Inc.  This file is
-#   licensed under the Affero General Public License version 3 or later.  See
-#   the COPYRIGHT file.

%li.message{:data=>{:guid=>post.id}}
  =person_image_link(person)

  .content
    .from
      - if person.owner_id == current_user.id
        .right
          - reshare_aspects = aspects_without_post(aspects, post)
          - unless reshare_aspects.empty?
            = render 'shared/reshare', :aspects => reshare_aspects, :post => post
          = link_to t('delete'), status_message_path(post), :confirm => t('are_you_sure'), :method => :delete, :remote => true, :class => "delete"

      %h4
        =person_link(person)

      - if post.public?
        %span.arrow ➔
        %span.aspect_badge.public
          = t('the_world')

      - elsif person.owner_id == current_user.id
        %span.arrow ➔
        =aspect_badge(aspects_with_post(aspects, post))


    = render 'status_messages/status_message', :post => post, :photos => photos

    .info
      %span.time= link_to(how_long_ago(post), status_message_path(post))
      = comment_toggle(comments.length, defined?(@commenting_disabled))

    = render "comments/comments", :post_id => post.id, :comment_hashes => comments, :condensed => true, :commenting_disabled => defined?(@commenting_disabled)
<commit_msg>comment link shows up again on contact pages<commit_after>-#   Copyright (c) 2010, Diaspora Inc.  This file is
-#   licensed under the Affero General Public License version 3 or later.  See
-#   the COPYRIGHT file.

%li.message{:data=>{:guid=>post.id}}
  =person_image_link(person)

  .content
    .from
      - if person.owner_id == current_user.id
        .right
          - reshare_aspects = aspects_without_post(aspects, post)
          - unless reshare_aspects.empty?
            = render 'shared/reshare', :aspects => reshare_aspects, :post => post
          = link_to t('delete'), status_message_path(post), :confirm => t('are_you_sure'), :method => :delete, :remote => true, :class => "delete"

      %h4
        =person_link(person)

      - if post.public?
        %span.arrow ➔
        %span.aspect_badge.public
          = t('the_world')

      - elsif person.owner_id == current_user.id
        %span.arrow ➔
        =aspect_badge(aspects_with_post(aspects, post))


    = render 'status_messages/status_message', :post => post, :photos => photos

    .info
      %span.time= link_to(how_long_ago(post), status_message_path(post))
      = comment_toggle(comments.length, @commenting_disabled)

    = render "comments/comments", :post_id => post.id, :comment_hashes => comments, :condensed => true, :commenting_disabled => defined?(@commenting_disabled)

{'fraction_non_alphanumeric': 0.13094798967170787, 'fraction_numerical': 0.004426410918480265, 'mean_word_length': 3.121580547112462, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 31, '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': '662101', 'n_tokens_mistral': 916, 'n_tokens_neox': 877, 'n_words': 189}