diff options
author | Philip Arndt <parndt@gmail.com> | 2010-08-25 16:15:02 +1200 |
---|---|---|
committer | Philip Arndt <parndt@gmail.com> | 2010-08-25 16:15:02 +1200 |
commit | 11f16cd66e86396bda09e3bdede88fd08f35bc1c (patch) | |
tree | 9bef7375acf9fc9b79865ff23d42ca0f823e6182 /app/views/admin/blog/comments/index.html.erb | |
parent | 4fbe3219386f68654ffaf123e30a219b4959de78 (diff) | |
download | refinerycms-blog-11f16cd66e86396bda09e3bdede88fd08f35bc1c.tar.gz refinerycms-blog-11f16cd66e86396bda09e3bdede88fd08f35bc1c.tar.bz2 refinerycms-blog-11f16cd66e86396bda09e3bdede88fd08f35bc1c.zip |
Added categories section
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 %> |