<commit_before>-# Item underscore template
:plain
  <script id='tmpl-item' type='text/template'>
    <div class="item-container<% if(item.open){ %> active<% } %>">
      <div class="item-icons">
        <span class="dropdown">
          <i class="icon icon-caret-down dropdown-toggle" data-toggle="dropdown"></i>
          <ul class="dropdown-menu" role="menu" aria-labelledby="item-<%= item.id %>-menu">
            <li><a class="readOlderAction">#{t.buttons.mark_older_read}</a></li>
          </ul>
        </span>
        <i class="readUnreadIcon icon-circle<% if(item.read){ %>-blank<% } %>"></i>
      </div>

      <div class="item-labels hidden-phone">
        <% if(item.feed_title) { %>
          <span class="item-feed-title label label-info">
            <%= item.feed_title %>
          </span>
        <% } %>
        <span class="item-date label">
          <%= formatDate(new Date(item.date)) %>
        </span>
      </div>

      <div class="item-title">
        <% if(!item.read){ %>
          <b><%= item.title %></b>
        <% }else{ %>
          <%= item.title %>
        <% } %>
      </div>
    </div>

    <% if(item.open){ %>
      <div class="well item-content">
        <a class="item-content-title" href="<%= item.url %>" target="_blank"><%= item.title %></a>
        <br>
        <%= item.content %>
        <% if(item.attachment_url){ %>
          <br>
          <a class="btn" href="<%= item.attachment_url %>">
            <i class="icon-download"></i>Download file
          </a>
        <% } %>
      </div>
    <% } %>
  </script>
<commit_msg>Change item label color for read items<commit_after>-# Item underscore template
:plain
  <script id='tmpl-item' type='text/template'>
    <div class="item-container<% if(item.open){ %> active<% } %>">
      <div class="item-icons">
        <span class="dropdown">
          <i class="icon icon-caret-down dropdown-toggle" data-toggle="dropdown"></i>
          <ul class="dropdown-menu" role="menu" aria-labelledby="item-<%= item.id %>-menu">
            <li><a class="readOlderAction">#{t.buttons.mark_older_read}</a></li>
          </ul>
        </span>
        <i class="readUnreadIcon icon-circle<% if(item.read){ %>-blank<% } %>"></i>
      </div>

      <div class="item-labels hidden-phone">
        <% if(item.feed_title) { %>
          <span class="item-feed-title label<% if(!item.read){ %> label-info<% } %>">
            <%= item.feed_title %>
          </span>
        <% } %>
        <span class="item-date label">
          <%= formatDate(new Date(item.date)) %>
        </span>
      </div>

      <div class="item-title">
        <% if(!item.read){ %>
          <b><%= item.title %></b>
        <% }else{ %>
          <%= item.title %>
        <% } %>
      </div>
    </div>

    <% if(item.open){ %>
      <div class="well item-content">
        <a class="item-content-title" href="<%= item.url %>" target="_blank"><%= item.title %></a>
        <br>
        <%= item.content %>
        <% if(item.attachment_url){ %>
          <br>
          <a class="btn" href="<%= item.attachment_url %>">
            <i class="icon-download"></i>Download file
          </a>
        <% } %>
      </div>
    <% } %>
  </script>

{'fraction_non_alphanumeric': 0.21724245253657018, 'fraction_numerical': 0.0, 'mean_word_length': 2.0263653483992465, 'pattern_counts': {'":': 0, '<': 125, '<?xml version=': 0, '>': 125, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6589019', 'n_tokens_mistral': 1124, 'n_tokens_neox': 1027, 'n_words': 187}