0
<%= render :partial => 'shares/subnav' %>
0
-<div style="width:50%;float:right;margin-left:25px;">
0
- <% if Setting.get(:features, :verses) %>
0
+<% if Setting.get(:features, :verses) %>
0
+ <div class="share-box">
0
<h2><%= link_to 'Verses' + image_tag('next.gif', :alt => 'Verses', :class => 'icon'), verses_path %></h2>
0
<%= render :partial => 'verses/verse', :collection => @verses %>
0
<p><em>No verses yet... Add some!</em></p>
0
<p><%= link_to 'Click here', verses_path %> to see more and to share your own favorite verses.</p>
0
- <% if Setting.get(:features, :recipes) %>
0
+<% if Setting.get(:features, :recipes) %>
0
+ <div class="share-box">
0
<h2><%= link_to 'Recipes' + image_tag('next.gif', :alt => 'Recipes', :class => 'icon'), recipes_path %></h2>
0
<%= render :partial => 'recipes/list', :locals => {:recipes => @recipes} %>
0
<p><em>No recipes yet... Add some!</em></p>
0
<p><%= link_to 'Click here', recipes_path %> to see more and to share your own favorite recipes.</p>
0
<% if Setting.get(:features, :publications) %>
0
- <h2><%= link_to 'Publications' + image_tag('next.gif', :alt => 'Publications', :class => 'icon'), publications_path %></h2>
0
- <%= render :partial => 'publications/list' %>
0
- <p><%= link_to 'Click here', publications_path %> for more details and to sign up for updates.</p>
0
+ <div class="share-box">
0
+ <h2><%= link_to 'Publications' + image_tag('next.gif', :alt => 'Publications', :class => 'icon'), publications_path %></h2>
0
+ <%= render :partial => 'publications/list' %>
0
+ <p><%= link_to 'Click here', publications_path %> for more details and to sign up for updates.</p>
0
<% if Setting.get(:features, :pictures) %>
0
- <h2><%= link_to 'Pictures' + image_tag('next.gif', :alt => 'Pictures', :class => 'icon'), albums_path %></h2>
0
- <% if @pictures.any? %>
0
- <% @pictures.each do |object| %>
0
- <%= link_to image_tag(small_picture_path(object), :alt => 'click to enlarge'),
0
- picture_path(object), :title => 'click to enlarge' %>
0
- <p><em>No pictures yet... Add some!</em></p>
0
- <p><%= link_to 'Click here', albums_path %> to see more and to upload your own pictures.</p>
0
+ <div class="share-box">
0
+ <h2><%= link_to 'Pictures' + image_tag('next.gif', :alt => 'Pictures', :class => 'icon'), albums_path %></h2>
0
+ <% if @pictures.any? %>
0
+ <% @pictures.each do |object| %>
0
+ <%= link_to image_tag(small_picture_path(object), :alt => 'click to enlarge'),
0
+ picture_path(object), :title => 'click to enlarge' %>
0
+ <p><em>No pictures yet... Add some!</em></p>
0
+ <p><%= link_to 'Click here', albums_path %> to see more and to upload your own pictures.</p>
0
<% PLUGIN_HOOKS[:more_page].each do |partial, conditional| %>
0
<% if conditional.nil? or (conditional.respond_to?(:call) and conditional.call(self)) %>
0
- <%= render :partial => partial %>
0
+ <div class="share-box">
0
+ <%= render :partial => partial %>