summaryrefslogtreecommitdiff
path: root/p/tools/todo.text.tt
diff options
context:
space:
mode:
authorschodet2005-10-06 21:56:25 +0000
committerschodet2005-10-06 21:56:25 +0000
commit13c76b52f109f10f1055d6cbeaaacbb0bb19a9c2 (patch)
treeede32157f63524373fb8ce85acbae7059f99e139 /p/tools/todo.text.tt
parent15b9d85e5514d1ba481ee493c15f5aab80424ae9 (diff)
Ajout du filtre par responsable de t√Ęche.
Ajout de la sortie texte.
Diffstat (limited to 'p/tools/todo.text.tt')
-rw-r--r--p/tools/todo.text.tt26
1 files changed, 16 insertions, 10 deletions
diff --git a/p/tools/todo.text.tt b/p/tools/todo.text.tt
index 610b385..9982766 100644
--- a/p/tools/todo.text.tt
+++ b/p/tools/todo.text.tt
@@ -1,16 +1,22 @@
-[% BLOCK subtask %]
-[% END %]
-
[% BLOCK task %]
- [% FOREACH t = tasks.keys %]
- [% IF t == '' %]
- [% INCLUDE subtask FOREACH tasks.$t %]
- [% ELSE %]
-$indent$t
+$indent${s.state} [%+
+"(${s.owners.join (', ')}) " IF s.owners.size && owner
+%]
+${s.text}
+[%+ END %]
+
+[% BLOCK tasks %]
+ [% FOREACH t = tasks %]
+ [% IF t.value.size || keep %]
+ [% IF t.key %]
+$indent${t.key}
[%+ %]
- [% INCLUDE task tasks = tasks.$t indent = "$indent " %]
+ [% INCLUDE tasks tasks = t.value indent = "$indent " %]
+ [% ELSE %]
+ [% PROCESS task FOREACH s = t.value %]
+ [% END %]
[% END %]
[% END %]
[% END %]
-[% INCLUDE task tasks = tasks indent = '' %]
+[% INCLUDE tasks tasks = tasks indent = '' %]