9 lines
360 B
Plaintext
9 lines
360 B
Plaintext
- if @page == 1
|
|
%span.prev_page.disabled « Previous
|
|
- else
|
|
%a.next_page{ :rel => "prev", :href => commits_path(@project, :treeish => @treeish, :page => (@page - 1)) } « Previous
|
|
|
|
- if @last_page
|
|
%span.next_page.disabled Next »
|
|
- else
|
|
%a.next_page{ :rel => "next", :href => commits_path(@project, :treeish => @treeish, :page => (@page + 1)) } Next » |