Sha256: 5ecbb3c944d8a750d5bc28f729ff25bee7478ab459e60cfa8abd0584128f8a78
Contents?: true
Size: 600 Bytes
Versions: 17
Compression:
Stored size: 600 Bytes
Contents
<% content_for :body_content_left do %> <%= @page[:body] %> <% if @news_items.any? %> <% @news_items.each do |item| %> <h3><%= link_to item.title, news_item_url(item) %></h3> <p> <small>Published <%= item.publish_date.strftime("%A %d of %B, %Y") %></small> </p> <%= truncate(item.body, :length => 200, :omission => " ... #{link_to "Read more", news_item_url(item)}", :preserve_html_tags => true) %> <% end %> <% else %> <p><em>Sorry we haven't posted up any news yet.</em></p> <% end %> <% end %> <%= render :partial => "/shared/content_page" %>
Version data entries
17 entries across 17 versions & 3 rubygems