public
Description: El Dorado is a full-stack community web application written in Ruby/Rails.
Homepage: http://almosteffortless.com/eldorado/
Clone URL: git://github.com/trevorturk/el-dorado.git
moving topics show pagination at bottom of page above post reply box for 
visibility

git-svn-id: http://eldorado.googlecode.com/svn/trunk@508 
9c008b19-a030-0410-9975-d76d301b4276
trevorturk (author)
Mon Nov 05 21:07:12 -0800 2007
commit  da21da2c5b96f52005d41f5aac4ccdd25008ede1
tree    988ffb7eef47a7630dae812c1e13ebe3dc34ca6a
parent  21fb189834148579aca2775dee41adadbaf9fc2a
...
166
167
168
169
170
171
 
172
173
174
...
166
167
168
 
 
 
169
170
171
172
0
@@ -166,9 +166,7 @@
0
   <div class="info-right">
0
     <% if can_edit?(@topic) %>
0
       <%= link_to 'Edit Topic', edit_topic_path %>
0
- <% end %>
0
- <% if @topic.last_page != 1 && can_edit?(@topic) %>&nbsp;</span><% end %>
0
- <%= will_paginate @posts, :inner_window => 1, :outer_window => 0, :prev_label => '&laquo; Prev' %>
0
+ <% end %>
0
   </div>
0
 <% end %>
0
 
...
31
32
33
 
 
 
 
 
34
35
36
...
31
32
33
34
35
36
37
38
39
40
41
0
@@ -31,6 +31,11 @@
0
   <%= render 'posts/show', { :post => post, :index => index } %>
0
 <% end %>
0
 
0
+<div class="info-right" style="margin-top:5px;">
0
+ <%= will_paginate @posts, :inner_window => 1, :outer_window => 0, :prev_label => '&laquo; Prev' %>
0
+</div>
0
+<div style="clear:both;"> </div>
0
+
0
 <% unless current_controller == 'search' %>
0
   <% if logged_in? && (!@topic.locked || can_edit?(@topic)) %>
0
     <%= render 'posts/new' %>

Comments

    No one has commented yet.