aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJoe Sak <joe@joesak.com>2011-02-16 01:15:52 -0600
committerJoe Sak <joe@joesak.com>2011-02-16 01:15:52 -0600
commit4fe4a7ff245b3d9a831e143725aaa9b2130b1f0a (patch)
tree48942c2503dae7d1394098787800937704ab5a38 /app
parent7046ba73fe409c7d8202c5f441564200d1086c23 (diff)
downloadrefinerycms-blog-4fe4a7ff245b3d9a831e143725aaa9b2130b1f0a.tar.gz
refinerycms-blog-4fe4a7ff245b3d9a831e143725aaa9b2130b1f0a.tar.bz2
refinerycms-blog-4fe4a7ff245b3d9a831e143725aaa9b2130b1f0a.zip
Show publish date in preview data of admin index
Diffstat (limited to 'app')
-rw-r--r--app/views/admin/blog/posts/_post.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/blog/posts/_post.html.erb b/app/views/admin/blog/posts/_post.html.erb
index 1f51932..fa64292 100644
--- a/app/views/admin/blog/posts/_post.html.erb
+++ b/app/views/admin/blog/posts/_post.html.erb
@@ -1,7 +1,7 @@
<li class='clearfix record <%= cycle("on", "on-hover") %>' id="<%= dom_id(post) -%>">
<span class='title'>
<%= post.title %>
- <span class="preview">&nbsp;</span>
+ <span class="preview"><%= post.published_at.try(:strftime, '%b %d, %Y') || 'draft' %></span>
</span>
<span class='actions'>
<%= link_to refinery_icon_tag("application_go.png"), blog_post_url(post),