Skip to content

Instantly share code, notes, and snippets.

@auduny
Created November 22, 2012 12:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save auduny/4130970 to your computer and use it in GitHub Desktop.
Save auduny/4130970 to your computer and use it in GitHub Desktop.
--- original/phabricator/src/applications/maniphest/controller/ManiphestTaskEditController.php 2012-11-22 10:02:41.000000000 +0100
+++ vgnett/phabricator/src/applications/maniphest/controller/ManiphestTaskEditController.php 2012-11-22 13:07:01.000000000 +0100
@@ -538,12 +554,17 @@
$page_objects = array();
}
- return $this->buildStandardPageResponse(
+ $nav = $this->buildBaseSideNav();
+ $nav->selectFilter(null);
+ $nav->appendChild(
array(
$error_view,
$panel,
$description_preview_panel
- ),
+ ));
+
+ return $this->buildStandardPageResponse(
+ $nav,
array(
'title' => $header_name,
'pageObjects' => $page_objects,
--- original/phabricator/src/applications/maniphest/controller/ManiphestTaskDetailController.php 2012-11-22 10:02:41.000000000 +0100
+++ vgnett/phabricator/src/applications/maniphest/controller/ManiphestTaskDetailController.php 2012-11-22 13:07:00.000000000 +0100
@@ -496,14 +512,20 @@
PhabricatorFeedStoryNotification::updateObjectNotificationViews(
$user, $task->getPHID());
- return $this->buildStandardPageResponse(
+ $nav = $this->buildBaseSideNav();
+ $nav->selectFilter(null);
+ $nav->appendChild(
array(
$context_bar,
$headsup_panel,
$transaction_view,
$comment_panel,
$preview_panel,
- ),
+ ));
+
+ #return $this->buildApplicationPage(
+ return $this->buildStandardPageResponse(
+ $nav,
array(
'title' => 'T'.$task->getID().' '.$task->getTitle(),
'pageObjects' => array($task->getPHID()),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment