diff options
Diffstat (limited to 'app/views/admin/blog/comments/index.html.erb')
-rw-r--r-- | app/views/admin/blog/comments/index.html.erb | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/app/views/admin/blog/comments/index.html.erb b/app/views/admin/blog/comments/index.html.erb index 6b5a3e8..20fceb8 100644 --- a/app/views/admin/blog/comments/index.html.erb +++ b/app/views/admin/blog/comments/index.html.erb @@ -3,26 +3,28 @@ <% if searching? %> <h2><%= t('admin.search_results_for', :query => params[:search]) %></h2> <% if @blog_comments.any? %> - <%= render :partial => "blog_comments", - :collection => @blog_comments %> + <%= 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, - :previous_label => '«', - :next_label => '»' %> + <%= will_paginate @blog_comments %> <%= render :partial => "sortable_list" %> - <%= will_paginate @blog_comments, - :previous_label => '«', - :next_label => '»' %> + <%= will_paginate @blog_comments %> <% else %> <h3> - <%= t('.no_items_yet', - :type => (t("admin.blog.submenu.comments.#{action_name}").downcase unless action_name == 'index')) %> + <%= t('.no_items_yet', + :type => (t("admin.blog.submenu.comments.#{action_name}").downcase unless action_name == 'index')) %> </h3> <% end %> <% end %> |