mirror of
https://we.phorge.it/source/phorge.git
synced 2025-03-15 22:04:57 +01:00
Use grey dots for disabled users, even if a user is also unverified
Summary: Fixes T12559. Test Plan: {F4929988} {F4929989} {F4929990} Reviewers: chad Reviewed By: chad Maniphest Tasks: T12559 Differential Revision: https://secure.phabricator.com/D17806
This commit is contained in:
parent
608dd06151
commit
89d0c8e388
2 changed files with 6 additions and 2 deletions
|
@ -150,7 +150,9 @@ final class PhabricatorMentionRemarkupRule extends PhutilRemarkupRule {
|
|||
$tag->addClass('phabricator-remarkup-mention-nopermission');
|
||||
}
|
||||
|
||||
if (!$user->isResponsive()) {
|
||||
if ($user->getIsDisabled()) {
|
||||
$tag->setDotColor(PHUITagView::COLOR_GREY);
|
||||
} else if (!$user->isResponsive()) {
|
||||
$tag->setDotColor(PHUITagView::COLOR_VIOLET);
|
||||
} else {
|
||||
if ($user->getAwayUntil()) {
|
||||
|
|
|
@ -61,7 +61,9 @@ final class PhabricatorPeopleUserPHIDType extends PhabricatorPHIDType {
|
|||
}
|
||||
|
||||
$availability = null;
|
||||
if (!$user->isResponsive()) {
|
||||
if ($user->getIsDisabled()) {
|
||||
$availability = PhabricatorObjectHandle::AVAILABILITY_DISABLED;
|
||||
} else if (!$user->isResponsive()) {
|
||||
$availability = PhabricatorObjectHandle::AVAILABILITY_NOEMAIL;
|
||||
} else {
|
||||
$until = $user->getAwayUntil();
|
||||
|
|
Loading…
Add table
Reference in a new issue