sneakin-refinerycms-news 0.9.7.1 → 0.9.7.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  <% content_for :body_content_left do %>
2
- <%= @page[:body] %>
2
+ <%= @page[:body] if @news_items.offset == 0 %>
3
3
 
4
4
  <% if @news_items.any? %>
5
5
  <% @news_items.each do |item| %>
@@ -14,5 +14,5 @@
14
14
  <p><em>Sorry we haven't posted up any news yet.</em></p>
15
15
  <% end %>
16
16
  <% end %>
17
-
17
+ <% content_for :body_content_right, "&nbsp;" if @news_items.offset > 0 -%>
18
18
  <%= render :partial => "/shared/content_page" %>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sneakin-refinerycms-news
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.7.1
4
+ version: 0.9.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Resolve Digital