1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-19 12:00: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:
epriestley 2016-12-08 11:22:57 -08:00
parent 5f26dd9b66
commit be4f66a5a3

View file

@ -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);
}
} }
} }