diff --git a/src/applications/project/controller/PhabricatorProjectBoardViewController.php b/src/applications/project/controller/PhabricatorProjectBoardViewController.php index 0685391cbb..e8de61e3cc 100644 --- a/src/applications/project/controller/PhabricatorProjectBoardViewController.php +++ b/src/applications/project/controller/PhabricatorProjectBoardViewController.php @@ -692,7 +692,7 @@ final class PhabricatorProjectBoardViewController ->setName(pht('Add Column')) ->setHref($add_uri) ->setDisabled(!$can_edit) - ->setWorkflow(!$can_edit); + ->setWorkflow(true); $manage_items[] = id(new PhabricatorActionView()) ->setIcon('fa-exchange') diff --git a/src/applications/project/controller/PhabricatorProjectColumnEditController.php b/src/applications/project/controller/PhabricatorProjectColumnEditController.php index 5ebc721c69..9f880b9515 100644 --- a/src/applications/project/controller/PhabricatorProjectColumnEditController.php +++ b/src/applications/project/controller/PhabricatorProjectColumnEditController.php @@ -136,21 +136,13 @@ final class PhabricatorProjectColumnEditController $submit = pht('Save Column'); } - $form->appendChild( - id(new AphrontFormSubmitControl()) - ->setValue($submit) - ->addCancelButton($view_uri)); - - $form_box = id(new PHUIObjectBoxView()) - ->setHeaderText($title) - ->setValidationException($validation_exception) - ->setForm($form); - - $nav = $this->getProfileMenu(); - - return $this->newPage() + return $this->newDialog() + ->setWidth(AphrontDialogView::WIDTH_FORM) ->setTitle($title) - ->setNavigation($nav) - ->appendChild($form_box); + ->appendForm($form) + ->setValidationException($validation_exception) + ->addCancelButton($view_uri) + ->addSubmitButton($submit); + } }