Changeset View
Changeset View
Standalone View
Standalone View
src/applications/maniphest/storage/ManiphestTransaction.php
Show First 20 Lines • Show All 205 Lines • ▼ Show 20 Lines | switch ($this->getTransactionType()) { | ||||
return pht('The task already has the selected owner.'); | return pht('The task already has the selected owner.'); | ||||
case ManiphestTaskPriorityTransaction::TRANSACTIONTYPE: | case ManiphestTaskPriorityTransaction::TRANSACTIONTYPE: | ||||
return pht('The task already has the selected priority.'); | return pht('The task already has the selected priority.'); | ||||
} | } | ||||
return parent::getNoEffectDescription(); | return parent::getNoEffectDescription(); | ||||
} | } | ||||
public function renderSubtypeName($value) { | |||||
$object = $this->getObject(); | |||||
$map = $object->newEditEngineSubtypeMap(); | |||||
if (!isset($map[$value])) { | |||||
return $value; | |||||
} | |||||
return $map[$value]->getName(); | |||||
} | |||||
} | } |