diff options
Diffstat (limited to 'app/views/admin/blog')
-rw-r--r-- | app/views/admin/blog/_submenu.html.erb | 9 | ||||
-rw-r--r-- | app/views/admin/blog/categories/index.html.erb | 4 | ||||
-rw-r--r-- | app/views/admin/blog/comments/index.html.erb | 2 | ||||
-rw-r--r-- | app/views/admin/blog/posts/_form.html.erb | 2 | ||||
-rw-r--r-- | app/views/admin/blog/posts/index.html.erb | 4 |
5 files changed, 8 insertions, 13 deletions
diff --git a/app/views/admin/blog/_submenu.html.erb b/app/views/admin/blog/_submenu.html.erb index db3064f..246488a 100644 --- a/app/views/admin/blog/_submenu.html.erb +++ b/app/views/admin/blog/_submenu.html.erb @@ -74,11 +74,6 @@ </nav> <% content_for :head do %> - <!-- uses famfamfam icons and a couple Dave made --> - <style type='text/css'> - <%= File.open(File.expand_path('../../../../../public/stylesheets/refinerycms-blog.css', __FILE__), 'r').read %> - </style> - <script type='text/javascript'> - <%= File.open(File.expand_path('../../../../../public/javascripts/refinerycms-blog.js', __FILE__), 'r').read %> - </script> + <%= stylesheet_link_tag 'refinery/refinerycms-blog' %> + <%= javascript_include_tag 'refinery/refinerycms-blog' %> <% end %>
\ No newline at end of file diff --git a/app/views/admin/blog/categories/index.html.erb b/app/views/admin/blog/categories/index.html.erb index 824b1c3..9bd50a8 100644 --- a/app/views/admin/blog/categories/index.html.erb +++ b/app/views/admin/blog/categories/index.html.erb @@ -1,7 +1,7 @@ <%= render :partial => '/admin/blog/submenu' %> <div id='records'> <% if searching? %> - <h2><%= t('admin.search_results_for', :query => params[:search]) %></h2> + <h2><%= t('shared.admin.search.results_for', :query => params[:search]) %></h2> <% if @blog_categories.any? %> <%= render :partial => "blog_categories", :collection => @blog_categories %> @@ -22,7 +22,7 @@ <% else %> <p> <strong> - <%= t('.no_items_yet') %> + <%= t('.no_items_yet', :create => t('admin.blog.submenu.categories.new')) %> </strong> </p> <% end %> diff --git a/app/views/admin/blog/comments/index.html.erb b/app/views/admin/blog/comments/index.html.erb index 20fceb8..c5e911b 100644 --- a/app/views/admin/blog/comments/index.html.erb +++ b/app/views/admin/blog/comments/index.html.erb @@ -1,7 +1,7 @@ <%= render :partial => '/admin/blog/submenu' %> <div id='records'> <% if searching? %> - <h2><%= t('admin.search_results_for', :query => params[:search]) %></h2> + <h2><%= t('shared.admin.search.results_for', :query => params[:search]) %></h2> <% if @blog_comments.any? %> <%= will_paginate @blog_comments %> diff --git a/app/views/admin/blog/posts/_form.html.erb b/app/views/admin/blog/posts/_form.html.erb index f4322df..f6f332f 100644 --- a/app/views/admin/blog/posts/_form.html.erb +++ b/app/views/admin/blog/posts/_form.html.erb @@ -44,7 +44,7 @@ :locals => { :f => f, :continue_editing => true, - :delete_title => t('admin.blogs.blogs.delete') + :delete_title => t('admin.blog.posts.post.delete') } %> <% end -%> <% content_for :head do %> diff --git a/app/views/admin/blog/posts/index.html.erb b/app/views/admin/blog/posts/index.html.erb index 5b65962..ae825eb 100644 --- a/app/views/admin/blog/posts/index.html.erb +++ b/app/views/admin/blog/posts/index.html.erb @@ -1,7 +1,7 @@ <%= render :partial => '/admin/blog/submenu' %> <div id='records'> <% if searching? %> - <h2><%= t('admin.search_results_for', :query => params[:search]) %></h2> + <h2><%= t('shared.admin.search.results_for', :query => params[:search]) %></h2> <% if @blog_posts.any? %> <%= render :partial => "blog_posts", :collection => @blog_posts %> @@ -22,7 +22,7 @@ <% else %> <p> <strong> - <%= t('.no_items_yet') %> + <%= t('.no_items_yet', :create => t('admin.blog.submenu.posts.new')) %> </strong> </p> <% end %> |