summaryrefslogtreecommitdiff
path: root/p/tools/todo.text.tt
diff options
context:
space:
mode:
Diffstat (limited to 'p/tools/todo.text.tt')
-rw-r--r--p/tools/todo.text.tt16
1 files changed, 16 insertions, 0 deletions
diff --git a/p/tools/todo.text.tt b/p/tools/todo.text.tt
new file mode 100644
index 0000000..610b385
--- /dev/null
+++ b/p/tools/todo.text.tt
@@ -0,0 +1,16 @@
+[% BLOCK subtask %]
+[% END %]
+
+[% BLOCK task %]
+ [% FOREACH t = tasks.keys %]
+ [% IF t == '' %]
+ [% INCLUDE subtask FOREACH tasks.$t %]
+ [% ELSE %]
+$indent$t
+[%+ %]
+ [% INCLUDE task tasks = tasks.$t indent = "$indent " %]
+ [% END %]
+ [% END %]
+[% END %]
+
+[% INCLUDE task tasks = tasks indent = '' %]