diff --git a/tasklist/src/plugin-resources/templates/tasklist.vm b/tasklist/src/plugin-resources/templates/tasklist.vm index c858bae7..49738f3f 100644 --- a/tasklist/src/plugin-resources/templates/tasklist.vm +++ b/tasklist/src/plugin-resources/templates/tasklist.vm @@ -8,6 +8,45 @@
+
+| Class | +Class Todos Count | +Method with Todos | + #foreach ($class in $docInfo.classes) + #set ($classTodosCount = $class.getTags($jellyContext.taskTag).size() ) + #set ($methodTodosCount = 0) + #foreach ($m in $class.methods) + #set ($methodTodoTags = $m.getTags($jellyContext.taskTag)) + #if ($methodTodoTags.size() > 0) + #set ($methodTodosCount = $methodTodosCount + 1 ) + #end + #end + #if ($classTodosCount > 0 || $methodTodosCount > 0) +
|---|---|---|
| + $class.name + | ++ #if ($classTodosCount > 0) + $classTodosCount + #else + 0 + #end + | ++ #if ($methodTodosCount > 0) + $methodTodosCount + #else + 0 + #end + | +
#foreach ($class in $docInfo.classes)
#set ($todoTags = $class.getTags($jellyContext.taskTag))
@@ -20,6 +59,7 @@
#end
#if ($todoTags.size() > 0 || $hasToDoMethod)
Class Todos
@@ -37,7 +77,7 @@
#set ($methodTodoTags = $m.getTags($jellyContext.taskTag))
#if ($methodTodoTags.size() > 0)
-
Method Todos
+ Method Todos
#foreach ($tag in $methodTodoTags)