• <%= post.title.presence || post.translations.detect {|t| t.title.present?}.title %> <% post.translations.reject {|t| t.title.blank? }.each do |translation| %> <%= link_to refinery.edit_blog_admin_post_path(post, :switch_locale => translation.locale), :class => 'locale' do %>
    <%= refinery_icon_tag('locale-blue.svg', :size => '24x24') %> <%= translation.locale.upcase %>
    <% end %> <% end %> <%= post.published_at.try(:strftime, '%b %d, %Y') || 'draft' %> <%= " by #{post.author.username}" if post.author.present? %> <% if post.draft? %> <%= t('refinery.blog.admin.posts.post.draft') %> <% else %> <%= post.published_at.strftime('%b %d, %Y') %> <% end %>
    <%= link_to refinery_icon_tag("application_go.png"), refinery.blog_post_path(post), :title => t('.view_live_html'), :target => "_blank" %> <%= link_to refinery_icon_tag("application_edit.png"), refinery.edit_blog_admin_post_path(post), :title => t('.edit') %> <%= link_to refinery_icon_tag("delete.png"), refinery.blog_admin_post_path(post), :class => "cancel confirm-delete", :title => t('.delete'), :method => :delete, :data => { :confirm => t('message', :scope => 'refinery.admin.delete', :title => post.title) } %>