Changeset View
Changeset View
Standalone View
Standalone View
src/applications/maniphest/controller/ManiphestTaskEditController.php
Show First 20 Lines • Show All 603 Lines • ▼ Show 20 Lines | $form_box = id(new PHUIObjectBoxView()) | ||||
->setForm($form); | ->setForm($form); | ||||
$preview = id(new PHUIRemarkupPreviewPanel()) | $preview = id(new PHUIRemarkupPreviewPanel()) | ||||
->setHeader(pht('Description Preview')) | ->setHeader(pht('Description Preview')) | ||||
->setControlID('description-textarea') | ->setControlID('description-textarea') | ||||
->setPreviewURI($this->getApplicationURI('task/descriptionpreview/')); | ->setPreviewURI($this->getApplicationURI('task/descriptionpreview/')); | ||||
if ($task->getID()) { | if ($task->getID()) { | ||||
$page_objects = array( $task->getPHID() ); | $page_objects = array($task->getPHID()); | ||||
} else { | } else { | ||||
$page_objects = array(); | $page_objects = array(); | ||||
} | } | ||||
$crumbs = $this->buildApplicationCrumbs(); | $crumbs = $this->buildApplicationCrumbs(); | ||||
$crumbs->addCrumb( | $crumbs->addCrumb( | ||||
id(new PhabricatorCrumbView()) | id(new PhabricatorCrumbView()) | ||||
->setName($header_name)); | ->setName($header_name)); | ||||
Show All 14 Lines |