Link to LocalSite user pages from LocalSite datagrids

Review Request #9855 — Created April 4, 2018 and submitted — Latest diff uploaded

Information

Review Board
release-3.0.x
bfa839f...

Reviewers

A change a while back upgraded the UsernameColumn to use the new
link_func functionality of Djblets datagrids. However, it regressed
the created URL to the absolute URL of the user (which always lives in
the global namespace) instead of the per-LocalSite URL when viewing a
datagrid on a LocalSite. This change fixes that issue.

Ran unit tests.
Viewed a datagrid on a LocalSite and saw the correct URL for the
username column.

Diff Revision 2

This is not the most recent revision of the diff. The latest diff is revision 3. See what's changed.

orig
1
2
3
reviewboard/datagrids/columns.py
reviewboard/datagrids/tests.py
Loading...