Differential D15224 Diff 36769 src/applications/project/controller/PhabricatorProjectBoardViewController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/project/controller/PhabricatorProjectBoardViewController.php
| Show First 20 Lines • Show All 225 Lines • ▼ Show 20 Lines | if ($batch_edit) { | ||||
| return id(new AphrontRedirectResponse()) | return id(new AphrontRedirectResponse()) | ||||
| ->setURI($batch_uri); | ->setURI($batch_uri); | ||||
| } | } | ||||
| $board_id = celerity_generate_unique_node_id(); | $board_id = celerity_generate_unique_node_id(); | ||||
| $board = id(new PHUIWorkboardView()) | $board = id(new PHUIWorkboardView()) | ||||
| ->setUser($viewer) | ->setUser($viewer) | ||||
| ->setID($board_id); | ->setID($board_id) | ||||
| ->addSigil('jx-workboard') | |||||
| ->setMetadata( | |||||
| array( | |||||
| 'boardPHID' => $project->getPHID(), | |||||
| )); | |||||
| $behavior_config = array( | $behavior_config = array( | ||||
| 'boardID' => $board_id, | 'boardID' => $board_id, | ||||
| 'projectPHID' => $project->getPHID(), | 'projectPHID' => $project->getPHID(), | ||||
| 'moveURI' => $this->getApplicationURI('move/'.$project->getID().'/'), | 'moveURI' => $this->getApplicationURI('move/'.$project->getID().'/'), | ||||
| 'createURI' => $this->getCreateURI(), | 'createURI' => $this->getCreateURI(), | ||||
| 'uploadURI' => '/file/dropupload/', | 'uploadURI' => '/file/dropupload/', | ||||
| 'coverURI' => $this->getApplicationURI('cover/'), | 'coverURI' => $this->getApplicationURI('cover/'), | ||||
| ▲ Show 20 Lines • Show All 725 Lines • Show Last 20 Lines | |||||