2012-02-27 17:40:46 +00:00
|
|
|
.pagination.tmargin30
|
|
|
|
- if @page == 1
|
2012-03-21 19:55:14 +00:00
|
|
|
%span.previous_page.disabled= t('will_paginate.previous_label')
|
2012-02-27 17:40:46 +00:00
|
|
|
- else
|
2012-03-21 19:55:14 +00:00
|
|
|
%a.previous_page{:rel => "prev", :href => commits_path(@project, :treeish => @treeish, :page => (@page - 1))}= t('will_paginate.previous_label')
|
2011-04-04 14:49:08 +01:00
|
|
|
|
2012-02-27 17:40:46 +00:00
|
|
|
- if @last_page
|
2012-03-21 19:55:14 +00:00
|
|
|
%span.next_page.disabled= t('will_paginate.next_label')
|
2012-02-27 17:40:46 +00:00
|
|
|
- else
|
2012-03-21 19:55:14 +00:00
|
|
|
%a.next_page{:rel => "next", :href => commits_path(@project, :treeish => @treeish, :page => (@page + 1))}= t('will_paginate.next_label')
|