mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 22:10:55 +01:00
In Remarkup, render archived Herald rules with strikethrough for consistency
Summary: Fixes T11969. Test Plan: {T11969} Reviewers: chad Reviewed By: chad Maniphest Tasks: T11969 Differential Revision: https://secure.phabricator.com/D17010
This commit is contained in:
parent
5f26dd9b66
commit
be4f66a5a3
1 changed files with 4 additions and 0 deletions
|
@ -38,6 +38,10 @@ final class HeraldRulePHIDType extends PhabricatorPHIDType {
|
||||||
$handle->setName($monogram);
|
$handle->setName($monogram);
|
||||||
$handle->setFullName("{$monogram} {$name}");
|
$handle->setFullName("{$monogram} {$name}");
|
||||||
$handle->setURI("/{$monogram}");
|
$handle->setURI("/{$monogram}");
|
||||||
|
|
||||||
|
if ($rule->getIsDisabled()) {
|
||||||
|
$handle->setStatus(PhabricatorObjectHandle::STATUS_CLOSED);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue