Sha256: e950c3d3cfe9a59713b03162992553f5347869f392a50223f970d08b584a74f6

Contents?: true

Size: 697 Bytes

Versions: 31

Compression:

Stored size: 697 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 ? messageboards_path : private_topics_path), rel: 'nofollow' do %>
    <%= inline_svg '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

31 entries across 31 versions & 2 rubygems

Version Path
thredded-0.12.0 app/views/thredded/shared/nav/_private_topics.html.erb
thredded-0.11.1 app/views/thredded/shared/nav/_private_topics.html.erb
thredded-0.11.0 app/views/thredded/shared/nav/_private_topics.html.erb
thredded-0.10.1 app/views/thredded/shared/nav/_private_topics.html.erb
thredded-0.10.0 app/views/thredded/shared/nav/_private_topics.html.erb
thredded-0.9.4 app/views/thredded/shared/nav/_private_topics.html.erb
thredded-0.9.3 app/views/thredded/shared/nav/_private_topics.html.erb
thredded-0.9.2 app/views/thredded/shared/nav/_private_topics.html.erb
thredded-0.9.1 app/views/thredded/shared/nav/_private_topics.html.erb
thredded-0.8.4 app/views/thredded/shared/nav/_private_topics.html.erb
thredded-0.8.2 app/views/thredded/shared/nav/_private_topics.html.erb