Link to LocalSite user pages from LocalSite datagrids
Review Request #9855 — Created April 4, 2018 and submitted
A change a while back upgraded the UsernameColumn to use the new
link_funcfunctionality 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.
Review request changed
- Change Summary:
-
Unit tests!
- Commit:
-
30793b716ac2828c3f0f990bbdd5fb55ec4a1f60918a92e463eec65d406576a4020889b376d7c6dc
Review request changed
- Change Summary:
-
Flake8
- Commit:
-
918a92e463eec65d406576a4020889b376d7c6dcbfa839f7506937689611fb0fc7f3a5260f451451
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.