diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-03-25 18:18:29 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-03-25 18:18:29 +0000 |
commit | e951209d6824361b985032e7c8aa2ad82158ae7d (patch) | |
tree | 3968512acad9b0d54b7597b31a12f2f1dbf5e310 /app/views/repositories | |
parent | 0ef114e00641a3cdb8771675a30cae31177b2d61 (diff) | |
download | redmine-e951209d6824361b985032e7c8aa2ad82158ae7d.tar.gz redmine-e951209d6824361b985032e7c8aa2ad82158ae7d.zip |
added pagination on revisions list
git-svn-id: http://redmine.rubyforge.org/svn/trunk@381 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/repositories')
-rw-r--r-- | app/views/repositories/revisions.rhtml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/repositories/revisions.rhtml b/app/views/repositories/revisions.rhtml index 52564472d..b438201cc 100644 --- a/app/views/repositories/revisions.rhtml +++ b/app/views/repositories/revisions.rhtml @@ -15,7 +15,9 @@ <h3>Revisions</h3> <%= render :partial => 'revisions', :locals => {:project => @project, :path => @path, :changesets => @changesets, :entry => @entry }%> -<p><%= lwr(:label_modification, @changesets.length) %></p> + +<p><%= pagination_links_full @changeset_pages %> +[ <%= @changeset_pages.current.first_item %> - <%= @changeset_pages.current.last_item %> / <%= @changeset_count %> ]</p> <% content_for :header_tags do %> <%= stylesheet_link_tag "scm" %> |