anchor.diff:        <% end %>
       <% end %>
     </li>
  --->
   
     <li>
       <%= link_to notes_path do %>
  
positive.code:           .for_user(current_user)
            .unread(current_user)
            .count
        ###>
        <% unread_threads = 0; private_messages = 0 %>
        <% if unread_threads > 0 || private_messages > 0 %>
          <span class="badge <%= 'blue white-text' if private_messages > 0 %>">
            <%= unread_threads %><%= "/#{private_messages}" if private_messages > 0 %>
  
negative.code:     <% end %>
    </li>
  
    <li>
      <%= link_to thredded_path do %>
        <i class="material-icons grey-text">
          forum
        </i>
        Discussions
        <%
          unread_threads = Thredded::Topic
            .followed_by(current_user)
            .unread(current_user)
  