Sha256: 46f1d3e22e28cd2df1a86a1168d5a4166355574384bbe31a5f265b3716b1af71

Contents?: true

Size: 834 Bytes

Versions: 12

Compression:

Stored size: 834 Bytes

Contents

<% content_for :thredded_page_title, t('thredded.nav.moderation') %>
<% content_for :thredded_page_id, 'thredded--pending-moderation' %>
<%= render 'nav' %>

<%= thredded_page do %>
  <%= content_tag :section, class: 'thredded--main-section' do %>
    <% if @last_moderated_record %>
      <div class="thredded--moderated-notice">
        <%= render 'post_moderation_record', post_moderation_record: @last_moderated_record %>
      </div>
    <% end %>
    <% if @posts.present? %>
      <%= render partial: 'post', collection: @posts %>
      <%= paginate @posts %>
    <% else %>
      <div class="thredded--empty">
        <h3 class="thredded--empty--title"><%= t 'thredded.moderation.pending.empty.title' %></h3>
        <p><%= t 'thredded.moderation.pending.empty.content' %></p>
      </div>
    <% end %>
  <% end %>
<% end %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
thredded-0.10.0 app/views/thredded/moderation/pending.html.erb
thredded-0.9.4 app/views/thredded/moderation/pending.html.erb
thredded-0.9.3 app/views/thredded/moderation/pending.html.erb
thredded-0.9.2 app/views/thredded/moderation/pending.html.erb
thredded-0.9.1 app/views/thredded/moderation/pending.html.erb
thredded-0.8.4 app/views/thredded/moderation/pending.html.erb
thredded-0.8.2 app/views/thredded/moderation/pending.html.erb
thredded-0.7.0 app/views/thredded/moderation/pending.html.erb
thredded-0.6.3 app/views/thredded/moderation/pending.html.erb
thredded-0.6.2 app/views/thredded/moderation/pending.html.erb
thredded-0.6.1 app/views/thredded/moderation/pending.html.erb
thredded-0.6.0 app/views/thredded/moderation/pending.html.erb