aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/refinery/blog/admin/comments/index.html.erb
blob: c09e59b2b5c49b174ab0cd4f6f9791207eb04063 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<%= render 'refinery/blog/admin/submenu' %>
<%= render 'refinery/admin/search_header', :url => request.path %>
<div id='records'>
  <% if @comments.any? %>
    <%= will_paginate @comments %>

    <%= render "sortable_list" %>

    <%= will_paginate @comments %>
  <% else %>
    <% if searching? %>
      <%= t('no_results', :scope => 'refinery.admin.search') %>
    <% else %>
      <p>
        <strong>
          <%= t('.no_items_yet', :type => action_name.gsub('index', 'new').downcase) %>
        </strong>
      </p>
  <% end %>
<% end %>
</div>