Differential D15111 Diff 36487 src/applications/people/controller/PhabricatorPeopleProfileManageController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/people/controller/PhabricatorPeopleProfileManageController.php
Show All 22 Lines | public function handleRequest(AphrontRequest $request) { | ||||
$this->setUser($user); | $this->setUser($user); | ||||
$profile = $user->loadUserProfile(); | $profile = $user->loadUserProfile(); | ||||
$picture = $user->getProfileImageURI(); | $picture = $user->getProfileImageURI(); | ||||
$profile_icon = PhabricatorPeopleIconSet::getIconIcon($profile->getIcon()); | $profile_icon = PhabricatorPeopleIconSet::getIconIcon($profile->getIcon()); | ||||
$profile_icon = id(new PHUIIconView()) | $profile_icon = id(new PHUIIconView()) | ||||
->setIconFont($profile_icon.' grey'); | ->setIconFont($profile_icon); | ||||
$profile_title = $profile->getDisplayTitle(); | $profile_title = $profile->getDisplayTitle(); | ||||
$header = id(new PHUIHeaderView()) | $header = id(new PHUIHeaderView()) | ||||
->setHeader($user->getFullName()) | ->setHeader($user->getFullName()) | ||||
->setSubheader(array($profile_icon, $profile_title)) | ->setSubheader(array($profile_icon, $profile_title)) | ||||
->setImage($picture); | ->setImage($picture); | ||||
$actions = $this->buildActionList($user); | $actions = $this->buildActionList($user); | ||||
▲ Show 20 Lines • Show All 146 Lines • Show Last 20 Lines |