rosa-build/app/views/git/commits/_paginate.html.haml

11 lines
407 B
Plaintext
Raw Normal View History

.pagination.tmargin30
- if @page == 1
%span.previous_page.disabled « Previous
- else
%a.previous_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
%a.next_page{ :rel => "next", :href => commits_path(@project, :treeish => @treeish, :page => (@page + 1)) } Next »