<commit_before>- content_for :body_classes, 'profile-page'

= render partial: 'breadcrumbs'

.title
  %h1= @page_title = @person

.grid-wrapper.profile
  .grid.grid-1-3
    .inner-block
      .image-background
        = profile_image_tag @person, @person.image.medium, class: 'profile-page'
      .spacer-15
      %h4 Days worked
      %ul.working_days
        = render 'working_days'

  .grid.grid-2-3
    .inner-block
      - @person.memberships.each do |membership|
        %h3= membership.role
        - if membership.path.length > 1
          %dl.inline-labels.role-and-location
            %dt Team
            %dd.breadcrumbs= breadcrumbs(membership.path.drop(1))

      %dl.inline-labels
        - if feature_enabled?(:communities)
          = render partial: "communities"

      %dl.inline-labels
        - if @person.location.present?
          %dt Location
          %dd= @person.location

      %dl.inline-labels
        - if @person.email.present?
          %dt Email
          %dd= mail_to(@person.email)

      %dl.inline-labels
        - if @person.primary_phone_number.present?
          %dt Primary phone number
          %dd= call_to(@person.primary_phone_number)

        - if @person.secondary_phone_number.present?
          %dt Other phone number
          %dd= call_to(@person.secondary_phone_number)

      - if @person.description.present?
        %h5 Extra information:
        %p= @person.description

      - if feature_enabled?(:profile_tags)
        = render partial: "show_tags"

- if @person.email.present?
  - if current_user.email == @person.email
    = render partial: "completeness", locals: { person: @person }
  - elsif @person.incomplete?
    = render partial: "request_information", locals: { person: @person }

- unless @versions.nil?
  %h1 Audit Log
  =render 'shared/audit', versions: @versions<commit_msg>commented out tag feature on the profile page<commit_after>- content_for :body_classes, 'profile-page'

= render partial: 'breadcrumbs'

.title
  %h1= @page_title = @person

.grid-wrapper.profile
  .grid.grid-1-3
    .inner-block
      .image-background
        = profile_image_tag @person, @person.image.medium, class: 'profile-page'
      .spacer-15
      %h4 Days worked
      %ul.working_days
        = render 'working_days'

  .grid.grid-2-3
    .inner-block
      - @person.memberships.each do |membership|
        %h3= membership.role
        - if membership.path.length > 1
          %dl.inline-labels.role-and-location
            %dt Team
            %dd.breadcrumbs= breadcrumbs(membership.path.drop(1))

      %dl.inline-labels
        - if feature_enabled?(:communities)
          = render partial: "communities"

      %dl.inline-labels
        - if @person.location.present?
          %dt Location
          %dd= @person.location

      %dl.inline-labels
        - if @person.email.present?
          %dt Email
          %dd= mail_to(@person.email)

      %dl.inline-labels
        - if @person.primary_phone_number.present?
          %dt Primary phone number
          %dd= call_to(@person.primary_phone_number)

        - if @person.secondary_phone_number.present?
          %dt Other phone number
          %dd= call_to(@person.secondary_phone_number)

      - if @person.description.present?
        %h5 Extra information:
        %p= @person.description
-#
  comment out tag feature in case it needs to be reintroduced later
      - if feature_enabled?(:profile_tags)
        = render partial: "show_tags"
#-
- if @person.email.present?
  - if current_user.email == @person.email
    = render partial: "completeness", locals: { person: @person }
  - elsif @person.incomplete?
    = render partial: "request_information", locals: { person: @person }

- unless @versions.nil?
  %h1 Audit Log
  =render 'shared/audit', versions: @versions
{'fraction_non_alphanumeric': 0.11560693641618497, 'fraction_numerical': 0.006831318970047294, 'mean_word_length': 2.351232394366197, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '4128021', 'n_tokens_mistral': 1196, 'n_tokens_neox': 1177, 'n_words': 256}