<commit_before><p class="breadcrumb">
  <%= link_to 'Home', root_path %> > Your applications
</p>

<h1><%= t(".title") %></h1>
<div class="two-columns">
  <% @categorized_user_applications.each do |heading, applications| %>
    <% if applications.any? %>
      <section class="category">
        <h2><%= t(".#{heading}") %></h2>
        <div class="applicant">
          <ul class="applicant-list">
            <% applications.each do |application| %>
              <li>
                <% unless application.deleted == true %>
                  <div class="conflogo--small"><%= event_image application.event %></div>
                  <p class="event-name"><%= link_to application.event.name, event_path(id: application.event.id) %></p>
                  <p class="application-count"><%= link_to "Your Application", event_application_path(id: application.id, event_id: application.event.id) %></p>
                <% end %>
              </li>
            <% end %>
          </ul>
        </div>
      </section>
      <div></div>
    <% end %>
  <% end %>
</div>

<% if @categorized_user_applications.values.flatten.empty? %>
  <p>There are currently no applications for this user account.</p>
<% end %><commit_msg>adds explanation sentence to applications overview to inform that past events applications are not being shown<commit_after><p class="breadcrumb">
  <%= link_to 'Home', root_path %> > Your applications
</p>

<h1><%= t(".title") %></h1>
<div class="two-columns">
  <% @categorized_user_applications.each do |heading, applications| %>
    <% if applications.any? %>
      <section class="category">
        <h2><%= t(".#{heading}") %></h2>
        <div class="applicant">
          <ul class="applicant-list">
            <% applications.each do |application| %>
              <li>
                <% unless application.deleted == true %>
                  <div class="conflogo--small"><%= event_image application.event %></div>
                  <p class="event-name"><%= link_to application.event.name, event_path(id: application.event.id) %></p>
                  <p class="application-count"><%= link_to "Your Application", event_application_path(id: application.id, event_id: application.event.id) %></p>
                <% end %>
              </li>
            <% end %>
          </ul>
        </div>
      </section>
      <div></div>
    <% end %>
  <% end %>
</div>

<% if @categorized_user_applications.values.flatten.empty? %>
  <p>There are currently no applications for this user account.</p>
<% end %>

<p>
  Once an event date has passed your applications will vanish from your overview
  and all sensitive data is being removed from the database.
</p>
{'fraction_non_alphanumeric': 0.1690875232774674, 'fraction_numerical': 0.0029795158286778397, 'mean_word_length': 2.5249343832021, 'pattern_counts': {'":': 0, '<': 89, '<?xml version=': 0, '>': 91, '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': '3295577', 'n_tokens_mistral': 840, 'n_tokens_neox': 781, 'n_words': 198}