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

9 lines
408 B
Plaintext
Raw Normal View History

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