fixed deprecation warnings
This commit is contained in:
parent
940046daf6
commit
6359997b05
6 changed files with 7 additions and 7 deletions
|
@ -1,6 +1,6 @@
|
||||||
<% content_for :body_content_title, @category.title %>
|
<% content_for :body_content_title, @category.title %>
|
||||||
|
|
||||||
<% content_for :body_content_left do %>
|
<% content_for :body do %>
|
||||||
<% if @posts.any? %>
|
<% if @posts.any? %>
|
||||||
<section id="blog_posts">
|
<section id="blog_posts">
|
||||||
<%= render :partial => "/refinery/blog/shared/post", :collection => @posts %>
|
<%= render :partial => "/refinery/blog/shared/post", :collection => @posts %>
|
||||||
|
@ -13,7 +13,7 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% content_for :body_content_right do %>
|
<% content_for :side_body do %>
|
||||||
<%= render :partial => "/refinery/blog/shared/categories" %>
|
<%= render :partial => "/refinery/blog/shared/categories" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<% content_for :title, "#{t('.blog_archive_for', :date => @archive_date.strftime('%B %Y'))}" %>
|
<% 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>
|
<h1><%= t('.blog_archive_for', :date => @archive_date.strftime('%B %Y')) %></h1>
|
||||||
<% if @posts.any? %>
|
<% if @posts.any? %>
|
||||||
<section id="blog_posts">
|
<section id="blog_posts">
|
||||||
|
|
|
@ -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? %>
|
<%= raw @page.content_for(Refinery::Pages.default_parts.first.to_sym) if Refinery::Pages.default_parts.any? %>
|
||||||
|
|
||||||
<% if @posts.any? %>
|
<% if @posts.any? %>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<% content_for :body_content_left do %>
|
<% content_for :body do %>
|
||||||
<div id="show_blog_post">
|
<div id="show_blog_post">
|
||||||
<%= render 'post' %>
|
<%= render 'post' %>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
<% content_for :body_content_title, "#{t('.posts_tagged')} “#{@tag_name.titleize}”".html_safe -%>
|
<% content_for :body_content_title, "#{t('.posts_tagged')} “#{@tag_name.titleize}”".html_safe -%>
|
||||||
|
|
||||||
<% content_for :body_content_left do %>
|
<% content_for :body do %>
|
||||||
<% if @posts.any? %>
|
<% if @posts.any? %>
|
||||||
<section id="blog_posts">
|
<section id="blog_posts">
|
||||||
<%= render :partial => "/refinery/blog/shared/post", :collection => @posts %>
|
<%= render :partial => "/refinery/blog/shared/post", :collection => @posts %>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<% content_for :body_content_right do %>
|
<% content_for :side_body do %>
|
||||||
<%= yield(:body_content_right_prepend) %>
|
<%= yield(:body_content_right_prepend) %>
|
||||||
<%= render :partial => "/refinery/blog/shared/rss_feed" %>
|
<%= render :partial => "/refinery/blog/shared/rss_feed" %>
|
||||||
<%= render :partial => "/refinery/blog/shared/categories" %>
|
<%= render :partial => "/refinery/blog/shared/categories" %>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue