mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +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());
|
$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()
|
||||||
|
|
Loading…
Reference in a new issue