Sha256: d4ac3acc16a542e219382da9e45182d36d693d7b4bd7288c31fe9f8e0eae675c

Contents?: true

Size: 892 Bytes

Versions: 8

Compression:

Stored size: 892 Bytes

Contents

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

<%= thredded_page do %>
  <section class="thredded--main-section">
    <% if @last_moderated_record %>
      <div class="thredded--moderated-notice">
        <%= render_post_moderation_records([@last_moderated_record]) %>
      </div>
    <% end %>
    <% if @posts.present? %>
      <%= render_posts @posts,
                       partial: 'thredded/moderation/post',
                       content_partial: 'thredded/posts/content' %>
      <%= 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 %>
  </section>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
thredded-1.1.0 app/views/thredded/moderation/pending.html.erb
thredded-1.0.1 app/views/thredded/moderation/pending.html.erb
thredded-1.0.0 app/views/thredded/moderation/pending.html.erb
thredded-0.16.16 app/views/thredded/moderation/pending.html.erb
thredded-0.16.15 app/views/thredded/moderation/pending.html.erb
thredded-0.16.14 app/views/thredded/moderation/pending.html.erb
thredded-0.16.13 app/views/thredded/moderation/pending.html.erb
thredded-0.16.12 app/views/thredded/moderation/pending.html.erb