mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-19 12:00:55 +01:00
Owners tab thingie for navs.
This commit is contained in:
parent
a54f1395c2
commit
66388e87d8
2 changed files with 10 additions and 1 deletions
|
@ -25,6 +25,14 @@ abstract class PhabricatorOwnersController extends PhabricatorController {
|
|||
$page->setApplicationName('Owners');
|
||||
$page->setBaseURI('/owners/');
|
||||
$page->setTitle(idx($data, 'title'));
|
||||
$page->setTabs(
|
||||
array(
|
||||
'index' => array(
|
||||
'href' => '/owners/',
|
||||
'name' => 'Package Index',
|
||||
),
|
||||
),
|
||||
idx($data, 'tab'));
|
||||
$page->setGlyph("\xE2\x98\x81");
|
||||
$page->appendChild($view);
|
||||
|
||||
|
|
|
@ -190,7 +190,8 @@ class PhabricatorOwnersListController extends PhabricatorOwnersController {
|
|||
return $this->buildStandardPageResponse(
|
||||
$nav,
|
||||
array(
|
||||
'title' => 'List',
|
||||
'title' => 'Package Index',
|
||||
'tab' => 'index',
|
||||
));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue