mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-27 07:50:57 +01:00
Show group sizes in Maniphest task list view
Summary: Show how many tasks are in each group. This number is useful when you are insufficiently depressed. Test Plan: Looked at maniphest task list. Reviewed By: toulouse Reviewers: aran, jungejason, tuomaspelkonen, toulouse CC: anjali, aran, toulouse Differential Revision: 457
This commit is contained in:
parent
d9df307c69
commit
bb4a8908e1
1 changed files with 2 additions and 1 deletions
|
@ -163,9 +163,10 @@ class ManiphestTaskListController extends ManiphestController {
|
||||||
$task_list->setTasks($list);
|
$task_list->setTasks($list);
|
||||||
$task_list->setHandles($handles);
|
$task_list->setHandles($handles);
|
||||||
|
|
||||||
|
$count = number_format(count($list));
|
||||||
$nav->appendChild(
|
$nav->appendChild(
|
||||||
'<h1 class="maniphest-task-group-header">'.
|
'<h1 class="maniphest-task-group-header">'.
|
||||||
phutil_escape_html($group).
|
phutil_escape_html($group).' ('.$count.')'.
|
||||||
'</h1>');
|
'</h1>');
|
||||||
$nav->appendChild($task_list);
|
$nav->appendChild($task_list);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue