mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-20 04:20:55 +01:00
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:
parent
6cae153569
commit
30024a8d86
1 changed files with 2 additions and 3 deletions
|
@ -61,6 +61,7 @@ class ManiphestTaskSummaryView extends ManiphestView {
|
|||
);
|
||||
|
||||
$pri_class = idx($classes, $task->getPriority());
|
||||
$status_map = ManiphestTaskStatus::getTaskStatusMap();
|
||||
|
||||
return
|
||||
'<table class="maniphest-task-summary">'.
|
||||
|
@ -69,9 +70,7 @@ class ManiphestTaskSummaryView extends ManiphestView {
|
|||
'T'.$task->getID().
|
||||
'</td>'.
|
||||
'<td class="maniphest-task-status">'.
|
||||
($task->getStatus() == ManiphestTaskStatus::STATUS_OPEN
|
||||
? 'Open'
|
||||
: 'Closed').
|
||||
idx($status_map, $task->getStatus(), 'Unknown').
|
||||
'</td>'.
|
||||
'<td class="maniphest-task-owner">'.
|
||||
($task->getOwnerPHID()
|
||||
|
|
Loading…
Reference in a new issue