aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorNic Haynes <nic@nicinabox.com>2012-03-20 19:43:18 -0500
committerNic Haynes <nic@nicinabox.com>2012-03-20 19:43:18 -0500
commit96448fc3740a932924cd3f0f84e70caec5daf72e (patch)
tree16f21a9167e6c5c211ca2099c344366c19363ca1 /app/views
parent3049816aa975d32b5ee67ed9d4bf7946ea147f6c (diff)
downloadrefinerycms-blog-96448fc3740a932924cd3f0f84e70caec5daf72e.tar.gz
refinerycms-blog-96448fc3740a932924cd3f0f84e70caec5daf72e.tar.bz2
refinerycms-blog-96448fc3740a932924cd3f0f84e70caec5daf72e.zip
Add draft label to admin index
Diffstat (limited to 'app/views')
-rw-r--r--app/views/refinery/blog/admin/posts/_post.html.erb3
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'),