Differential D20300 Diff 48498 src/applications/project/trigger/PhabricatorProjectTriggerManiphestStatusRule.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/project/trigger/PhabricatorProjectTriggerManiphestStatusRule.php
Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Lines | protected function newDropEffects($value) { | ||||
$content = pht( | $content = pht( | ||||
'Change status to %s.', | 'Change status to %s.', | ||||
phutil_tag('strong', array(), $status_name)); | phutil_tag('strong', array(), $status_name)); | ||||
return array( | return array( | ||||
$this->newEffect() | $this->newEffect() | ||||
->setIcon($status_icon) | ->setIcon($status_icon) | ||||
->setColor($status_color) | ->setColor($status_color) | ||||
->addCondition('status', '!=', $value) | |||||
->setContent($content), | ->setContent($content), | ||||
); | ); | ||||
} | } | ||||
} | } |