blob: fbf268d62f628f52253f2f91f9b6e30427cd912b (
plain) (
tree)
|
|
<%= render :partial => '/admin/blog/submenu' %>
<div id='records'>
<% if searching? %>
<h2><%= t('shared.admin.search.results_for', :query => params[:search]) %></h2>
<% if @blog_comments.any? %>
<%=# will_paginate @blog_comments
%>
<ul>
<%= render :partial => "blog_comments",
:collection => @blog_comments %>
</ul>
<%=# will_paginate @blog_comments
%>
<% else %>
<p><%= t('admin.search_no_results') %></p>
<% end %>
<% else %>
<% if @blog_comments.any? %>
<%=# will_paginate @blog_comments
%>
<%= render :partial => "sortable_list" %>
<%=# will_paginate @blog_comments
%>
<% else %>
<h3>
<%= t('.no_items_yet',
:type => t("admin.blog.submenu.comments.#{action_name.gsub('index', 'new')}").downcase) %>
</h3>
<% end %>
<% end %>
</div>
|