Changeset View
Changeset View
Standalone View
Standalone View
src/applications/herald/controller/HeraldTestConsoleController.php
Show First 20 Lines • Show All 106 Lines • ▼ Show 20 Lines | $form = id(new AphrontFormView()) | ||||
->setValue(pht('Test Rules'))); | ->setValue(pht('Test Rules'))); | ||||
$box = id(new PHUIObjectBoxView()) | $box = id(new PHUIObjectBoxView()) | ||||
->setHeaderText(pht('Herald Test Console')) | ->setHeaderText(pht('Herald Test Console')) | ||||
->setFormError($error_view) | ->setFormError($error_view) | ||||
->setForm($form); | ->setForm($form); | ||||
$crumbs = id($this->buildApplicationCrumbs()) | $crumbs = id($this->buildApplicationCrumbs()) | ||||
->addCrumb( | ->addTextCrumb( | ||||
id(new PhabricatorCrumbView()) | pht('Transcripts'), | ||||
->setName(pht('Transcripts')) | $this->getApplicationURI('/transcript/')) | ||||
->setHref($this->getApplicationURI('/transcript/'))) | ->addTextCrumb(pht('Test Console')); | ||||
->addCrumb( | |||||
id(new PhabricatorCrumbView()) | |||||
->setName(pht('Test Console'))); | |||||
return $this->buildApplicationPage( | return $this->buildApplicationPage( | ||||
$box, | $box, | ||||
array( | array( | ||||
'title' => pht('Test Console'), | 'title' => pht('Test Console'), | ||||
'device' => true, | 'device' => true, | ||||
)); | )); | ||||
} | } | ||||
} | } |