@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add icon / grey text when task is closed on workboards

Summary: Fixes T10281. Adds the closed icon (resolved, dupe, ect) as an attribute and makes the text grey again.

Test Plan:
View workboard with "All Tasks"

{F1092738}

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Maniphest Tasks: T10281

Differential Revision: https://secure.phabricator.com/D15187

authored by

Chad Little and committed by
chad
b9585f29 c01f23ad

+18 -2
+2 -2
resources/celerity/map.php
··· 154 154 'rsrc/css/phui/phui-timeline-view.css' => '2efceff8', 155 155 'rsrc/css/phui/phui-two-column-view.css' => 'c75bfc5b', 156 156 'rsrc/css/phui/workboards/phui-workboard.css' => 'b07a5524', 157 - 'rsrc/css/phui/workboards/phui-workcard.css' => '0d1aa006', 157 + 'rsrc/css/phui/workboards/phui-workcard.css' => 'b4322ca7', 158 158 'rsrc/css/phui/workboards/phui-workpanel.css' => '68140031', 159 159 'rsrc/css/sprite-login.css' => '60e8560e', 160 160 'rsrc/css/sprite-menu.css' => '9dd65b92', ··· 831 831 'phui-timeline-view-css' => '2efceff8', 832 832 'phui-two-column-view-css' => 'c75bfc5b', 833 833 'phui-workboard-view-css' => 'b07a5524', 834 - 'phui-workcard-view-css' => '0d1aa006', 834 + 'phui-workcard-view-css' => 'b4322ca7', 835 835 'phui-workpanel-view-css' => '68140031', 836 836 'phuix-action-list-view' => 'b5c256b8', 837 837 'phuix-action-view' => '8cf6d262',
+8
src/applications/project/view/ProjectBoardTaskCard.php
··· 84 84 $card->addHandleIcon($owner, $owner->getName()); 85 85 } 86 86 87 + if ($task->isClosed()) { 88 + $icon = ManiphestTaskStatus::getStatusIcon($task->getStatus()); 89 + $icon = id(new PHUIIconView()) 90 + ->setIcon($icon.' grey'); 91 + $card->addAttribute($icon); 92 + $card->setBarColor('grey'); 93 + } 94 + 87 95 $project_handles = $this->getProjectHandles(); 88 96 if ($project_handles) { 89 97 $tag_list = id(new PHUIHandleTagListView())
+8
webroot/rsrc/css/phui/workboards/phui-workcard.css
··· 41 41 margin-left: 2px; 42 42 } 43 43 44 + .phui-object-item-disabled.phui-workcard { 45 + background-color: rgba(255,255,255,.67); 46 + } 47 + 48 + .phui-object-item-disabled.phui-workcard .phui-object-item-link { 49 + color: {$greytext}; 50 + } 51 + 44 52 .device-desktop .phui-workcard .phui-object-item-with-1-actions 45 53 .phui-object-item-content-box { 46 54 margin-right: 0;