aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/blog/posts/index.html.erb
diff options
context:
space:
mode:
authorJoe Sak <joe@joesak.com>2010-11-18 10:52:10 -0600
committerJoe Sak <joe@joesak.com>2010-11-18 10:52:10 -0600
commitdc3cbaa0918c5194ae0f1e80024611c614be612f (patch)
tree148ec2e27b58295bfbfda2be12863d398d026713 /app/views/blog/posts/index.html.erb
parentc610fee93b9e20e083c68d99ee941c6b4f507cf0 (diff)
downloadrefinerycms-blog-dc3cbaa0918c5194ae0f1e80024611c614be612f.tar.gz
refinerycms-blog-dc3cbaa0918c5194ae0f1e80024611c614be612f.tar.bz2
refinerycms-blog-dc3cbaa0918c5194ae0f1e80024611c614be612f.zip
Archive listing, views, helpers
@page added to PostsController TODO: language file stuff -- I left comments in the view files where these belong. I don't know how to test them from here
Diffstat (limited to 'app/views/blog/posts/index.html.erb')
-rw-r--r--app/views/blog/posts/index.html.erb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/blog/posts/index.html.erb b/app/views/blog/posts/index.html.erb
index a90ff2c..9e63ac2 100644
--- a/app/views/blog/posts/index.html.erb
+++ b/app/views/blog/posts/index.html.erb
@@ -4,6 +4,8 @@
<section id="blog_posts">
<%= render :partial => "/blog/shared/post", :collection => @blog_posts %>
</section>
+ <%= "<p>There are no blog articles posted yet. Stay tuned.</p>".html_safe unless @blog_posts.any? %>
+ <%# TODO: Add locale logic here - hubble is a n00b at that %>
<% end %>
<% content_for :body_content_right do %>
@@ -11,6 +13,7 @@
<%= render :partial => "/blog/shared/categories" %>
<%= render :partial => "/blog/shared/rss_feed" %>
+ <%= blog_archive_list %>
<% end %>
<%= render :partial => "/shared/content_page" %>