diff --git a/resources/celerity/map.php b/resources/celerity/map.php index efe626ca21..b715abda72 100644 --- a/resources/celerity/map.php +++ b/resources/celerity/map.php @@ -154,7 +154,7 @@ return array( 'rsrc/css/phui/phui-timeline-view.css' => '2efceff8', 'rsrc/css/phui/phui-two-column-view.css' => 'c75bfc5b', 'rsrc/css/phui/workboards/phui-workboard.css' => 'b07a5524', - 'rsrc/css/phui/workboards/phui-workcard.css' => '0d1aa006', + 'rsrc/css/phui/workboards/phui-workcard.css' => 'b4322ca7', 'rsrc/css/phui/workboards/phui-workpanel.css' => '68140031', 'rsrc/css/sprite-login.css' => '60e8560e', 'rsrc/css/sprite-menu.css' => '9dd65b92', @@ -831,7 +831,7 @@ return array( 'phui-timeline-view-css' => '2efceff8', 'phui-two-column-view-css' => 'c75bfc5b', 'phui-workboard-view-css' => 'b07a5524', - 'phui-workcard-view-css' => '0d1aa006', + 'phui-workcard-view-css' => 'b4322ca7', 'phui-workpanel-view-css' => '68140031', 'phuix-action-list-view' => 'b5c256b8', 'phuix-action-view' => '8cf6d262', diff --git a/src/applications/project/view/ProjectBoardTaskCard.php b/src/applications/project/view/ProjectBoardTaskCard.php index a614335f59..2c69e0f37b 100644 --- a/src/applications/project/view/ProjectBoardTaskCard.php +++ b/src/applications/project/view/ProjectBoardTaskCard.php @@ -84,6 +84,14 @@ final class ProjectBoardTaskCard extends Phobject { $card->addHandleIcon($owner, $owner->getName()); } + if ($task->isClosed()) { + $icon = ManiphestTaskStatus::getStatusIcon($task->getStatus()); + $icon = id(new PHUIIconView()) + ->setIcon($icon.' grey'); + $card->addAttribute($icon); + $card->setBarColor('grey'); + } + $project_handles = $this->getProjectHandles(); if ($project_handles) { $tag_list = id(new PHUIHandleTagListView()) diff --git a/webroot/rsrc/css/phui/workboards/phui-workcard.css b/webroot/rsrc/css/phui/workboards/phui-workcard.css index 671833ea86..d0c427da57 100644 --- a/webroot/rsrc/css/phui/workboards/phui-workcard.css +++ b/webroot/rsrc/css/phui/workboards/phui-workcard.css @@ -41,6 +41,14 @@ margin-left: 2px; } +.phui-object-item-disabled.phui-workcard { + background-color: rgba(255,255,255,.67); +} + +.phui-object-item-disabled.phui-workcard .phui-object-item-link { + color: {$greytext}; +} + .device-desktop .phui-workcard .phui-object-item-with-1-actions .phui-object-item-content-box { margin-right: 0;