PHT's on Audit and Macro
Summary: Went through some files and pht'd some stuff while the kid was in the bath. LINT Test Plan: Doinked all over each of these apps, didn't spot anything out of the ordinary. Reviewers: epriestley, btrahan Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D4613
This commit is contained in:
@@ -112,21 +112,21 @@ final class PhabricatorMacroViewController
|
||||
$view->setObject($macro);
|
||||
$view->addAction(
|
||||
id(new PhabricatorActionView())
|
||||
->setName('Edit Macro')
|
||||
->setName(pht('Edit Macro'))
|
||||
->setHref($this->getApplicationURI('/edit/'.$macro->getID().'/'))
|
||||
->setIcon('edit'));
|
||||
|
||||
if ($macro->getIsDisabled()) {
|
||||
$view->addAction(
|
||||
id(new PhabricatorActionView())
|
||||
->setName('Restore Macro')
|
||||
->setName(pht('Restore Macro'))
|
||||
->setHref($this->getApplicationURI('/disable/'.$macro->getID().'/'))
|
||||
->setWorkflow(true)
|
||||
->setIcon('undo'));
|
||||
} else {
|
||||
$view->addAction(
|
||||
id(new PhabricatorActionView())
|
||||
->setName('Disable Macro')
|
||||
->setName(pht('Disable Macro'))
|
||||
->setHref($this->getApplicationURI('/disable/'.$macro->getID().'/'))
|
||||
->setWorkflow(true)
|
||||
->setIcon('delete'));
|
||||
|
||||
Reference in New Issue
Block a user