1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-19 12:00:55 +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:
epriestley 2011-06-13 20:03:44 -07:00
parent d9df307c69
commit bb4a8908e1

View file

@ -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);
} }