Changeset View
Changeset View
Standalone View
Standalone View
src/applications/project/engine/PhabricatorBoardRenderingEngine.php
Show First 20 Lines • Show All 61 Lines • ▼ Show 20 Lines | public function renderCard($phid) { | ||||
if ($owner_phid) { | if ($owner_phid) { | ||||
$owner_handle = $this->handles[$owner_phid]; | $owner_handle = $this->handles[$owner_phid]; | ||||
$card->setOwner($owner_handle); | $card->setOwner($owner_handle); | ||||
} | } | ||||
$project_phids = $object->getProjectPHIDs(); | $project_phids = $object->getProjectPHIDs(); | ||||
$project_handles = array_select_keys($this->handles, $project_phids); | $project_handles = array_select_keys($this->handles, $project_phids); | ||||
if ($project_handles) { | if ($project_handles) { | ||||
$card->setProjectHandles($project_handles); | $card | ||||
->setHideArchivedProjects(true) | |||||
->setProjectHandles($project_handles); | |||||
} | } | ||||
$cover_phid = $object->getCoverImageThumbnailPHID(); | $cover_phid = $object->getCoverImageThumbnailPHID(); | ||||
if ($cover_phid) { | if ($cover_phid) { | ||||
$cover_file = idx($this->coverFiles, $cover_phid); | $cover_file = idx($this->coverFiles, $cover_phid); | ||||
if ($cover_file) { | if ($cover_file) { | ||||
$card->setCoverImageFile($cover_file); | $card->setCoverImageFile($cover_file); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 66 Lines • Show Last 20 Lines |