mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-20 02:38:39 +01:00
Always show "Change Priority" Maniphest stacked action, even for closed tasks
Summary: Ref T10004. Test Plan: Changed priority of closed and open tasks. Reviewers: chad Reviewed By: chad Maniphest Tasks: T10004 Differential Revision: https://secure.phabricator.com/D14865
This commit is contained in:
parent
f422c9b955
commit
9a99c0fbde
1 changed files with 1 additions and 3 deletions
|
@ -66,10 +66,8 @@ final class ManiphestEditEngine
|
|||
$priority_map = $this->getTaskPriorityMap($object);
|
||||
|
||||
if ($object->isClosed()) {
|
||||
$priority_label = null;
|
||||
$default_status = ManiphestTaskStatus::getDefaultStatus();
|
||||
} else {
|
||||
$priority_label = pht('Change Priority');
|
||||
$default_status = ManiphestTaskStatus::getDefaultClosedStatus();
|
||||
}
|
||||
|
||||
|
@ -150,7 +148,7 @@ final class ManiphestEditEngine
|
|||
->setIsCopyable(true)
|
||||
->setValue($object->getPriority())
|
||||
->setOptions($priority_map)
|
||||
->setCommentActionLabel($priority_label),
|
||||
->setCommentActionLabel(pht('Change Priority')),
|
||||
id(new PhabricatorRemarkupEditField())
|
||||
->setKey('description')
|
||||
->setLabel(pht('Description'))
|
||||
|
|
Loading…
Add table
Reference in a new issue