mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +01:00
Reorder workboard menu items
Summary: Adds a divider and better grouping Test Plan: Click on dropdown menu on a workboard Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D17984
This commit is contained in:
parent
7d44e7cb4d
commit
bc4ef0d22f
1 changed files with 11 additions and 8 deletions
|
@ -713,14 +713,6 @@ final class PhabricatorProjectBoardViewController
|
|||
->setDisabled(!$can_edit)
|
||||
->setWorkflow(true);
|
||||
|
||||
$background_uri = $this->getApplicationURI("board/{$id}/background/");
|
||||
$manage_items[] = id(new PhabricatorActionView())
|
||||
->setIcon('fa-paint-brush')
|
||||
->setName(pht('Change Background Color'))
|
||||
->setHref($background_uri)
|
||||
->setDisabled(!$can_edit)
|
||||
->setWorkflow(false);
|
||||
|
||||
if ($show_hidden) {
|
||||
$hidden_uri = $this->getURIWithState()
|
||||
->setQueryParam('hidden', null);
|
||||
|
@ -738,6 +730,17 @@ final class PhabricatorProjectBoardViewController
|
|||
->setName($hidden_text)
|
||||
->setHref($hidden_uri);
|
||||
|
||||
$manage_items[] = id(new PhabricatorActionView())
|
||||
->setType(PhabricatorActionView::TYPE_DIVIDER);
|
||||
|
||||
$background_uri = $this->getApplicationURI("board/{$id}/background/");
|
||||
$manage_items[] = id(new PhabricatorActionView())
|
||||
->setIcon('fa-paint-brush')
|
||||
->setName(pht('Change Background Color'))
|
||||
->setHref($background_uri)
|
||||
->setDisabled(!$can_edit)
|
||||
->setWorkflow(false);
|
||||
|
||||
$manage_uri = $this->getApplicationURI("board/{$id}/manage/");
|
||||
$manage_items[] = id(new PhabricatorActionView())
|
||||
->setIcon('fa-gear')
|
||||
|
|
Loading…
Reference in a new issue