Sha256: 622df1c6bff50b866a056c47348839454487b359c7a0634c200e96b006a7708b

Contents?: true

Size: 885 Bytes

Versions: 12

Compression:

Stored size: 885 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 -%>
        <%= shared_inline_svg 'thredded/follow.svg', class: 'thredded--icon' %>
        <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

12 entries across 12 versions & 1 rubygems

Version Path
thredded-1.1.0 app/views/thredded/shared/nav/_unread_topics.html.erb
thredded-1.0.1 app/views/thredded/shared/nav/_unread_topics.html.erb
thredded-1.0.0 app/views/thredded/shared/nav/_unread_topics.html.erb
thredded-0.16.16 app/views/thredded/shared/nav/_unread_topics.html.erb
thredded-0.16.15 app/views/thredded/shared/nav/_unread_topics.html.erb
thredded-0.16.14 app/views/thredded/shared/nav/_unread_topics.html.erb
thredded-0.16.13 app/views/thredded/shared/nav/_unread_topics.html.erb
thredded-0.16.12 app/views/thredded/shared/nav/_unread_topics.html.erb
thredded-0.16.11 app/views/thredded/shared/nav/_unread_topics.html.erb
thredded-0.16.10 app/views/thredded/shared/nav/_unread_topics.html.erb
thredded-0.16.9 app/views/thredded/shared/nav/_unread_topics.html.erb
thredded-0.16.8 app/views/thredded/shared/nav/_unread_topics.html.erb