mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-23 03:59:25 +01:00
Make viewing a user's profile page clear notifications about that user
Summary: Ref T13222. See PHI996. This is a general correctness improvement, but also allows you to clear test notifications by clicking on them (since their default destination is the recipient's profile page). Test Plan: Clicked a test notification, got taken to my profile page, saw notification marked as read. Reviewers: amckinley Reviewed By: amckinley Maniphest Tasks: T13222 Differential Revision: https://secure.phabricator.com/D19867
This commit is contained in:
parent
05900a4cc9
commit
0e067213fb
1 changed files with 4 additions and 0 deletions
|
@ -74,6 +74,10 @@ final class PhabricatorPeopleProfileViewController
|
||||||
->setTitle($user->getUsername())
|
->setTitle($user->getUsername())
|
||||||
->setNavigation($nav)
|
->setNavigation($nav)
|
||||||
->setCrumbs($crumbs)
|
->setCrumbs($crumbs)
|
||||||
|
->setPageObjectPHIDs(
|
||||||
|
array(
|
||||||
|
$user->getPHID(),
|
||||||
|
))
|
||||||
->appendChild(
|
->appendChild(
|
||||||
array(
|
array(
|
||||||
$home,
|
$home,
|
||||||
|
|
Loading…
Add table
Reference in a new issue