Differential D11845 Diff 28549 src/applications/uiexample/controller/PhabricatorUIExampleRenderController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/uiexample/controller/PhabricatorUIExampleRenderController.php
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | $header = id(new PHUIHeaderView()) | ||||
->setHeader(pht('%s (%s)', $example->getName(), get_class($example))) | ->setHeader(pht('%s (%s)', $example->getName(), get_class($example))) | ||||
->setSubheader($example->getDescription()) | ->setSubheader($example->getDescription()) | ||||
->setNoBackground(true); | ->setNoBackground(true); | ||||
$nav->appendChild( | $nav->appendChild( | ||||
array( | array( | ||||
$crumbs, | $crumbs, | ||||
$header, | $header, | ||||
phutil_tag('br'), | |||||
$result, | $result, | ||||
)); | )); | ||||
return $this->buildApplicationPage( | return $this->buildApplicationPage( | ||||
$nav, | $nav, | ||||
array( | array( | ||||
'title' => $example->getName(), | 'title' => $example->getName(), | ||||
)); | )); | ||||
} | } | ||||
} | } |