Render full close status, not just "Closed", in Maniphest list view
Summary: Instead of just saying a task is "Closed", say "Resolved", "Wontfix", etc. Test Plan: Looked at task list view, saw "Resolved", "Wontfix", etc. Reviewers: skrul, hunterbridges, jungejason, tuomaspelkonen, aran Reviewed By: skrul CC: aran, skrul, jungejason, epriestley Differential Revision: 851
This commit is contained in:
@@ -61,6 +61,7 @@ class ManiphestTaskSummaryView extends ManiphestView {
|
|||||||
);
|
);
|
||||||
|
|
||||||
$pri_class = idx($classes, $task->getPriority());
|
$pri_class = idx($classes, $task->getPriority());
|
||||||
|
$status_map = ManiphestTaskStatus::getTaskStatusMap();
|
||||||
|
|
||||||
return
|
return
|
||||||
'<table class="maniphest-task-summary">'.
|
'<table class="maniphest-task-summary">'.
|
||||||
@@ -69,9 +70,7 @@ class ManiphestTaskSummaryView extends ManiphestView {
|
|||||||
'T'.$task->getID().
|
'T'.$task->getID().
|
||||||
'</td>'.
|
'</td>'.
|
||||||
'<td class="maniphest-task-status">'.
|
'<td class="maniphest-task-status">'.
|
||||||
($task->getStatus() == ManiphestTaskStatus::STATUS_OPEN
|
idx($status_map, $task->getStatus(), 'Unknown').
|
||||||
? 'Open'
|
|
||||||
: 'Closed').
|
|
||||||
'</td>'.
|
'</td>'.
|
||||||
'<td class="maniphest-task-owner">'.
|
'<td class="maniphest-task-owner">'.
|
||||||
($task->getOwnerPHID()
|
($task->getOwnerPHID()
|
||||||
|
|||||||
Reference in New Issue
Block a user