Differential D7787 Diff 17644 src/applications/herald/controller/HeraldRuleEditHistoryController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/herald/controller/HeraldRuleEditHistoryController.php
Show All 31 Lines | public function processRequest() { | ||||
$panel = new AphrontPanelView(); | $panel = new AphrontPanelView(); | ||||
$panel->setHeader(pht('Edit History')); | $panel->setHeader(pht('Edit History')); | ||||
$panel->appendChild($list_view); | $panel->appendChild($list_view); | ||||
$panel->setNoBackground(); | $panel->setNoBackground(); | ||||
$crumbs = $this | $crumbs = $this | ||||
->buildApplicationCrumbs($can_create = false) | ->buildApplicationCrumbs($can_create = false) | ||||
->addCrumb( | ->addTextCrumb( | ||||
id(new PhabricatorCrumbView()) | pht('Edit History'), | ||||
->setName(pht('Edit History')) | $this->getApplicationURI('herald/history')); | ||||
->setHref($this->getApplicationURI('herald/history'))); | |||||
$nav = $this->buildSideNavView(); | $nav = $this->buildSideNavView(); | ||||
$nav->selectFilter('history'); | $nav->selectFilter('history'); | ||||
$nav->appendChild($panel); | $nav->appendChild($panel); | ||||
$nav->setCrumbs($crumbs); | $nav->setCrumbs($crumbs); | ||||
return $this->buildApplicationPage( | return $this->buildApplicationPage( | ||||
$nav, | $nav, | ||||
array( | array( | ||||
'title' => pht('Rule Edit History'), | 'title' => pht('Rule Edit History'), | ||||
'device' => true, | 'device' => true, | ||||
)); | )); | ||||
} | } | ||||
} | } |