diff options
Diffstat (limited to 'app/views/admin/blog/posts/_post.html.erb')
-rw-r--r-- | app/views/admin/blog/posts/_post.html.erb | 7 |
1 files changed, 5 insertions, 2 deletions
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 @@ <li class='clearfix record <%= cycle("on", "on-hover") %>' id="<%= dom_id(post) -%>"> <span class='title'> <%= post.title %> - <span class="preview"><%= post.published_at.try(:strftime, '%b %d, %Y') || 'draft' %><%= " by #{post.author.username}" if post.author.present? %></span> + <span class="preview"> + <%= post.published_at.try(:strftime, '%b %d, %Y') || 'draft' %> + <%= " by #{post.author.username}" if post.author.present? %> + </span> </span> <span class='actions'> <%= 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) %> </span> </li> |