diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-06-23 18:53:45 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-06-23 18:53:45 +0000 |
commit | 6d7a855ca2f497a0deeb728d4d7da5cf4afa1d51 (patch) | |
tree | 88235a1694001e53894f387e7823af9d9aa672a1 /app/views/wiki | |
parent | 600018d5adfd627f8a72d39c19f770e64b40ba72 (diff) | |
download | redmine-6d7a855ca2f497a0deeb728d4d7da5cf4afa1d51.tar.gz redmine-6d7a855ca2f497a0deeb728d4d7da5cf4afa1d51.zip |
Added pagination on wiki page history.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@571 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/wiki')
-rw-r--r-- | app/views/wiki/history.rhtml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/views/wiki/history.rhtml b/app/views/wiki/history.rhtml index 78dc70cc5..6040072ea 100644 --- a/app/views/wiki/history.rhtml +++ b/app/views/wiki/history.rhtml @@ -25,4 +25,7 @@ </tbody> </table> -<p><%= link_to l(:button_back), :action => 'index', :page => @page.title %></p>
\ No newline at end of file +<p><%= pagination_links_full @version_pages, :page_param => :p %> +[ <%= @version_pages.current.first_item %> - <%= @version_pages.current.last_item %> / <%= @version_count %> ]</p> + +<p><%= link_to l(:button_back), :action => 'index', :page => @page.title %></p> |