3 abstract class DiffusionRepositoryManageController
4 extends DiffusionController
{
6 protected function buildApplicationCrumbs() {
7 $crumbs = parent
::buildApplicationCrumbs();
9 if ($this->hasDiffusionRequest()) {
10 $drequest = $this->getDiffusionRequest();
11 $repository = $drequest->getRepository();
13 $crumbs->addTextCrumb(
14 $repository->getDisplayName(),
15 $repository->getURI());
17 $crumbs->addTextCrumb(
19 $repository->getPathURI('manage/'));
25 public function newBox($title, $content, $action = null) {
26 $header = id(new PHUIHeaderView())
30 $header->addActionItem($action);
33 $view = id(new PHUIObjectBoxView())
35 ->appendChild($content)
36 ->setBackground(PHUIObjectBoxView
::WHITE_CONFIG
);