public
Description: OneBody is web-based software that connects community members, especially churches, on the web.
Homepage: http://beonebody.com
Clone URL: git://github.com/seven1m/onebody.git
Flow More tab sections across page.
Tim Morgan (author)
Sun Aug 17 20:05:35 -0700 2008
commit  7c75f2a2ef84e8d25d9105134314a47bd0ef812e
tree    8bf57227a2b2a647a5b08af9ce34596abf744952
parent  fdea32d9a4414b465c24db4abbf674b9b9aba402
...
1
2
3
4
5
 
 
6
7
8
...
10
11
12
13
 
 
14
15
 
 
16
17
18
...
20
21
22
23
 
 
24
25
26
27
28
29
30
 
 
 
 
 
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46
47
48
49
50
 
 
 
51
52
...
1
2
 
 
 
3
4
5
6
7
...
9
10
11
 
12
13
14
 
15
16
17
18
19
...
21
22
23
 
24
25
26
 
 
27
 
 
 
28
29
30
31
32
33
34
35
 
 
 
 
 
 
 
 
 
 
 
 
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
 
54
55
56
57
58
0
@@ -1,8 +1,7 @@
0
 <%= render :partial => 'shares/subnav' %>
0
 
0
-<div style="width:50%;float:right;margin-left:25px;">
0
-
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
     <% if @verses.any? %>
0
       <%= render :partial => 'verses/verse', :collection => @verses %>
0
@@ -10,9 +9,11 @@
0
       <p><em>No verses yet... Add some!</em></p>
0
     <% end %>
0
     <p><%= link_to 'Click here', verses_path %> to see more and to share your own favorite verses.</p>
0
-  <% end %>
0
+  </div>
0
+<% end %>
0
 
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
     <% if @recipes.any? %>
0
       <%= render :partial => 'recipes/list', :locals => {:recipes => @recipes} %>
0
@@ -20,33 +21,38 @@
0
       <p><em>No recipes yet... Add some!</em></p>
0
     <% end %>
0
     <p><%= link_to 'Click here', recipes_path %> to see more and to share your own favorite recipes.</p>
0
-  <% end %>
0
+  </div>
0
+<% end %>
0
   
0
-</div>
0
-
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
+  </div>
0
 <% end %>
0
 
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
-    <p>
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
-      <% end %>
0
-    </p>
0
-  <% else %>
0
-    <p><em>No pictures yet... Add some!</em></p>
0
-  <% end %>
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
+      <p>
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
+        <% end %>
0
+      </p>
0
+    <% else %>
0
+      <p><em>No pictures yet... Add some!</em></p>
0
+    <% end %>
0
+    <p><%= link_to 'Click here', albums_path %> to see more and to upload your own pictures.</p>
0
+  </div>
0
 <% end %>
0
 
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 %>
0
+    </div>
0
   <% end %>
0
 <% end %>
...
948
949
950
 
 
 
 
 
 
...
948
949
950
951
952
953
954
955
956
0
@@ -948,3 +948,9 @@ code {
0
 .handle {
0
   cursor: move;
0
 }
0
+
0
+.share-box {
0
+  width: 45%;
0
+  float: left;
0
+  margin-right: 20px;
0
+}

Comments