mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-26 15:30:58 +01:00
Show primary email in approval queue interface
Summary: Request from @csilvers. When approving users, the primary email address is useful for administrators. (This queue is only accessible by administrators, so this doesn't expose email information in general.) Test Plan: {F132912} Reviewers: btrahan Reviewed By: btrahan Subscribers: shadowhand, csilvers, epriestley Differential Revision: https://secure.phabricator.com/D8589
This commit is contained in:
parent
0a76d82a7c
commit
62e3463ab7
1 changed files with 4 additions and 0 deletions
|
@ -62,6 +62,10 @@ final class PhabricatorPeopleListController extends PhabricatorPeopleController
|
|||
->addAttribute($email)
|
||||
->setImageURI($user->getProfileImageURI());
|
||||
|
||||
if ($is_approval && $primary_email) {
|
||||
$item->addAttribute($primary_email->getAddress());
|
||||
}
|
||||
|
||||
if ($user->getIsDisabled()) {
|
||||
$item->addIcon('disable', pht('Disabled'));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue