Sha256: 8a58c9f874ecac74f8bdc2562ae839c8954eb8370d295945af1b88f41a3b7413

Contents?: true

Size: 702 Bytes

Versions: 5

Compression:

Stored size: 702 Bytes

Contents

<% current = current_page_private_topics? %>
<li class="thredded--user-navigation--item thredded--user-navigation--private-topics<%= ' thredded--is-current' if current %>">
  <%= link_to current ? nav_back_path : private_topics_path, rel: 'nofollow' do %>
    <%= inline_svg_tag 'thredded/private-messages.svg',
                       class: 'thredded--icon',
                       title: t('thredded.nav.private_topics') %>
    <span class="thredded--nav-text"><%= t('thredded.nav.private_topics') %></span>
    <% if unread_private_topics_count > 0 -%>
      <span class="thredded--user-navigation--private-topics--unread"><%= unread_private_topics_count %></span>
    <% end -%>
  <% end -%>
</li>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
thredded-1.1.0 app/views/thredded/shared/nav/_private_topics.html.erb
thredded-1.0.1 app/views/thredded/shared/nav/_private_topics.html.erb
thredded-1.0.0 app/views/thredded/shared/nav/_private_topics.html.erb
thredded-0.16.16 app/views/thredded/shared/nav/_private_topics.html.erb
thredded-0.16.15 app/views/thredded/shared/nav/_private_topics.html.erb