Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13979127
D8103.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D8103.diff
View Options
Index: src/applications/calendar/application/PhabricatorApplicationCalendar.php
===================================================================
--- src/applications/calendar/application/PhabricatorApplicationCalendar.php
+++ src/applications/calendar/application/PhabricatorApplicationCalendar.php
@@ -55,4 +55,16 @@
);
}
+ 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;
+ }
+
}
Index: src/applications/conpherence/application/PhabricatorApplicationConpherence.php
===================================================================
--- src/applications/conpherence/application/PhabricatorApplicationConpherence.php
+++ src/applications/conpherence/application/PhabricatorApplicationConpherence.php
@@ -54,7 +54,7 @@
$items = array();
$item = id(new PHUIListItemView())
- ->setName(pht('New Conpherence Thread'))
+ ->setName(pht('Conpherence Thread'))
->setIcon('new')
->setWorkflow(true)
->setHref($this->getBaseURI().'new/');
Index: src/applications/maniphest/application/PhabricatorApplicationManiphest.php
===================================================================
--- src/applications/maniphest/application/PhabricatorApplicationManiphest.php
+++ src/applications/maniphest/application/PhabricatorApplicationManiphest.php
@@ -94,7 +94,7 @@
$items = array();
$item = id(new PHUIListItemView())
- ->setName(pht('New Maniphest Task'))
+ ->setName(pht('Maniphest Task'))
->setIcon('new')
->setHref($this->getBaseURI().'task/create/');
$items[] = $item;
Index: src/applications/paste/application/PhabricatorApplicationPaste.php
===================================================================
--- src/applications/paste/application/PhabricatorApplicationPaste.php
+++ src/applications/paste/application/PhabricatorApplicationPaste.php
@@ -54,7 +54,7 @@
$items = array();
$item = id(new PHUIListItemView())
- ->setName(pht('New Paste'))
+ ->setName(pht('Paste'))
->setIcon('new')
->setHref($this->getBaseURI().'create/');
$items[] = $item;
Index: src/applications/pholio/application/PhabricatorApplicationPholio.php
===================================================================
--- src/applications/pholio/application/PhabricatorApplicationPholio.php
+++ src/applications/pholio/application/PhabricatorApplicationPholio.php
@@ -70,4 +70,16 @@
);
}
+ 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;
+ }
+
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Oct 20, 2:48 AM (3 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6731719
Default Alt Text
D8103.diff (2 KB)
Attached To
Mode
D8103: Add "Calendar Event" and "Pholio Mock" to quick create menu
Attached
Detach File
Event Timeline
Log In to Comment