Page MenuHomePhabricator

D13490.id32641.diff
No OneTemporary

D13490.id32641.diff

diff --git a/src/applications/maniphest/constants/ManiphestTaskStatus.php b/src/applications/maniphest/constants/ManiphestTaskStatus.php
--- a/src/applications/maniphest/constants/ManiphestTaskStatus.php
+++ b/src/applications/maniphest/constants/ManiphestTaskStatus.php
@@ -174,7 +174,7 @@
}
if (self::isOpenStatus($status)) {
- return 'fa-square-o';
+ return 'fa-exclamation-circle';
} else {
return 'fa-check-square-o';
}
diff --git a/src/applications/maniphest/view/ManiphestTaskListView.php b/src/applications/maniphest/view/ManiphestTaskListView.php
--- a/src/applications/maniphest/view/ManiphestTaskListView.php
+++ b/src/applications/maniphest/view/ManiphestTaskListView.php
@@ -74,15 +74,14 @@
$status_name = idx($status_map, $task->getStatus());
$tooltip = pht('%s, %s', $status_name, $pri);
- // TODO: redesign-2015 move icon map to maniphest.statuses
- $icon = 'fa-exclamation-circle ';
- $icon .= idx($color_map, $task->getPriority(), 'grey');
+ $icon = ManiphestTaskStatus::getStatusIcon($task->getStatus());
+ $color = idx($color_map, $task->getPriority(), 'grey');
if ($task->isClosed()) {
$item->setDisabled(true);
- $icon = 'fa-check-square-o grey';
+ $color = 'grey';
}
- $item->setStatusIcon($icon, $tooltip);
+ $item->setStatusIcon($icon.' '.$color, $tooltip);
$item->addIcon(
'none',

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 16, 10:44 PM (3 d, 7 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6740151
Default Alt Text
D13490.id32641.diff (1 KB)

Event Timeline