mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 23:02:42 +01:00
Add "Calendar Event" and "Pholio Mock" to quick create menu
Summary: Ref T3623. Also dropped "New" from everything, since the "Create a new:" label contextualizes that. Test Plan: Clicked all the stuff in the menu. Reviewers: chad Reviewed By: chad CC: aran Maniphest Tasks: T3623 Differential Revision: https://secure.phabricator.com/D8103
This commit is contained in:
parent
22ccb037b9
commit
45ba8e1072
5 changed files with 27 additions and 3 deletions
|
@ -55,4 +55,16 @@ final class PhabricatorApplicationCalendar extends PhabricatorApplication {
|
|||
);
|
||||
}
|
||||
|
||||
public function getQuickCreateItems(PhabricatorUser $viewer) {
|
||||
$items = array();
|
||||
|
||||
$item = id(new PHUIListItemView())
|
||||
->setName(pht('Calendar Event'))
|
||||
->setIcon('new')
|
||||
->setHref($this->getBaseURI().'status/create/');
|
||||
$items[] = $item;
|
||||
|
||||
return $items;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -54,7 +54,7 @@ final class PhabricatorApplicationConpherence extends PhabricatorApplication {
|
|||
$items = array();
|
||||
|
||||
$item = id(new PHUIListItemView())
|
||||
->setName(pht('New Conpherence Thread'))
|
||||
->setName(pht('Conpherence Thread'))
|
||||
->setIcon('new')
|
||||
->setWorkflow(true)
|
||||
->setHref($this->getBaseURI().'new/');
|
||||
|
|
|
@ -94,7 +94,7 @@ final class PhabricatorApplicationManiphest extends PhabricatorApplication {
|
|||
$items = array();
|
||||
|
||||
$item = id(new PHUIListItemView())
|
||||
->setName(pht('New Maniphest Task'))
|
||||
->setName(pht('Maniphest Task'))
|
||||
->setIcon('new')
|
||||
->setHref($this->getBaseURI().'task/create/');
|
||||
$items[] = $item;
|
||||
|
|
|
@ -54,7 +54,7 @@ final class PhabricatorApplicationPaste extends PhabricatorApplication {
|
|||
$items = array();
|
||||
|
||||
$item = id(new PHUIListItemView())
|
||||
->setName(pht('New Paste'))
|
||||
->setName(pht('Paste'))
|
||||
->setIcon('new')
|
||||
->setHref($this->getBaseURI().'create/');
|
||||
$items[] = $item;
|
||||
|
|
|
@ -70,4 +70,16 @@ final class PhabricatorApplicationPholio extends PhabricatorApplication {
|
|||
);
|
||||
}
|
||||
|
||||
public function getQuickCreateItems(PhabricatorUser $viewer) {
|
||||
$items = array();
|
||||
|
||||
$item = id(new PHUIListItemView())
|
||||
->setName(pht('Pholio Mock'))
|
||||
->setIcon('new')
|
||||
->setHref($this->getBaseURI().'new/');
|
||||
$items[] = $item;
|
||||
|
||||
return $items;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue