Skip to content

Commit

Permalink
Add draft UI label in index
Browse files Browse the repository at this point in the history
  • Loading branch information
Nic Haynes committed Dec 8, 2011
1 parent 7d8588d commit 9840c56
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/views/admin/blog/posts/_post.html.erb
Expand Up @@ -6,6 +6,9 @@
<%= " by #{post.author.username}" if post.author.present? %>
</span>
</span>
<% if post.draft? %>
<span class="label notice">Draft</span>
<% end %>
<span class='actions'>
<%= link_to refinery_icon_tag("application_go.png"), blog_post_url(post),
:title => t('.view_live_html'),
Expand Down

0 comments on commit 9840c56

Please sign in to comment.