diff options
author | francis <francis> | 2008-09-14 01:40:29 +0000 |
---|---|---|
committer | francis <francis> | 2008-09-14 01:40:29 +0000 |
commit | 6515b7a3714115bfa2158b9faebb7eb92543415d (patch) | |
tree | 4720cbc515ecc0a7f461d1fb6b98feddcc053ed8 /app/controllers/user_controller.rb | |
parent | 2fe306e969fa46bea4e2638e853e8f97f70e357f (diff) |
Print page numbers on user page, request listing page, similar page.
Use right count on user page.
Diffstat (limited to 'app/controllers/user_controller.rb')
-rw-r--r-- | app/controllers/user_controller.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb index 2c98bfd7d..a194b4f36 100644 --- a/app/controllers/user_controller.rb +++ b/app/controllers/user_controller.rb @@ -4,7 +4,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: user_controller.rb,v 1.56 2008-09-08 16:38:32 francis Exp $ +# $Id: user_controller.rb,v 1.57 2008-09-14 01:40:29 francis Exp $ class UserController < ApplicationController # Show page about a user @@ -25,6 +25,7 @@ class UserController < ApplicationController # Use search query for this so can collapse and paginate easily @xapian_requests = perform_search([InfoRequestEvent], 'requested_by:' + @display_user.url_name, 'newest', 'request_collapse') @xapian_comments = perform_search([InfoRequestEvent], 'commented_by:' + @display_user.url_name, 'newest', nil) + @page_desc = " (page " + @page.to_s + ")" # Track corresponding to this page @track_thing = TrackThing.create_track_for_user(@display_user) |