mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-20 20:40:56 +01:00
Give Config History a sidenav
Summary: Adds in the sidenav Test Plan: Click on sidenav, see it persist Reviewers: btrahan, epriestley Reviewed By: epriestley Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11526
This commit is contained in:
parent
155b83bb6e
commit
d3d480fcf0
1 changed files with 6 additions and 3 deletions
|
@ -34,13 +34,16 @@ final class PhabricatorConfigHistoryController
|
||||||
|
|
||||||
$crumbs = $this->buildApplicationCrumbs();
|
$crumbs = $this->buildApplicationCrumbs();
|
||||||
$crumbs->addTextCrumb('Config', $this->getApplicationURI());
|
$crumbs->addTextCrumb('Config', $this->getApplicationURI());
|
||||||
|
|
||||||
$crumbs->addTextCrumb($title, '/config/history/');
|
$crumbs->addTextCrumb($title, '/config/history/');
|
||||||
|
|
||||||
|
$nav = $this->buildSideNavView();
|
||||||
|
$nav->selectFilter('history/');
|
||||||
|
$nav->setCrumbs($crumbs);
|
||||||
|
$nav->appendChild($timeline);
|
||||||
|
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$nav,
|
||||||
$timeline,
|
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'title' => $title,
|
'title' => $title,
|
||||||
|
|
Loading…
Reference in a new issue