<commit_before><div id="left-menu-bar" class="menu-bar">
  <ul class="nav">
    <li class="text-center">
      <span id="sideBarLeft"
            class="glyphicon glyphicon-chevron-left"
            aria-hidden="true"
            onclick="SideBarToggle.hide()"
            ></span>
      <span id="sideBarRight"
            class="glyphicon glyphicon-chevron-right"
            aria-hidden="true"
            onclick="SideBarToggle.show()"
            style="display:none;"
            ></span>
    </li>
    <li class="<%= "active" if projects_are_selected? %>">
      <%= link_to projects_path, id: "projects-link", title: t('left_menu_bar.projects') do %>
        <span class="glyphicon glyphicon-home"></span>
        <span><%= t('left_menu_bar.projects') %></span>
      <% end %>
    </li>
    <li class="<%= "active" if repositories_are_selected? %>">
      <%= link_to repositories_path, data: { no_turbolink: false }, id: "repositories-link", title: t('left_menu_bar.repositories') do %>
        <span class="fas fa-cubes" aria-hidden="true"></span>
        <span><%= t('left_menu_bar.repositories') %></span>
      <% end %>
    </li>
    <li class="<%= "active" if templates_are_selected? %>">
      <%= link_to protocols_path, id: "templates-link", title: t('left_menu_bar.templates') do %>
        <span class="glyphicon glyphicon-list-alt"></span>
        <span><%= t('left_menu_bar.templates') %></span>
      <% end %>
    </li>
    <li class="<%= "active" if reports_are_selected? %>">
      <%= link_to reports_path, data: { no_turbolink: false }, id: "reports-link", title: t('left_menu_bar.reports') do %>
        <span class="glyphicon glyphicon-indent-left"></span>
        <span><%= t('left_menu_bar.reports') %></span>
      <% end %>
    </li>
    <li class="<%= "active" if settings_are_selected? %>">
      <%= link_to edit_user_registration_path, id: "settings-link", title: t('left_menu_bar.settings') do %>
        <span class="glyphicon glyphicon-cog"></span>
        <span><%= t('left_menu_bar.settings') %></span>
      <% end %>
    </li>
  </ul>
  <ul class="nav nav-bottom">
    <li class="<%= "active" if activities_are_selected? %>">
      <%= link_to activities_path, id: "activities-link", title: t('left_menu_bar.activities') do %>
        <span class="glyphicon glyphicon-equalizer"></span>
        <span><%= t('left_menu_bar.activities') %></span>
      <% end %>
    </li>
    <!-- support -->
    <li class="dropup">
      <a href="#"
         id="support-link"
         class="dropdown-toggle"
         title="<%= t('left_menu_bar.support') %>"
         data-toggle="dropdown"
         role="button"
         aria-haspopup="true"
         aria-expanded="false">
        <span class="glyphicon glyphicon-paperclip"></span>
        <span><%= t('left_menu_bar.support') %></span>
      </a>
      <ul class="dropdown-menu">
        <li><%= link_to t('left_menu_bar.support_links.support'),
                          Constants::SUPPORT_URL,
                          target: "_blank" %></li>
        <li><%= link_to t('left_menu_bar.support_links.tutorials'),
                          Constants::TUTORIALS_URL,
                          target: "_blank" %></li>
        <li><%= link_to t('left_menu_bar.support_links.webinars'),
                          Constants::WEBINARS_URL,
                          target: "_blank" %></li>
      </ul>
    </li>
  </ul>
</div>

<%= javascript_include_tag("sidebar_toggle") %><commit_msg>adds deface hook in support dropdown [fixes SCI-2331]<commit_after><div id="left-menu-bar" class="menu-bar">
  <ul class="nav">
    <li class="text-center">
      <span id="sideBarLeft"
            class="glyphicon glyphicon-chevron-left"
            aria-hidden="true"
            onclick="SideBarToggle.hide()"
            ></span>
      <span id="sideBarRight"
            class="glyphicon glyphicon-chevron-right"
            aria-hidden="true"
            onclick="SideBarToggle.show()"
            style="display:none;"
            ></span>
    </li>
    <li class="<%= "active" if projects_are_selected? %>">
      <%= link_to projects_path, id: "projects-link", title: t('left_menu_bar.projects') do %>
        <span class="glyphicon glyphicon-home"></span>
        <span><%= t('left_menu_bar.projects') %></span>
      <% end %>
    </li>
    <li class="<%= "active" if repositories_are_selected? %>">
      <%= link_to repositories_path, data: { no_turbolink: false }, id: "repositories-link", title: t('left_menu_bar.repositories') do %>
        <span class="fas fa-cubes" aria-hidden="true"></span>
        <span><%= t('left_menu_bar.repositories') %></span>
      <% end %>
    </li>
    <li class="<%= "active" if templates_are_selected? %>">
      <%= link_to protocols_path, id: "templates-link", title: t('left_menu_bar.templates') do %>
        <span class="glyphicon glyphicon-list-alt"></span>
        <span><%= t('left_menu_bar.templates') %></span>
      <% end %>
    </li>
    <li class="<%= "active" if reports_are_selected? %>">
      <%= link_to reports_path, data: { no_turbolink: false }, id: "reports-link", title: t('left_menu_bar.reports') do %>
        <span class="glyphicon glyphicon-indent-left"></span>
        <span><%= t('left_menu_bar.reports') %></span>
      <% end %>
    </li>
    <li class="<%= "active" if settings_are_selected? %>">
      <%= link_to edit_user_registration_path, id: "settings-link", title: t('left_menu_bar.settings') do %>
        <span class="glyphicon glyphicon-cog"></span>
        <span><%= t('left_menu_bar.settings') %></span>
      <% end %>
    </li>
  </ul>
  <ul class="nav nav-bottom">
    <li class="<%= "active" if activities_are_selected? %>">
      <%= link_to activities_path, id: "activities-link", title: t('left_menu_bar.activities') do %>
        <span class="glyphicon glyphicon-equalizer"></span>
        <span><%= t('left_menu_bar.activities') %></span>
      <% end %>
    </li>
    <!-- support -->
    <li class="dropup">
      <a href="#"
         id="support-link"
         class="dropdown-toggle"
         title="<%= t('left_menu_bar.support') %>"
         data-toggle="dropdown"
         role="button"
         aria-haspopup="true"
         aria-expanded="false">
        <span class="glyphicon glyphicon-paperclip"></span>
        <span><%= t('left_menu_bar.support') %></span>
      </a>
      <ul class="dropdown-menu" data-hook="support-dropdown">
        <li><%= link_to t('left_menu_bar.support_links.support'),
                          Constants::SUPPORT_URL,
                          target: "_blank" %></li>
        <li><%= link_to t('left_menu_bar.support_links.tutorials'),
                          Constants::TUTORIALS_URL,
                          target: "_blank" %></li>
        <li><%= link_to t('left_menu_bar.support_links.webinars'),
                          Constants::WEBINARS_URL,
                          target: "_blank" %></li>
      </ul>
    </li>
  </ul>
</div>

<%= javascript_include_tag("sidebar_toggle") %>
{'fraction_non_alphanumeric': 0.1857081728712024, 'fraction_numerical': 0.0005705320211096848, 'mean_word_length': 2.5593908629441624, 'pattern_counts': {'":': 0, '<': 193, '<?xml version=': 0, '>': 193, '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': '5094637', 'n_tokens_mistral': 2418, 'n_tokens_neox': 2242, 'n_words': 412}