Sha256: 595953556787348be0a69da6c1d5e33fb68eb51890438313d74f6f6d3aa94e01

Contents?: true

Size: 653 Bytes

Versions: 12

Compression:

Stored size: 653 Bytes

Contents

<div id='body_content' class='clearfix'>
	<div id='body_content_left' class='clearfix'>
	  <h1><%= page_title %></h1>
		<%= @page[:body] %>
	
		<% if @news_items.size > 0 %>
			<% @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>
				<p>
					<%= item.blurb %> <%= link_to "Read more", news_item_url(item) %>
				</p>
			<% end %>
		<% else %>
			<p><em>Sorry we haven't posted up any news yet.</em></p>
		<% end %>
	</div>
	<div id='body_content_right' class='clearfix'>
		<%= @page[:side_body] %>
	</div>
</div>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
refinerycms-0.9.4.3 vendor/plugins/news/app/views/news_items/index.html.erb
refinerycms-0.9.4.2 vendor/plugins/news/app/views/news_items/index.html.erb
refinerycms-0.9.4.1 vendor/plugins/news/app/views/news_items/index.html.erb
refinerycms-0.9.4 vendor/plugins/news/app/views/news_items/index.html.erb
refinerycms-0.9.3 vendor/plugins/news/app/views/news_items/index.html.erb
refinerycms-0.9.2.2 vendor/plugins/news/app/views/news_items/index.html.erb
refinerycms-0.9.2.1 vendor/plugins/news/app/views/news_items/index.html.erb
refinerycms-0.9.2 vendor/plugins/news/app/views/news_items/index.html.erb
refinerycms-0.9.1.2 vendor/plugins/news/app/views/news_items/index.html.erb
refinerycms-0.9.1.1 vendor/plugins/news/app/views/news_items/index.html.erb
refinerycms-0.9.1 vendor/plugins/news/app/views/news_items/index.html.erb
refinerycms-0.9.0 vendor/plugins/news/app/views/news_items/index.html.erb