From 06071e558008477e1b8dbb376d6693af97eeff32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?U=C4=A3is=20Ozols?= Date: Wed, 27 Jul 2011 17:28:09 +0300 Subject: Wip. --- .../refinery/admin/blog/comments/index.html.erb | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 app/views/refinery/admin/blog/comments/index.html.erb (limited to 'app/views/refinery/admin/blog/comments/index.html.erb') diff --git a/app/views/refinery/admin/blog/comments/index.html.erb b/app/views/refinery/admin/blog/comments/index.html.erb new file mode 100644 index 0000000..aaec4ae --- /dev/null +++ b/app/views/refinery/admin/blog/comments/index.html.erb @@ -0,0 +1,35 @@ +<%= render :partial => '/admin/blog/submenu' %> +
+ <% if searching? %> +

<%= t('results_for', :scope => 'shared.admin.search', :query => params[:search]) %>

+ <% if @blog_comments.any? %> + <%=# will_paginate @blog_comments + %> + + + + <%=# will_paginate @blog_comments + %> + <% else %> +

<%= t('search_no_results', :scope => 'admin') %>

+ <% end %> + <% else %> + <% if @blog_comments.any? %> + <%=# will_paginate @blog_comments + %> + + <%= render :partial => "sortable_list" %> + + <%=# will_paginate @blog_comments + %> + <% else %> +

+ <%= t('.no_items_yet', + :type => t(action_name.gsub('index', 'new'), :scope => 'admin.blog.submenu.comments').downcase) %> +

+ <% end %> + <% end %> +
-- cgit v1.2.3