Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13971151
D8103.id18327.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.id18327.diff
View Options
diff --git a/src/applications/calendar/application/PhabricatorApplicationCalendar.php b/src/applications/calendar/application/PhabricatorApplicationCalendar.php
--- a/src/applications/calendar/application/PhabricatorApplicationCalendar.php
+++ b/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;
+ }
+
}
diff --git a/src/applications/conpherence/application/PhabricatorApplicationConpherence.php b/src/applications/conpherence/application/PhabricatorApplicationConpherence.php
--- a/src/applications/conpherence/application/PhabricatorApplicationConpherence.php
+++ b/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/');
diff --git a/src/applications/maniphest/application/PhabricatorApplicationManiphest.php b/src/applications/maniphest/application/PhabricatorApplicationManiphest.php
--- a/src/applications/maniphest/application/PhabricatorApplicationManiphest.php
+++ b/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;
diff --git a/src/applications/paste/application/PhabricatorApplicationPaste.php b/src/applications/paste/application/PhabricatorApplicationPaste.php
--- a/src/applications/paste/application/PhabricatorApplicationPaste.php
+++ b/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;
diff --git a/src/applications/pholio/application/PhabricatorApplicationPholio.php b/src/applications/pholio/application/PhabricatorApplicationPholio.php
--- a/src/applications/pholio/application/PhabricatorApplicationPholio.php
+++ b/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
Fri, Oct 18, 11:56 AM (3 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6726731
Default Alt Text
D8103.id18327.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