<% content_for :body_content_title do %> <%= t('plugins.refinerycms_news.title') %> <% end %> <% content_for :body_content_left do %> <%= @page[:body] if @news_items.offset == 0 %> <% if @news_items.any? %> <% @news_items.each do |item| %>

<%= link_to item.title, news_item_url(item) %>

<%= t('.published') %> <%= l(item.publish_date, :format => :long) %>

<%= truncate item.body, :length => 200, :omission => " ... #{link_to t('.read_more'), news_item_url(item)}", :preserve_html_tags => true %> <% end %> <%= will_paginate(@news_items) %> <% else %>

<%= t('.no_items_yet') %>

<% end %> <% end -%> <%= render :partial => "/shared/content_page" %>