Set Maniphest status icons to grey for closed tasks in object graph view
Summary: See D16219.
Test Plan: {F1708338}
Reviewers: chad
Reviewed By: chad
Differential Revision: https://secure.phabricator.com/D16220
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
*/
|
*/
|
||||||
return array(
|
return array(
|
||||||
'names' => array(
|
'names' => array(
|
||||||
'core.pkg.css' => '93eb0544',
|
'core.pkg.css' => 'd04e6f67',
|
||||||
'core.pkg.js' => 'f2139810',
|
'core.pkg.js' => 'f2139810',
|
||||||
'darkconsole.pkg.js' => 'e7393ebb',
|
'darkconsole.pkg.js' => 'e7393ebb',
|
||||||
'differential.pkg.css' => '3e81ae60',
|
'differential.pkg.css' => '3e81ae60',
|
||||||
@@ -25,7 +25,7 @@ return array(
|
|||||||
'rsrc/css/aphront/notification.css' => '3f6c89c9',
|
'rsrc/css/aphront/notification.css' => '3f6c89c9',
|
||||||
'rsrc/css/aphront/panel-view.css' => '8427b78d',
|
'rsrc/css/aphront/panel-view.css' => '8427b78d',
|
||||||
'rsrc/css/aphront/phabricator-nav-view.css' => 'ac79a758',
|
'rsrc/css/aphront/phabricator-nav-view.css' => 'ac79a758',
|
||||||
'rsrc/css/aphront/table-view.css' => '2596314c',
|
'rsrc/css/aphront/table-view.css' => 'aeb66852',
|
||||||
'rsrc/css/aphront/tokenizer.css' => '056da01b',
|
'rsrc/css/aphront/tokenizer.css' => '056da01b',
|
||||||
'rsrc/css/aphront/tooltip.css' => '1a07aea8',
|
'rsrc/css/aphront/tooltip.css' => '1a07aea8',
|
||||||
'rsrc/css/aphront/typeahead-browse.css' => '8904346a',
|
'rsrc/css/aphront/typeahead-browse.css' => '8904346a',
|
||||||
@@ -536,7 +536,7 @@ return array(
|
|||||||
'aphront-list-filter-view-css' => '5d6f0526',
|
'aphront-list-filter-view-css' => '5d6f0526',
|
||||||
'aphront-multi-column-view-css' => 'fd18389d',
|
'aphront-multi-column-view-css' => 'fd18389d',
|
||||||
'aphront-panel-view-css' => '8427b78d',
|
'aphront-panel-view-css' => '8427b78d',
|
||||||
'aphront-table-view-css' => '2596314c',
|
'aphront-table-view-css' => 'aeb66852',
|
||||||
'aphront-tokenizer-control-css' => '056da01b',
|
'aphront-tokenizer-control-css' => '056da01b',
|
||||||
'aphront-tooltip-css' => '1a07aea8',
|
'aphront-tooltip-css' => '1a07aea8',
|
||||||
'aphront-typeahead-control-css' => 'd4f16145',
|
'aphront-typeahead-control-css' => 'd4f16145',
|
||||||
|
|||||||
@@ -30,8 +30,11 @@ final class ManiphestTaskGraph
|
|||||||
$priority = $object->getPriority();
|
$priority = $object->getPriority();
|
||||||
$status_icon = ManiphestTaskStatus::getStatusIcon($status);
|
$status_icon = ManiphestTaskStatus::getStatusIcon($status);
|
||||||
$status_name = ManiphestTaskStatus::getTaskStatusName($status);
|
$status_name = ManiphestTaskStatus::getTaskStatusName($status);
|
||||||
$priority_color = ManiphestTaskPriority::getTaskPriorityColor($priority);
|
|
||||||
|
|
||||||
|
$priority_color = ManiphestTaskPriority::getTaskPriorityColor($priority);
|
||||||
|
if ($object->isClosed()) {
|
||||||
|
$priority_color = 'grey';
|
||||||
|
}
|
||||||
|
|
||||||
$status = array(
|
$status = array(
|
||||||
id(new PHUIIconView())->setIcon($status_icon, $priority_color),
|
id(new PHUIIconView())->setIcon($status_icon, $priority_color),
|
||||||
|
|||||||
@@ -235,10 +235,7 @@ span.single-display-line-content {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.aphront-table-view tr.closed td.graph-status,
|
.aphront-table-view tr.closed td.graph-status,
|
||||||
.aphront-table-view tr.alt-closed td.graph-status {
|
.aphront-table-view tr.alt-closed td.graph-status,
|
||||||
opacity: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
.object-graph-table em {
|
.object-graph-table em {
|
||||||
color: {$lightgreytext};
|
color: {$lightgreytext};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user