Page MenuHomePhabricator

D15270.id36847.diff
No OneTemporary

D15270.id36847.diff

diff --git a/src/applications/project/controller/PhabricatorProjectBoardViewController.php b/src/applications/project/controller/PhabricatorProjectBoardViewController.php
--- a/src/applications/project/controller/PhabricatorProjectBoardViewController.php
+++ b/src/applications/project/controller/PhabricatorProjectBoardViewController.php
@@ -692,7 +692,7 @@
->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
--- a/src/applications/project/controller/PhabricatorProjectColumnEditController.php
+++ b/src/applications/project/controller/PhabricatorProjectColumnEditController.php
@@ -136,21 +136,13 @@
$submit = pht('Save Column');
}
- $form->appendChild(
- id(new AphrontFormSubmitControl())
- ->setValue($submit)
- ->addCancelButton($view_uri));
-
- $form_box = id(new PHUIObjectBoxView())
- ->setHeaderText($title)
+ return $this->newDialog()
+ ->setWidth(AphrontDialogView::WIDTH_FORM)
+ ->setTitle($title)
+ ->appendForm($form)
->setValidationException($validation_exception)
- ->setForm($form);
+ ->addCancelButton($view_uri)
+ ->addSubmitButton($submit);
- $nav = $this->getProfileMenu();
-
- return $this->newPage()
- ->setTitle($title)
- ->setNavigation($nav)
- ->appendChild($form_box);
}
}

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 18, 4:22 PM (8 h, 2 m ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6745011
Default Alt Text
D15270.id36847.diff (1 KB)

Event Timeline