From 47a71b309f4fb364449167ddc6ed978b6969e047 Mon Sep 17 00:00:00 2001 From: Philip Arndt Date: Fri, 1 Jul 2011 09:12:27 +1200 Subject: Making use of translation scopes. --- app/views/admin/blog/posts/_post.html.erb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'app/views/admin/blog/posts/_post.html.erb') diff --git a/app/views/admin/blog/posts/_post.html.erb b/app/views/admin/blog/posts/_post.html.erb index 1226082..a7f09e0 100644 --- a/app/views/admin/blog/posts/_post.html.erb +++ b/app/views/admin/blog/posts/_post.html.erb @@ -1,7 +1,10 @@
  • <%= post.title %> - <%= post.published_at.try(:strftime, '%b %d, %Y') || 'draft' %><%= " by #{post.author.username}" if post.author.present? %> + + <%= post.published_at.try(:strftime, '%b %d, %Y') || 'draft' %> + <%= " by #{post.author.username}" if post.author.present? %> + <%= link_to refinery_icon_tag("application_go.png"), blog_post_url(post), @@ -13,6 +16,6 @@ :class => "cancel confirm-delete", :title => t('.delete'), :method => :delete, - :confirm => t('shared.admin.delete.message', :title => post.title) %> + :confirm => t('message', :scope => 'shared.admin.delete', :title => post.title) %>
  • -- cgit v1.2.3