Differential D15487 Diff 37335 src/applications/diffusion/controller/DiffusionRepositoryCreateController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/controller/DiffusionRepositoryCreateController.php
| Show First 20 Lines • Show All 256 Lines • ▼ Show 20 Lines | if ($request->isFormPost()) { | ||||
| ); | ); | ||||
| } | } | ||||
| $form->readFromObject($dict); | $form->readFromObject($dict); | ||||
| } | } | ||||
| $crumbs = $this->buildApplicationCrumbs(); | $crumbs = $this->buildApplicationCrumbs(); | ||||
| $crumbs->addTextCrumb($title); | $crumbs->addTextCrumb($title); | ||||
| $header = id(new PHUIHeaderView()) | |||||
| ->setHeader($title) | |||||
| ->setHeaderIcon('fa-pencil'); | |||||
| $form_box = id(new PHUIObjectBoxView()) | |||||
| ->setHeaderText($title) | |||||
| ->setBackground(PHUIObjectBoxView::BLUE_PROPERTY) | |||||
| ->setForm($form); | |||||
| $view = id(new PHUITwoColumnView()) | |||||
| ->setHeader($header) | |||||
| ->setFooter(array( | |||||
| $form, | |||||
| )); | |||||
| return $this->newPage() | return $this->newPage() | ||||
| ->setTitle($title) | ->setTitle($title) | ||||
| ->setCrumbs($crumbs) | ->setCrumbs($crumbs) | ||||
| ->appendChild($form); | ->appendChild($view); | ||||
| } | } | ||||
| /* -( Page: VCS Type )----------------------------------------------------- */ | /* -( Page: VCS Type )----------------------------------------------------- */ | ||||
| private function buildVCSPage() { | private function buildVCSPage() { | ||||
| ▲ Show 20 Lines • Show All 550 Lines • Show Last 20 Lines | |||||