diff options
author | Nic Haynes <nic@nicinabox.com> | 2012-03-20 19:43:18 -0500 |
---|---|---|
committer | Nic Haynes <nic@nicinabox.com> | 2012-03-20 19:43:18 -0500 |
commit | 96448fc3740a932924cd3f0f84e70caec5daf72e (patch) | |
tree | 16f21a9167e6c5c211ca2099c344366c19363ca1 /app | |
parent | 3049816aa975d32b5ee67ed9d4bf7946ea147f6c (diff) | |
download | refinerycms-blog-96448fc3740a932924cd3f0f84e70caec5daf72e.tar.gz refinerycms-blog-96448fc3740a932924cd3f0f84e70caec5daf72e.tar.bz2 refinerycms-blog-96448fc3740a932924cd3f0f84e70caec5daf72e.zip |
Add draft label to admin index
Diffstat (limited to 'app')
-rw-r--r-- | app/views/refinery/blog/admin/posts/_post.html.erb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/refinery/blog/admin/posts/_post.html.erb b/app/views/refinery/blog/admin/posts/_post.html.erb index b5018f3..f29db54 100644 --- a/app/views/refinery/blog/admin/posts/_post.html.erb +++ b/app/views/refinery/blog/admin/posts/_post.html.erb @@ -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"), refinery.blog_post_path(post), :title => t('.view_live_html'), |