summaryrefslogtreecommitdiff
path: root/templates/wp-total.md
diff options
context:
space:
mode:
authorÖzgür Kesim <oec@kesim.org>2024-11-29 12:38:19 +0100
committerÖzgür Kesim <oec@kesim.org>2024-11-29 12:38:19 +0100
commit2d1c6cff8c96c4d3e4986fd3396e4086e0496063 (patch)
treec641c2a8d8e10079b0a621ae0cffc54dade1376a /templates/wp-total.md
parent63513fb66d7d8224fea53c16608265ec02836978 (diff)
template rename
Diffstat (limited to 'templates/wp-total.md')
-rw-r--r--templates/wp-total.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/wp-total.md b/templates/wp-total.md
new file mode 100644
index 0000000..c664634
--- /dev/null
+++ b/templates/wp-total.md
@@ -0,0 +1,18 @@
+Total for {{ .WP }}:
+-------------------
+Budgeted : {{ printf "%8s" .Budgeted.AsDay }}
+ Planned : {{ printf "%8s" .Planned.AsDay }}{{with .Unaccounted }}
+ ! Open !: {{ printf "%8s" .AsDay}}{{end}}
+ Done : {{ printf "%8s" .Done.AsDay }}{{with .Open }}
+ ! Todo !: {{ printf "%8s" .AsDay }}{{end}}
+
+Per Task:
+{{- range $n, $t := .Tasks }}
+
+»{{ $n }}«:
+Budgeted : {{ printf "%8s" $t.Budgeted.AsDay }}
+ Planned : {{ printf "%8s" $t.Planned.AsDay }}{{with $t.Unaccounted }}
+ ! Open !: {{ printf "%8s" .AsDay}}{{end}}
+ Done : {{ printf "%8s" $t.Done.AsDay }}{{with $t.Open }}
+ ! Todo !: {{ printf "%8s" .AsDay}}{{end}}
+{{- end }} \ No newline at end of file