2011-04-04 14:49:08 +01:00
|
|
|
- if @page == 1
|
|
|
|
%span.prev_page.disabled « Previous
|
|
|
|
- else
|
2011-10-24 11:19:04 +01:00
|
|
|
%a.next_page{ :rel => "prev", :href => commits_path(@project, :treeish => @treeish, :page => (@page - 1)) } « Previous
|
2011-04-04 14:49:08 +01:00
|
|
|
|
|
|
|
- if @last_page
|
|
|
|
%span.next_page.disabled Next »
|
|
|
|
- else
|
2011-10-24 11:19:04 +01:00
|
|
|
%a.next_page{ :rel => "next", :href => commits_path(@project, :treeish => @treeish, :page => (@page + 1)) } Next »
|