<commit_before><%# add navigation links to this file %>
<% if user_signed_in? %>
  <li class="dropdown">
    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Account <span class="caret"></span></a>
    <ul class="dropdown-menu">
      <li><%= link_to 'Edit Account', edit_user_registration_path %></li>
      <li role="separator" class="divider"></li>
      <li><%= link_to 'Edit Banking', plaid_update_path %></li>
      <li role="separator" class="divider"></li>
      <li><%= link_to 'Edit Charge', stripe_update_path %></li>
      <li role="separator" class="divider"></li>
      <li><%= link_to 'Edit Charity', charities_index_path %></li>
    </ul>
  </li>
  <li><%= link_to 'Sign out', destroy_user_session_path, :method=>'delete' %></li>
<% else %>
  <li><%= link_to 'Sign in', new_user_session_path %></li>
  <li><%= link_to 'Sign up', new_user_registration_path %></li>
<% end %>
<% if user_signed_in? %>
  <%# if current_user.admin? %>
    <!-- <li><%#= link_to 'Users', users_path %></li> -->
  <%# end %>
<% end %><commit_msg>show users link if logged in as admin<commit_after><%# add navigation links to this file %>
<% if user_signed_in? %>
  <li class="dropdown">
    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Account <span class="caret"></span></a>
    <ul class="dropdown-menu">
      <li><%= link_to 'Edit Account', edit_user_registration_path %></li>
      <li role="separator" class="divider"></li>
      <li><%= link_to 'Edit Banking', plaid_update_path %></li>
      <li role="separator" class="divider"></li>
      <li><%= link_to 'Edit Charge', stripe_update_path %></li>
      <li role="separator" class="divider"></li>
      <li><%= link_to 'Edit Charity', charities_index_path %></li>
    </ul>
  </li>
  <li><%= link_to 'Sign out', destroy_user_session_path, :method=>'delete' %></li>
<% else %>
  <li><%= link_to 'Sign in', new_user_session_path %></li>
  <li><%= link_to 'Sign up', new_user_registration_path %></li>
<% end %>
<% if user_signed_in? %>
  <% if current_user.admin? %>
    <li><%= link_to 'Users', users_path %></li>
  <% end %>
<% end %>
{'fraction_non_alphanumeric': 0.21672661870503598, 'fraction_numerical': 0.0, 'mean_word_length': 4.480295566502463, 'pattern_counts': {'":': 0, '<': 96, '<?xml version=': 0, '>': 98, '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': '5206899', 'n_tokens_mistral': 830, 'n_tokens_neox': 773, 'n_words': 185}