Differential D7787 Diff 17644 src/applications/differential/controller/DifferentialDiffCreateController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/controller/DifferentialDiffCreateController.php
Show First 20 Lines • Show All 82 Lines • ▼ Show 20 Lines | $form | ||||
->setValue(pht("Create Diff"))); | ->setValue(pht("Create Diff"))); | ||||
$form_box = id(new PHUIObjectBoxView()) | $form_box = id(new PHUIObjectBoxView()) | ||||
->setHeaderText(pht('Create New Diff')) | ->setHeaderText(pht('Create New Diff')) | ||||
->setFormError($errors) | ->setFormError($errors) | ||||
->setForm($form); | ->setForm($form); | ||||
$crumbs = $this->buildApplicationCrumbs(); | $crumbs = $this->buildApplicationCrumbs(); | ||||
$crumbs->addCrumb( | $crumbs->addTextCrumb(pht('Create Diff')); | ||||
id(new PhabricatorCrumbView()) | |||||
->setName(pht('Create Diff'))); | |||||
if ($errors) { | if ($errors) { | ||||
$errors = id(new AphrontErrorView()) | $errors = id(new AphrontErrorView()) | ||||
->setErrors($errors); | ->setErrors($errors); | ||||
} | } | ||||
return $this->buildApplicationPage( | return $this->buildApplicationPage( | ||||
array( | array( | ||||
Show All 10 Lines |