<commit_before><% if user_signed_in? %>

  <div class="navbar navbar-default navbar-fixed-top">

    <div class="navbar-header">
      <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
        <i class="icon-reorder"></i>
      </button>
      <%= link_to 'Feedbunch (BETA)', root_path, class: 'navbar-brand' %>
    </div>

    <div class="collapse navbar-collapse navbar-collapse">

      <ul class="nav navbar-nav navbar-left">
        <li>
          <%= link_to feeds_path, id: 'feeds' do %>
            <i class="icon-rss"></i>
            <%= t 'layouts.application.my_feeds' %>
          <% end %>
        </li>

        <%# Show an "import subscriptions" link only if the user has not run an import, or if
         his last import finished with an error %>
        <%
          data_import = current_user.try :data_import
          status = data_import.try :status
        %>
        <% if data_import.blank? || status==DataImport::ERROR %>
          <li>
            <a id="nav-data-import"
               data-toggle="modal"
               data-target="#data-import-popup">

              <i class="icon-magic"></i>

              <%= t 'layouts.application.import' %>
            </a>
          </li>
        <% end %>
      </ul>

      <ul class="nav navbar-nav navbar-right">
        <% if can? :manage, Resque %>
          <li>
            <%#= link_to resque_path, target: '_blank' do %>
            <%= link_to '/admin/resque', target: '_blank' do %>
              <i class="icon-code-fork"></i>
              <%= t 'layouts.application.background_jobs' %>
            <% end %>
          </li>
        <% end %>

        <li>
          <%=  link_to edit_user_registration_path, id: 'my_account' do %>
            <i class="icon-user"></i>
            <%= t 'layouts.application.my_account' %>
          <% end %>
        </li>

        <li class="divider-vertical"></li>

        <li>
          <%= link_to destroy_user_session_path, :method => :delete, id: 'sign_out' do %><commit_msg>Removed vertical divider from the navbar.<commit_after><% if user_signed_in? %>

  <div class="navbar navbar-default navbar-fixed-top">

    <div class="navbar-header">
      <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
        <i class="icon-reorder"></i>
      </button>
      <%= link_to 'Feedbunch (BETA)', root_path, class: 'navbar-brand' %>
    </div>

    <div class="collapse navbar-collapse navbar-collapse">

      <ul class="nav navbar-nav navbar-left">
        <li>
          <%= link_to feeds_path, id: 'feeds' do %>
            <i class="icon-rss"></i>
            <%= t 'layouts.application.my_feeds' %>
          <% end %>
        </li>

        <%# Show an "import subscriptions" link only if the user has not run an import, or if
         his last import finished with an error %>
        <%
          data_import = current_user.try :data_import
          status = data_import.try :status
        %>
        <% if data_import.blank? || status==DataImport::ERROR %>
          <li>
            <a id="nav-data-import"
               data-toggle="modal"
               data-target="#data-import-popup">

              <i class="icon-magic"></i>

              <%= t 'layouts.application.import' %>
            </a>
          </li>
        <% end %>
      </ul>

      <ul class="nav navbar-nav navbar-right">
        <% if can? :manage, Resque %>
          <li>
            <%#= link_to resque_path, target: '_blank' do %>
            <%= link_to '/admin/resque', target: '_blank' do %>
              <i class="icon-code-fork"></i>
              <%= t 'layouts.application.background_jobs' %>
            <% end %>
          </li>
        <% end %>

        <li>
          <%=  link_to edit_user_registration_path, id: 'my_account' do %>
            <i class="icon-user"></i>
            <%= t 'layouts.application.my_account' %>
          <% end %>
        </li>

        <li>
          <%= link_to destroy_user_session_path, :method => :delete, id: 'sign_out' do %>
{'fraction_non_alphanumeric': 0.16046966731898238, 'fraction_numerical': 0.0, 'mean_word_length': 1.8435326842837274, 'pattern_counts': {'":': 0, '<': 105, '<?xml version=': 0, '>': 107, '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': '1191873', 'n_tokens_mistral': 1358, 'n_tokens_neox': 1237, 'n_words': 277}