<commit_before><ul>
  <li <%= selected_if_current_page(edit_admin_donor_path(@donor)) %>>
    <div class="bottom_selected">
      <%= link_to('Basic information', edit_admin_donor_path(@donor), :class=>"basic") %>
      <span class="list">
        <% Site.all.each do |site| %>
          <p><%= link_to(site.name, donor_site_specific_information_admin_donor_path(@donor, site)) %></p>
        <% end %>
      </span>
    </div>
  </li>
  <li <%= selected_if_current_page(projects_admin_donor_path(@donor)) %>>
    <%= link_to('Funded projects', projects_admin_donor_path(@donor)) %><% if !@donor.donated_projects.empty? %> <p><span><%=@donor.donated_projects.count%></span></p><% end %>
  </li>
  <li <%= selected_if_current_page(admin_donor_media_resources_path(@donor)) %>>
    <%= link_to("Media", admin_donor_media_resources_path(@donor)) %><% if !@donor.media_resources.empty? %> <p><span><%=@donor.media_resources.count%></span></p><% end %>
  </li>
  <li <%= selected_if_current_page(admin_donor_resources_path(@donor)) %>>
    <%= link_to("Resources", admin_donor_resources_path(@donor)) %><% if !@donor.resources.empty? %> <p><span><%=@donor.resources.count%></span></p><% end %>
  </li>
</ul>

<div class="delete">
  <h5>DELETE THIS DONOR</h5>
  <p>Clicking the link below will permanently delete this donor and its references within the sites</p>
  <%= link_to("Delete this donor", '#', :destroy_url=>admin_donor_path(@donor), :att_name=>"donor") %>
</div><commit_msg>Sidebar in donors projects<commit_after><ul>
  <li <%= selected_if_current_page(edit_admin_donor_path(@donor)) %>>
    <div class="bottom_selected">
      <%= link_to('Basic information', edit_admin_donor_path(@donor), :class=>"basic") %>
      <span class="list">
        <%if current_page?(edit_admin_donor_path(@donor)) %>
          <% Site.all.each do |site| %>
            <p><%= link_to(site.name, donor_site_specific_information_admin_donor_path(@donor, site)) %></p>
          <% end %>
        <%end%>
      </span>
    </div>
  </li>
  <li <%= selected_if_current_page(projects_admin_donor_path(@donor)) %>>
    <%= link_to('Funded projects', projects_admin_donor_path(@donor)) %><% if !@donor.donated_projects.empty? %> <p><span><%=@donor.donated_projects.count%></span></p><% end %>
  </li>
  <li <%= selected_if_current_page(admin_donor_media_resources_path(@donor)) %>>
    <div class="bottom_selected">
    <%= link_to("Media", admin_donor_media_resources_path(@donor)) %><% if !@donor.media_resources.empty? %> <p><span><%=@donor.media_resources.count%></span></p><% end %>
    </div>
  </li>
  <li <%= selected_if_current_page(admin_donor_resources_path(@donor)) %>>
    <div class="bottom_selected">
    <%= link_to("Resources", admin_donor_resources_path(@donor)) %><% if !@donor.resources.empty? %> <p><span><%=@donor.resources.count%></span></p><% end %>
    </div>
  </li>
</ul>

<div class="delete">
  <h5>DELETE THIS DONOR</h5>
  <p>Clicking the link below will permanently delete this donor and its references within the sites</p>
  <%= link_to("Delete this donor", '#', :destroy_url=>admin_donor_path(@donor), :att_name=>"donor") %>
</div>

{'fraction_non_alphanumeric': 0.20604133545310016, 'fraction_numerical': 0.0012718600953895071, 'mean_word_length': 5.22970297029703, 'pattern_counts': {'":': 0, '<': 119, '<?xml version=': 0, '>': 125, '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': '7045570', 'n_tokens_mistral': 1204, 'n_tokens_neox': 1134, 'n_words': 167}