<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 read_path, class: 'navbar-brand' do %>
        <%= image_tag asset_path('feed18x18.png'), alt: 'feedbunch' %>
        Feedbunch (BETA)
      <% end %>
    </div>

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

      <ul class="nav navbar-nav" ng-cloak>

        <li ng-show="show_feed_buttons">
          <a id="add-subscription"
             data-target="#subscribe-feed-popup"
             data-toggle="modal">
            <i class="icon-plus"></i> <%= t 'feeds.index.subscribe_button' %>
          </a>
        </li>

        <li ng-show="show_feed_buttons && !read_feeds_shown">
          <a id="show-read-feeds"
              ng-click="load_feeds(true)">
            <i class="icon-eye-open"></i> <%= t 'feeds.index.show_read_feeds_button' %>
          </a>
        </li>

        <li ng-show="show_feed_buttons && read_feeds_shown">
          <a id="hide-read-feeds"
             ng-click="load_feeds(false)">
            <i class="icon-eye-close"></i> <%= t 'feeds.index.hide_read_feeds_button' %>
          </a>
        </li>

        <li id="entries-dropdown" class="dropdown" ng-show="current_feed">

          <a id="entries-management"
             class="dropdown-toggle"
             data-toggle="dropdown">
            <i class="icon-rss"></i> <%= t 'feeds.index.entries' %>
            <b class="caret"></b>
          </a>

          <ul class="dropdown-menu text-left">

            <li>
              <a id="refresh-feed" ng-click="refresh_feed()">
                <i class="icon-repeat"></i> <%= t 'feeds.index.refresh' %>
              </a>
            </li>

            <li>
              <a id="read-all-button" ng-click="mark_all_read()">
                <i class="icon-check"></i> <%= t 'feeds.index.read-all' %>
              </a>
            </li>

            <li>
              <a id="show-read-button" ng-click="read_all_entries()">
                <i class="icon-eye-open"></i> <%= t 'feeds.index.show_read' %>
              </a>
            </li>

          </ul>
        </li>

        <li id="folder-management-dropdown" class="dropdown" ng-show="current_feed">

          <a id="folder-management"
                  class="dropdown-toggle"
                  data-toggle="dropdown">
            <i class="icon-folder-open"></i> <%= t 'feeds.index.folder_management' %>
            <b class="caret"></b>
          </a>

          <ul class="dropdown-menu text-left">

            <li ng-repeat="folder in folders | filter:{title: '!all'} | orderBy:'title'">
              <a data-folder-id="{{folder.id}}"
                 ng-click="move_to_folder(folder)"><commit_msg>It is not necessary to filter out the "all" folder in the folder dropdown. The "all" folder is no longer returned by FoldersController#index.<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 read_path, class: 'navbar-brand' do %>
        <%= image_tag asset_path('feed18x18.png'), alt: 'feedbunch' %>
        Feedbunch (BETA)
      <% end %>
    </div>

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

      <ul class="nav navbar-nav" ng-cloak>

        <li ng-show="show_feed_buttons">
          <a id="add-subscription"
             data-target="#subscribe-feed-popup"
             data-toggle="modal">
            <i class="icon-plus"></i> <%= t 'feeds.index.subscribe_button' %>
          </a>
        </li>

        <li ng-show="show_feed_buttons && !read_feeds_shown">
          <a id="show-read-feeds"
              ng-click="load_feeds(true)">
            <i class="icon-eye-open"></i> <%= t 'feeds.index.show_read_feeds_button' %>
          </a>
        </li>

        <li ng-show="show_feed_buttons && read_feeds_shown">
          <a id="hide-read-feeds"
             ng-click="load_feeds(false)">
            <i class="icon-eye-close"></i> <%= t 'feeds.index.hide_read_feeds_button' %>
          </a>
        </li>

        <li id="entries-dropdown" class="dropdown" ng-show="current_feed">

          <a id="entries-management"
             class="dropdown-toggle"
             data-toggle="dropdown">
            <i class="icon-rss"></i> <%= t 'feeds.index.entries' %>
            <b class="caret"></b>
          </a>

          <ul class="dropdown-menu text-left">

            <li>
              <a id="refresh-feed" ng-click="refresh_feed()">
                <i class="icon-repeat"></i> <%= t 'feeds.index.refresh' %>
              </a>
            </li>

            <li>
              <a id="read-all-button" ng-click="mark_all_read()">
                <i class="icon-check"></i> <%= t 'feeds.index.read-all' %>
              </a>
            </li>

            <li>
              <a id="show-read-button" ng-click="read_all_entries()">
                <i class="icon-eye-open"></i> <%= t 'feeds.index.show_read' %>
              </a>
            </li>

          </ul>
        </li>

        <li id="folder-management-dropdown" class="dropdown" ng-show="current_feed">

          <a id="folder-management"
                  class="dropdown-toggle"
                  data-toggle="dropdown">
            <i class="icon-folder-open"></i> <%= t 'feeds.index.folder_management' %>
            <b class="caret"></b>
          </a>

          <ul class="dropdown-menu text-left">

            <li ng-repeat="folder in folders | orderBy:'title'">
              <a data-folder-id="{{folder.id}}"
                 ng-click="move_to_folder(folder)">
{'fraction_non_alphanumeric': 0.17751977115934714, 'fraction_numerical': 0.0013461214874642437, 'mean_word_length': 1.8604427333974976, 'pattern_counts': {'":': 0, '<': 157, '<?xml version=': 0, '>': 157, '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': '3378456', 'n_tokens_mistral': 1980, 'n_tokens_neox': 1826, 'n_words': 323}