Fix URLs to users on Local Sites.

Review Request #6289 — Created Sept. 3, 2014 and submitted

Information

Review Board
release-2.0.x
67da621...

Reviewers

The URLs shown in the user infobox, in the Submitter field on a review
request, and in the target reviewers lists weren't correct on Local
Sites. We were using get_absolute_url, and need to instead use
local_site_reverse.

After this change, all URLs to users should be correct.

Tested these URLs on a local site.

Grepped through the codebase looking for any more instances of
user.get_absolute_url. Didn't find any.

reviewbot
  1. Tool: Pyflakes
    Processed Files:
        reviewboard/reviews/builtin_fields.py
    
    Ignored Files:
        reviewboard/templates/reviews/reviewable_page_data.js
        reviewboard/templates/accounts/user_infobox.html
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/reviews/builtin_fields.py
    
    Ignored Files:
        reviewboard/templates/reviews/reviewable_page_data.js
        reviewboard/templates/accounts/user_infobox.html
    
    
  2. 
      
david
  1. Ship It!

  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-2.0.x (021f695)
Loading...