Sha256: bee7383218ca98e704885ed3ffb7fa7fcc5dafb75a635ca8af0f4ee81a347e5a

Contents?: true

Size: 859 Bytes

Versions: 6

Compression:

Stored size: 859 Bytes

Contents

<% current = current_page_unread_topics? %>
<% if unread_topics_count > 0 || current %>
  <li class="thredded--user-navigation--unread-topics thredded--user-navigation--item<%= ' thredded--is-current' if current %>">
    <%= link_to current ? nav_back_path(messageboard) : unread_topics_path(messageboard: messageboard), rel: 'nofollow' do %>
      <span class="thredded--nav-text"><%= t('thredded.nav.unread_topics') %></span>
      <% if unread_followed_topics_count > 0 -%>
        <%= define_svg_icons 'thredded/follow.svg' %>
        <span class="thredded--user-navigation--unread-topics--followed-count"><%=shared_inline_svg "thredded/follow.svg", class: "thredded--unread-topics--followed-icon", role:"img" %>
          <span data-unread-followed-count><%= unread_followed_topics_count %></span></span>
      <% end -%>
    <% end %>
  </li>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
thredded-0.16.7 app/views/thredded/shared/nav/_unread_topics.html.erb
thredded-0.16.6 app/views/thredded/shared/nav/_unread_topics.html.erb
thredded-0.16.5 app/views/thredded/shared/nav/_unread_topics.html.erb
thredded-0.16.4 app/views/thredded/shared/nav/_unread_topics.html.erb
thredded-0.16.3 app/views/thredded/shared/nav/_unread_topics.html.erb
thredded-0.16.1 app/views/thredded/shared/nav/_unread_topics.html.erb