diff options
author | Philip Arndt <parndt@gmail.com> | 2010-08-26 20:53:46 +1200 |
---|---|---|
committer | Philip Arndt <parndt@gmail.com> | 2010-08-26 20:53:46 +1200 |
commit | c343dd2889402a5e0eca4d490fbd0fbf3c892b70 (patch) | |
tree | c3cf5ddf4759c86107e89296faf47d86bda20c04 /app/views/blog_posts/show.html.erb | |
parent | 5cb85902866dfc0f64885a76ce38f23dd1f89d53 (diff) | |
download | refinerycms-blog-c343dd2889402a5e0eca4d490fbd0fbf3c892b70.tar.gz refinerycms-blog-c343dd2889402a5e0eca4d490fbd0fbf3c892b70.tar.bz2 refinerycms-blog-c343dd2889402a5e0eca4d490fbd0fbf3c892b70.zip |
display more frontend, create separate css for frontend and backend, namespace the js in the same fashion, now has full English support..
Diffstat (limited to 'app/views/blog_posts/show.html.erb')
-rw-r--r-- | app/views/blog_posts/show.html.erb | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/app/views/blog_posts/show.html.erb b/app/views/blog_posts/show.html.erb index 7a4c9c3..2a6fa12 100644 --- a/app/views/blog_posts/show.html.erb +++ b/app/views/blog_posts/show.html.erb @@ -4,21 +4,23 @@ <%= @blog_post.body %> <% if (categories = @blog_post.categories).any? %> - <%= t('.filed_in') %> - <ul> - <% categories.each do |category| %> - <li> - <%= link_to category.title, blog_category_url(category) %> - </li> - <% end %> - </ul> + <div class='post_categories'> + <span class='filed_in'><%= t('.filed_in') %></span> + <ul> + <% categories.each_with_index do |category, index| %> + <li> + <%= link_to category.title, blog_category_url(category) -%><%= ',' if index < ((categories.length) - 1) %> + </li> + <% end %> + </ul> + </div> <% end %> <% end %> <% content_for :body_content_right do %> <h2><%= t('.created_at_title') %></h2> <%= t('.created_at', :when => @blog_post.created_at.strftime('%d %B %Y')) %> - <%= render :partial => "sidebar" %> + <%= render :partial => "side_bar" %> <h2><%= t('.other') %></h2> <ul id="blog_post"> @@ -31,3 +33,6 @@ <% end %> <%= render :partial => "/shared/content_page" %> +<% content_for :head do %> + <%= stylesheet_link_tag 'refinerycms-blog' %> +<% end %>
\ No newline at end of file |