diff options
Diffstat (limited to 'app/views/admin/blog/posts/index.html.erb')
-rw-r--r-- | app/views/admin/blog/posts/index.html.erb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/admin/blog/posts/index.html.erb b/app/views/admin/blog/posts/index.html.erb index f9baaac..90a6a6e 100644 --- a/app/views/admin/blog/posts/index.html.erb +++ b/app/views/admin/blog/posts/index.html.erb @@ -1,14 +1,14 @@ <%= render :partial => '/admin/blog/submenu' %> <div id='records'> <% if searching? %> - <h2><%= t('shared.admin.search.results_for', :query => params[:search]) %></h2> + <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('shared.admin.search.no_results') %></p> + <p><%= t('no_results', :scope => 'shared.admin.search') %></p> <% end %> <% else %> <% if @blog_posts.any? %> @@ -20,7 +20,7 @@ <% else %> <p> <strong> - <%= t('.no_items_yet', :create => t('admin.blog.submenu.posts.new')) %> + <%= t('.no_items_yet', :create => t('new', :scope => 'admin.blog.submenu.posts')) %> </strong> </p> <% end %> |