diff options
author | Uģis Ozols <ugis.ozolss@gmail.com> | 2011-07-27 17:28:09 +0300 |
---|---|---|
committer | Uģis Ozols <ugis.ozolss@gmail.com> | 2011-07-27 17:28:09 +0300 |
commit | 06071e558008477e1b8dbb376d6693af97eeff32 (patch) | |
tree | 0ed1e765b37975fbbd054b058a45712ee7464c73 /app/views/admin/blog/posts/index.html.erb | |
parent | 3fa8937b95a4d90000ad1be9c588424052136455 (diff) | |
download | refinerycms-blog-06071e558008477e1b8dbb376d6693af97eeff32.tar.gz refinerycms-blog-06071e558008477e1b8dbb376d6693af97eeff32.tar.bz2 refinerycms-blog-06071e558008477e1b8dbb376d6693af97eeff32.zip |
Wip.
Diffstat (limited to 'app/views/admin/blog/posts/index.html.erb')
-rw-r--r-- | app/views/admin/blog/posts/index.html.erb | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/app/views/admin/blog/posts/index.html.erb b/app/views/admin/blog/posts/index.html.erb deleted file mode 100644 index 90a6a6e..0000000 --- a/app/views/admin/blog/posts/index.html.erb +++ /dev/null @@ -1,28 +0,0 @@ -<%= render :partial => '/admin/blog/submenu' %> -<div id='records'> - <% if searching? %> - <h2><%= t('results_for', :scope => 'shared.admin.search', :query => params[:search]) %></h2> - <% if @blog_posts.any? %> - <ul> - <%= render :partial => "post", - :collection => @blog_posts %> - </ul> - <% else %> - <p><%= t('no_results', :scope => 'shared.admin.search') %></p> - <% end %> - <% else %> - <% if @blog_posts.any? %> - <%= will_paginate @blog_posts %> - - <%= render :partial => "sortable_list" %> - - <%= will_paginate @blog_posts %> - <% else %> - <p> - <strong> - <%= t('.no_items_yet', :create => t('new', :scope => 'admin.blog.submenu.posts')) %> - </strong> - </p> - <% end %> - <% end %> -</div> |