aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorUģis Ozols <ugis.ozolss@gmail.com>2012-04-10 23:02:41 +0300
committerUģis Ozols <ugis.ozolss@gmail.com>2012-04-10 23:02:41 +0300
commit14cd410324e062a6d4f6ef13d95e9ce14a8ddc75 (patch)
tree761f8d98b8edec186826585dfac8b3c0b7349247 /app/views
parent3627b8f86582d5da14b21f5ac93c807ef3d1594e (diff)
downloadrefinerycms-blog-14cd410324e062a6d4f6ef13d95e9ce14a8ddc75.tar.gz
refinerycms-blog-14cd410324e062a6d4f6ef13d95e9ce14a8ddc75.tar.bz2
refinerycms-blog-14cd410324e062a6d4f6ef13d95e9ce14a8ddc75.zip
Fix deprecation warnings.
Diffstat (limited to 'app/views')
-rw-r--r--app/views/refinery/blog/categories/show.html.erb4
-rw-r--r--app/views/refinery/blog/posts/archive.html.erb2
-rw-r--r--app/views/refinery/blog/posts/index.html.erb4
-rw-r--r--app/views/refinery/blog/posts/show.html.erb2
-rw-r--r--app/views/refinery/blog/posts/tagged.html.erb2
-rw-r--r--app/views/refinery/blog/shared/_body_content_right.html.erb6
6 files changed, 10 insertions, 10 deletions
diff --git a/app/views/refinery/blog/categories/show.html.erb b/app/views/refinery/blog/categories/show.html.erb
index aa4abaf..51206c8 100644
--- a/app/views/refinery/blog/categories/show.html.erb
+++ b/app/views/refinery/blog/categories/show.html.erb
@@ -1,6 +1,6 @@
<% content_for :body_content_title, @category.title %>
-<% content_for :body_content_left do %>
+<% content_for :body do %>
<% if @posts.any? %>
<section id="blog_posts">
<%= render :partial => "/refinery/blog/shared/post", :collection => @posts %>
@@ -13,7 +13,7 @@
<% end %>
<% end %>
-<% content_for :body_content_right do %>
+<% content_for :side_body do %>
<%= render :partial => "/refinery/blog/shared/categories" %>
<% end %>
diff --git a/app/views/refinery/blog/posts/archive.html.erb b/app/views/refinery/blog/posts/archive.html.erb
index bda6c45..1c3342c 100644
--- a/app/views/refinery/blog/posts/archive.html.erb
+++ b/app/views/refinery/blog/posts/archive.html.erb
@@ -1,6 +1,6 @@
<% content_for :title, "#{t('.blog_archive_for', :date => @archive_date.strftime('%B %Y'))}" %>
-<% content_for :body_content_left do %>
+<% content_for :body do %>
<h1><%= t('.blog_archive_for', :date => @archive_date.strftime('%B %Y')) %></h1>
<% if @posts.any? %>
<section id="blog_posts">
diff --git a/app/views/refinery/blog/posts/index.html.erb b/app/views/refinery/blog/posts/index.html.erb
index 2e8837c..ec19d26 100644
--- a/app/views/refinery/blog/posts/index.html.erb
+++ b/app/views/refinery/blog/posts/index.html.erb
@@ -1,4 +1,4 @@
-<% content_for :body_content_left do %>
+<% content_for :body do %>
<%= raw @page.content_for(Refinery::Pages.default_parts.first.to_sym) if Refinery::Pages.default_parts.any? %>
<% if @posts.any? %>
@@ -11,7 +11,7 @@
<% end %>
<% end %>
-<% content_for :body_content_right_prepend do -%>
+<% content_for :side_body_prepend do -%>
<%= raw @page.content_for(Refinery::Pages.default_parts.second.to_sym) %>
<% end if Refinery::Pages.default_parts.many? -%>
<%= render :partial => '/refinery/blog/shared/body_content_right' %>
diff --git a/app/views/refinery/blog/posts/show.html.erb b/app/views/refinery/blog/posts/show.html.erb
index 4252cc1..95c2241 100644
--- a/app/views/refinery/blog/posts/show.html.erb
+++ b/app/views/refinery/blog/posts/show.html.erb
@@ -1,4 +1,4 @@
-<% content_for :body_content_left do %>
+<% content_for :body do %>
<div id="show_blog_post">
<%= render 'post' %>
</div>
diff --git a/app/views/refinery/blog/posts/tagged.html.erb b/app/views/refinery/blog/posts/tagged.html.erb
index 3a3ee75..80547ee 100644
--- a/app/views/refinery/blog/posts/tagged.html.erb
+++ b/app/views/refinery/blog/posts/tagged.html.erb
@@ -2,7 +2,7 @@
<% content_for :body_content_title, "#{t('.posts_tagged')} &#8220;#{@tag_name.titleize}&#8221;".html_safe -%>
-<% content_for :body_content_left do %>
+<% content_for :body do %>
<% if @posts.any? %>
<section id="blog_posts">
<%= render :partial => "/refinery/blog/shared/post", :collection => @posts %>
diff --git a/app/views/refinery/blog/shared/_body_content_right.html.erb b/app/views/refinery/blog/shared/_body_content_right.html.erb
index bd73d1c..2b2e76d 100644
--- a/app/views/refinery/blog/shared/_body_content_right.html.erb
+++ b/app/views/refinery/blog/shared/_body_content_right.html.erb
@@ -1,9 +1,9 @@
-<% content_for :body_content_right do %>
- <%= yield(:body_content_right_prepend) %>
+<% content_for :side_body do %>
+ <%= yield(:side_body_prepend) %>
<%= render :partial => "/refinery/blog/shared/rss_feed" %>
<%= render :partial => "/refinery/blog/shared/categories" %>
<%= render :partial => "/refinery/blog/shared/tags" %>
<%= render :partial => "/refinery/blog/shared/posts" %>
<%= blog_archive_widget %>
- <%= yield(:body_content_right_append) %>
+ <%= yield(:side_body_append) %>
<% end %>