Update look of Diviner docs index

This commit is contained in:
Chad Little
2013-09-09 15:13:39 -07:00
parent 5ba20b8924
commit b4424ec53a
3 changed files with 60 additions and 46 deletions

View File

@@ -30,7 +30,8 @@ final class DivinerLegacyController extends DivinerController {
$viewer = $request->getUser();
$list = id(new PHUIObjectItemListView())
->setUser($viewer);
->setUser($viewer)
->setPlain(true);
foreach ($links as $href => $link) {
$item = id(new PHUIObjectItemView())
@@ -46,10 +47,17 @@ final class DivinerLegacyController extends DivinerController {
id(new PhabricatorCrumbView())
->setName(pht('Documentation')));
$header = id(new PhabricatorHeaderView())
->setHeader(pht('Documentation'));
$document = new PHUIDocumentView();
$document->setHeader($header);
$document->appendChild($list);
return $this->buildApplicationPage(
array(
$crumbs,
$list,
$document,
),
array(
'title' => pht('Documentation'),