|
From: | noreply |
Subject: | [myexperiment-hackers] [2057] trunk/app/views/layouts/_paginate.rhtml: Bug-fix (found by Stuart): "paginate" layout partial contained mistyped CSS class names, which resulted in a "<< previous" link on the first page (same for "next >>" link on last page) of results to be displayed incorrectly. |
Date: | Fri, 16 Jan 2009 09:54:37 -0500 (EST) |
Bug-fix (found by Stuart): "paginate" layout partial contained mistyped CSS class names, which resulted in a "<< previous" link on the first page (same for "next >>" link on last page) of results to be displayed incorrectly.
--- trunk/app/views/layouts/_paginate.rhtml 2009-01-16 14:48:52 UTC (rev 2056)
+++ trunk/app/views/layouts/_paginate.rhtml 2009-01-16 14:54:36 UTC (rev 2057)
@@ -6,7 +6,7 @@
<%= link_to '« previous', { :page => collection.previous_page } %>
</li>
<% else -%>
- <li class="disablepage">« previous</li>
+ <li class="disabledpage">« previous</li>
<% end -%>
<% last_page = 0 -%>
@@ -26,7 +26,7 @@
<%= link_to 'next »', { :page => collection.next_page } %>
</li>
<% else -%>
- <li class="disablepage">next »</li>
+ <li class="disabledpage">next »</li>
<% end -%>
</ul>
</div>
[Prev in Thread] | Current Thread | [Next in Thread] |