[Jifty-commit] r7442 - jifty/trunk/share/web/templates/_elements

Jifty commits jifty-commit at lists.jifty.org
Tue Aug 25 03:02:05 EDT 2009


Author: sartak
Date: Tue Aug 25 03:02:04 2009
New Revision: 7442

Modified:
   jifty/trunk/share/web/templates/_elements/paging

Log:
Change class names to avoid css conflicts

Modified: jifty/trunk/share/web/templates/_elements/paging
==============================================================================
--- jifty/trunk/share/web/templates/_elements/paging	(original)
+++ jifty/trunk/share/web/templates/_elements/paging	Tue Aug 25 03:02:04 2009
@@ -5,8 +5,8 @@
 $argument => 'page'
 </%args>
 % if ($collection->count != 0) {
-<div class="page-nav">
-Page <span class="page-numbers">
+<div class="paging-nav">
+Page <span class="paging-numbers">
 % my $last = $collection->pager->last_page;
 
 % my $last_num = 0;
@@ -16,16 +16,16 @@
 % if ( ($goto_page - $last_num) > 1) { 
 &hellip;
 % } 
-<span class="page-number <%$goto_page == $page ? 'current' : ''%>"><% Jifty->web->link( label => $goto_page, onclick => { args => { $argument => $goto_page } } ) %></span>
+<span class="paging-number <%$goto_page == $page ? 'current' : ''%>"><% Jifty->web->link( label => $goto_page, onclick => { args => { $argument => $goto_page } } ) %></span>
 % $last_num = $goto_page;
 % }
 
 % if ($collection->pager->previous_page) {
-<span class="prev-page"><% Jifty->web->link( label => "Back", class => "prev", onclick => { args => { $argument => $collection->pager->previous_page } } ) %></span>
+<span class="paging-prev"><% Jifty->web->link( label => "Back", class => "prev", onclick => { args => { $argument => $collection->pager->previous_page } } ) %></span>
 % }
 
 % if ($collection->pager->next_page) {
-<span class="next-page"><% Jifty->web->link( label => "Next", class => "next", onclick => { args => { $argument => $collection->pager->next_page } } ) %></span>
+<span class="paging-next"><% Jifty->web->link( label => "Next", class => "next", onclick => { args => { $argument => $collection->pager->next_page } } ) %></span>
 % }
 </span>
 </div>


More information about the Jifty-commit mailing list