<commit_before><div class="top-bar" id="main-menu">
  <div class="top-bar-title">
    <%= image_tag "DiaperBase-Logo.png", alt: "DiaperBase Logo", id: "logo" %>

    <span class="menu-hamburger" data-responsive-toggle="responsive-menu" data-hide-for="medium">
      <span class="menu-text" data-toggle>Menu</span>
      <span class="menu-icon" data-toggle></span>
    </span>

  </div>

  <div id="responsive-menu">
    <div class="top-bar-left">

      <ul class="menu" data-responsive-menu="drilldown medium-dropdown" data-parent-link="true" data-back-button="<li class='js-drilldown-back'><a tabindex='0'>Back</a></li>">
      <% ############# SIGNED IN ############### %>
      <% if user_signed_in? %>
        <li><%= navigation_link_to('Dashboard', dashboard_path) %></li>
        <li><%= navigation_link_to('Donations', donations_path) %></li>
        <li><%= navigation_link_to('Distributions', distributions_path)   %></li>
        <li class="has-submenu">
          <a href="javascript:void(0)">Inventory</a>
          <ul class="submenu menu vertical" data-submenu>
            <li><%= navigation_link_to('Items', items_path) %></li>
            <li><%= navigation_link_to('Barcode Items', barcode_items_path) %></li>
            <li><%= navigation_link_to('Storage Locations', storage_locations_path) %></li>
            <li><%= navigation_link_to('Adjustments', adjustments_path) %></li>
            <li><%= navigation_link_to('Transfers', transfers_path) %></li>
          </ul>
        </li>
        <li>
          <a href="javascript:void(0)">Community</a>
          <ul class="submenu menu vertical" data-submenu>
            <li><%= navigation_link_to('Donation Dropoff Locations', dropoff_locations_path) %></li>
            <li><%= navigation_link_to('Partner Agencies', partners_path) %></li>
            <li>
              <%= navigation_link_to('Diaper Drive Participants',
                                     diaper_drive_participants_path) %>
            </li>
          </ul>
        </li><commit_msg>check first if user is admin before bar code items display<commit_after><div class="top-bar" id="main-menu">
  <div class="top-bar-title">
    <%= image_tag "DiaperBase-Logo.png", alt: "DiaperBase Logo", id: "logo" %>

    <span class="menu-hamburger" data-responsive-toggle="responsive-menu" data-hide-for="medium">
      <span class="menu-text" data-toggle>Menu</span>
      <span class="menu-icon" data-toggle></span>
    </span>

  </div>

  <div id="responsive-menu">
    <div class="top-bar-left">

      <ul class="menu" data-responsive-menu="drilldown medium-dropdown" data-parent-link="true" data-back-button="<li class='js-drilldown-back'><a tabindex='0'>Back</a></li>">
      <% ############# SIGNED IN ############### %>
      <% if user_signed_in? %>
        <li><%= navigation_link_to('Dashboard', dashboard_path) %></li>
        <li><%= navigation_link_to('Donations', donations_path) %></li>
        <li><%= navigation_link_to('Distributions', distributions_path)   %></li>
        <li class="has-submenu">
          <a href="javascript:void(0)">Inventory</a>
          <ul class="submenu menu vertical" data-submenu>
            <li><%= navigation_link_to('Items', items_path) %></li>
            <% if current_user.organization_admin? %>
              <li><%= navigation_link_to('Barcode Items', barcode_items_path) %></li>
            <% end %>
            <li><%= navigation_link_to('Storage Locations', storage_locations_path) %></li>
            <li><%= navigation_link_to('Adjustments', adjustments_path) %></li>
            <li><%= navigation_link_to('Transfers', transfers_path) %></li>
          </ul>
        </li>
        <li>
          <a href="javascript:void(0)">Community</a>
          <ul class="submenu menu vertical" data-submenu>
            <li><%= navigation_link_to('Donation Dropoff Locations', dropoff_locations_path) %></li>
            <li><%= navigation_link_to('Partner Agencies', partners_path) %></li>
            <li>
              <%= navigation_link_to('Diaper Drive Participants',
                                     diaper_drive_participants_path) %>
            </li>
          </ul>
        </li>
{'fraction_non_alphanumeric': 0.18808327351040918, 'fraction_numerical': 0.0014357501794687725, 'mean_word_length': 2.939679547596607, 'pattern_counts': {'":': 0, '<': 133, '<?xml version=': 0, '>': 133, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6181664', 'n_tokens_mistral': 1383, 'n_tokens_neox': 1309, 'n_words': 236}