Differential D17315 Diff 41644 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 446 Lines • ▼ Show 20 Lines | $page = $this->newPage() | ||||
'boardConfig' => $behavior_config, | 'boardConfig' => $behavior_config, | ||||
)) | )) | ||||
->appendChild( | ->appendChild( | ||||
array( | array( | ||||
$board_box, | $board_box, | ||||
)); | )); | ||||
$background = $project->getDisplayWorkboardBackgroundColor(); | $background = $project->getDisplayWorkboardBackgroundColor(); | ||||
if ($background !== null) { | |||||
require_celerity_resource('phui-workboard-color-css'); | require_celerity_resource('phui-workboard-color-css'); | ||||
if ($background !== null) { | |||||
$background_color_class = "phui-workboard-{$background}"; | $background_color_class = "phui-workboard-{$background}"; | ||||
$page->addClass('phui-workboard-color'); | $page->addClass('phui-workboard-color'); | ||||
$page->addClass($background_color_class); | $page->addClass($background_color_class); | ||||
} else { | |||||
$page->addClass('phui-workboard-no-color'); | |||||
} | } | ||||
return $page; | return $page; | ||||
} | } | ||||
private function readRequestState() { | private function readRequestState() { | ||||
$request = $this->getRequest(); | $request = $this->getRequest(); | ||||
$project = $this->getProject(); | $project = $this->getProject(); | ||||
▲ Show 20 Lines • Show All 608 Lines • Show Last 20 Lines |