<commit_before><tr>
  <th colspan='2'><%= _('Basic information')%></th>
</tr>
<%= display_field(_('Name:'), profile, :name) { |name| link_to name, profile.url  } %>
<%= display_field(_('Sex:'), profile, :sex) { |gender| { 'male' => _('Male'), 'female' => _('Female') }[gender] } %>
<%= display_field(_('Date of birth:'), profile, :birth_date) { |date| show_date(date)  }%>
<%= display_field(_('Location:'), profile, :location) %>

<% if profile == user || profile.friends.include?(user) %>
  <tr>
    <th colspan='2'><%= _('Contact')%></th>
  </tr>
  <%= display_field(_('Address:'), profile, :address) %>
  <%= display_field(_('ZIP code:'), profile, :zip_code) %>
  <%= display_field(_('Contact phone:'), profile, :contact_phone) %>
  <%= display_field(_('e-Mail:'), profile, :email) { |email| link_to_email(email) } %>
<% end %>

<% cache_timeout(profile.identifier + '-profile-relationships', 4.hours.from_now) do %>
  <% if !(profile.organization.blank? && profile.organization_website.blank?) %>
    <tr>
      <th colspan='2'><%= _('Work')%></th>
    </tr>
  <% end %>
  <%= display_field(_('Organization:'), profile, :organization) %>
  <%= display_field(_('Organization website:'), profile, :organization_website) { |url| link_to(url, url) }%>


  <% if !profile.enterprises.empty? %>
    <tr>
      <th colspan='2'><%= __('Enterprises') %></th>
    </tr>
    <% profile.enterprises.each do |item| %>
      <tr>
        <td></td>
        <td><%= button 'menu-enterprise', item.name, item.url %></td>
      </tr>
    <% end %>
  <% end %><commit_msg>ActionItem1044: don't display enterprises if disabled in the system<commit_after><tr>
  <th colspan='2'><%= _('Basic information')%></th>
</tr>
<%= display_field(_('Name:'), profile, :name) { |name| link_to name, profile.url  } %>
<%= display_field(_('Sex:'), profile, :sex) { |gender| { 'male' => _('Male'), 'female' => _('Female') }[gender] } %>
<%= display_field(_('Date of birth:'), profile, :birth_date) { |date| show_date(date)  }%>
<%= display_field(_('Location:'), profile, :location) %>

<% if profile == user || profile.friends.include?(user) %>
  <tr>
    <th colspan='2'><%= _('Contact')%></th>
  </tr>
  <%= display_field(_('Address:'), profile, :address) %>
  <%= display_field(_('ZIP code:'), profile, :zip_code) %>
  <%= display_field(_('Contact phone:'), profile, :contact_phone) %>
  <%= display_field(_('e-Mail:'), profile, :email) { |email| link_to_email(email) } %>
<% end %>

<% cache_timeout(profile.identifier + '-profile-relationships', 4.hours.from_now) do %>
  <% if !(profile.organization.blank? && profile.organization_website.blank?) %>
    <tr>
      <th colspan='2'><%= _('Work')%></th>
    </tr>
  <% end %>
  <%= display_field(_('Organization:'), profile, :organization) %>
  <%= display_field(_('Organization website:'), profile, :organization_website) { |url| link_to(url, url) }%>


  <% if !environment.enabled?('disable_asset_enterprises') && !profile.enterprises.empty? %>
    <tr>
      <th colspan='2'><%= __('Enterprises') %></th>
    </tr>
    <% profile.enterprises.each do |item| %>
      <tr>
        <td></td>
        <td><%= button 'menu-enterprise', item.name, item.url %></td>
      </tr>
    <% end %>
  <% end %>
{'fraction_non_alphanumeric': 0.24798261949099937, 'fraction_numerical': 0.004345127250155183, 'mean_word_length': 4.5188356164383565, 'pattern_counts': {'":': 0, '<': 95, '<?xml version=': 0, '>': 99, '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': '3721641', 'n_tokens_mistral': 1247, 'n_tokens_neox': 1117, 'n_words': 215}