Sha256: d29f827679f62c5cc616ffbe37b39ff0be79a812ecfe22a84b8f4d477dc93e79

Contents?: true

Size: 649 Bytes

Versions: 7

Compression:

Stored size: 649 Bytes

Contents

<% if moderatable_messageboards_ids.present? %>
  <li class="thredded--user-navigation--item thredded--user-navigation--moderation">
    <%= link_to pending_moderation_path, rel: 'nofollow' do %>
      <%= inline_svg 'thredded/moderation.svg',
                     class: 'thredded--icon',
                     title: t('thredded.nav.moderation') %>
      <span class="thredded--nav-text"><%= t 'thredded.nav.moderation' %></span>
      <% if posts_pending_moderation_count > 0 %>
        <span class="thredded--user-navigation--moderation--pending-count"><%= posts_pending_moderation_count %></span>
      <% end %>
    <% end %>
  </li>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
thredded-0.7.0 app/views/thredded/shared/nav/_moderation.html.erb
thredded-0.6.3 app/views/thredded/shared/nav/_moderation.html.erb
thredded-0.6.2 app/views/thredded/shared/nav/_moderation.html.erb
thredded-0.6.1 app/views/thredded/shared/nav/_moderation.html.erb
thredded-0.6.0 app/views/thredded/shared/nav/_moderation.html.erb
thredded-0.5.1 app/views/thredded/shared/nav/_moderation.html.erb
thredded-0.5.0 app/views/thredded/shared/nav/_moderation.html.erb