Sha256: fdf0ccf638096c284052266cd57ef1fb20323c6c2a3f892314fdeffe8289b464

Contents?: true

Size: 740 Bytes

Versions: 15

Compression:

Stored size: 740 Bytes

Contents

<% if thredded_moderator? %>
  <% current = current_page_moderation? %>
  <li class="thredded--user-navigation--item thredded--user-navigation--moderation<%= ' thredded--is-current' if current %>">
    <%= link_to current ? nav_back_path : 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

15 entries across 15 versions & 1 rubygems

Version Path
thredded-0.16.14 app/views/thredded/shared/nav/_moderation.html.erb
thredded-0.16.13 app/views/thredded/shared/nav/_moderation.html.erb
thredded-0.16.12 app/views/thredded/shared/nav/_moderation.html.erb
thredded-0.16.11 app/views/thredded/shared/nav/_moderation.html.erb
thredded-0.16.10 app/views/thredded/shared/nav/_moderation.html.erb
thredded-0.16.9 app/views/thredded/shared/nav/_moderation.html.erb
thredded-0.16.8 app/views/thredded/shared/nav/_moderation.html.erb
thredded-0.16.7 app/views/thredded/shared/nav/_moderation.html.erb
thredded-0.16.6 app/views/thredded/shared/nav/_moderation.html.erb
thredded-0.16.5 app/views/thredded/shared/nav/_moderation.html.erb
thredded-0.16.4 app/views/thredded/shared/nav/_moderation.html.erb
thredded-0.16.3 app/views/thredded/shared/nav/_moderation.html.erb
thredded-0.16.1 app/views/thredded/shared/nav/_moderation.html.erb
thredded-0.16.0 app/views/thredded/shared/nav/_moderation.html.erb
thredded-0.15.5 app/views/thredded/shared/nav/_moderation.html.erb