<commit_before><%# This partial expects 3 parameters to be defined: -%>
<%# - resource - instance of resource for which the authors are displayed -%>
<%# - creators - collection of creators to which the resource is attributed -%>
<%# - truncate_to - length of the texts after which truncation is activated -%>
<%# - title - the title of the box (defaults to Creators if missing) -%>
<%

title||="Creators"
creators ||= resource.creators unless resource.respond_to?(:contributor)
creators ||= [resource.contributor.nil? ? nil : resource.contributor.person] | resource.creators

%>
<div class="contribution_section_box">  
  <p class="heading">
    <%= help_icon("The authors are the people who originally created this file.") -%>
    <%= h(title) -%>
  </p>
 
  <p class="author_list">
  <% creators.each do |creator| %>
    <% if creators.count < 6 and (creator.nil? or creator.can_view?)%>
            <span class="author_avatar"><%= creator.nil? ? the_jerm : favouritable_icon(creator, 50) -%></span>
    <% elsif creator.nil?%>
            The JERM
    <% elsif creator.can_view?%>
            <%= link_to(h(creator.name), url_for(creator))%>
    <% elsif creator.title_is_public?%>
            <%= creator.name %>
    <% end %>
  <% end %>
  </p>

  <% if resource.respond_to?(:other_creators) && !resource.other_creators.blank? -%>

  <p class="heading">
    <%= help_icon("Non-SEEK members who helped with the creation of this file.") -%>
    Other Creators        
  </p>
  <div style="border: 1px dashed #BBB; margin: 0.5em;padding: 3px;text-align:left">
    <%= resource.other_creators%>
  </div>
  <% end -%>

</div><commit_msg>fixed author box help icon text<commit_after><%# This partial expects 3 parameters to be defined: -%>
<%# - resource - instance of resource for which the authors are displayed -%>
<%# - creators - collection of creators to which the resource is attributed -%>
<%# - truncate_to - length of the texts after which truncation is activated -%>
<%# - title - the title of the box (defaults to Creators if missing) -%>
<%

title||="Creators"
creators ||= resource.creators unless resource.respond_to?(:contributor)
creators ||= [resource.contributor.nil? ? nil : resource.contributor.person] | resource.creators

%>
<div class="contribution_section_box">  
  <p class="heading">
    <%= help_icon("These are the people that uploaded the item, along with other people involved in creating it. Sometimes the uploader may have uploaded the item on behalf of its creators.") -%>
    <%= h(title) -%>
  </p>
 
  <p class="author_list">
  <% creators.each do |creator| %>
    <% if creators.count < 6 and (creator.nil? or creator.can_view?)%>
            <span class="author_avatar"><%= creator.nil? ? the_jerm : favouritable_icon(creator, 50) -%></span>
    <% elsif creator.nil?%>
            The JERM
    <% elsif creator.can_view?%>
            <%= link_to(h(creator.name), url_for(creator))%>
    <% elsif creator.title_is_public?%>
            <%= creator.name %>
    <% end %>
  <% end %>
  </p>

  <% if resource.respond_to?(:other_creators) && !resource.other_creators.blank? -%>

  <p class="heading">
    <%= help_icon("Non-SEEK members who helped with the creation of this file.") -%>
    Other Creators        
  </p>
  <div style="border: 1px dashed #BBB; margin: 0.5em;padding: 3px;text-align:left">
    <%= resource.other_creators%>
  </div>
  <% end -%>

</div>
{'fraction_non_alphanumeric': 0.15863689776733256, 'fraction_numerical': 0.004700352526439483, 'mean_word_length': 3.4451697127937337, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 0, '>': 71, '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': '3426240', 'n_tokens_mistral': 1188, 'n_tokens_neox': 1100, 'n_words': 301}