Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14054129
D13490.id32641.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D13490.id32641.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D13490: [Redesign] Use status icons in Maniphest task list
Attached
Detach File
Event Timeline
Log In to Comment