1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-18 21:02:41 +01:00

Owners tab thingie for navs.

This commit is contained in:
epriestley 2011-04-03 22:15:47 -07:00
parent a54f1395c2
commit 66388e87d8
2 changed files with 10 additions and 1 deletions

View file

@ -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);

View file

@ -190,7 +190,8 @@ class PhabricatorOwnersListController extends PhabricatorOwnersController {
return $this->buildStandardPageResponse(
$nav,
array(
'title' => 'List',
'title' => 'Package Index',
'tab' => 'index',
));
}