Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F16664573
D12638.id30342.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
D12638.id30342.diff
View Options
diff --git a/src/applications/calendar/controller/PhabricatorCalendarController.php b/src/applications/calendar/controller/PhabricatorCalendarController.php
--- a/src/applications/calendar/controller/PhabricatorCalendarController.php
+++ b/src/applications/calendar/controller/PhabricatorCalendarController.php
@@ -10,7 +10,6 @@
$nav->addLabel(pht('Calendar'));
$nav->addFilter('/', pht('My Events'));
$nav->addFilter('all/', pht('View All'));
- $nav->addFilter('event/create/', pht('Create Event'));
if ($status && $status->getID()) {
$nav->addFilter('event/edit/'.$status->getID().'/', pht('Edit Event'));
diff --git a/src/applications/calendar/controller/PhabricatorCalendarEventEditController.php b/src/applications/calendar/controller/PhabricatorCalendarEventEditController.php
--- a/src/applications/calendar/controller/PhabricatorCalendarEventEditController.php
+++ b/src/applications/calendar/controller/PhabricatorCalendarEventEditController.php
@@ -37,7 +37,6 @@
$end_value = $end_time->readValueFromRequest($request);
$start_value = $start_time->readValueFromRequest($request);
$submit_label = pht('Create');
- $filter = 'event/create/';
$page_title = pht('Create Event');
$redirect = 'created';
$subscribers = array();
@@ -59,7 +58,6 @@
$end_time->setValue($event->getDateTo());
$start_time->setValue($event->getDateFrom());
$submit_label = pht('Update');
- $filter = 'event/edit/'.$event->getID().'/';
$page_title = pht('Update Event');
$redirect = 'updated';
@@ -245,9 +243,6 @@
->setFormErrors($errors)
->setForm($form);
- $nav = $this->buildSideNavView($event);
- $nav->selectFilter($filter);
-
$crumbs = $this->buildApplicationCrumbs();
if (!$this->isCreate()) {
@@ -261,14 +256,11 @@
->setValidationException($validation_exception)
->appendChild($form);
- $nav->appendChild(
+ return $this->buildApplicationPage(
array(
$crumbs,
$object_box,
- ));
-
- return $this->buildApplicationPage(
- $nav,
+ ),
array(
'title' => $page_title,
));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jun 18, 12:53 PM (5 h, 19 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8141483
Default Alt Text
D12638.id30342.diff (2 KB)
Attached To
Mode
D12638: Left nav should no longer offer to create Calendar event and create event page should no longer show left nav.
Attached
Detach File
Event Timeline
Log In to Comment