mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-30 01:10:58 +01:00
Adjust reviewer transaction icon in Differential
Summary: Ref T4866. I did a fancy version of this but it looks pretty bad/confusing so here's a simple version. Fancy-but-whack version: {F146847} Test Plan: This version is like that, but just always uses `fa-user`. Reviewers: chad Reviewed By: chad Subscribers: epriestley Maniphest Tasks: T4866 Differential Revision: https://secure.phabricator.com/D8840
This commit is contained in:
parent
9d3f8117e7
commit
a88f09469d
1 changed files with 5 additions and 0 deletions
|
@ -370,6 +370,11 @@ final class DifferentialTransaction extends PhabricatorApplicationTransaction {
|
|||
case DifferentialAction::ACTION_CLAIM:
|
||||
return 'fa-flag';
|
||||
}
|
||||
case PhabricatorTransactions::TYPE_EDGE:
|
||||
switch ($this->getMetadataValue('edge:type')) {
|
||||
case PhabricatorEdgeConfig::TYPE_DREV_HAS_REVIEWER:
|
||||
return 'fa-user';
|
||||
}
|
||||
}
|
||||
|
||||
return parent::getIcon();
|
||||
|
|
Loading…
Reference in a new issue