summaryrefslogtreecommitdiff
path: root/templates/wp-total.t
diff options
context:
space:
mode:
Diffstat (limited to 'templates/wp-total.t')
-rw-r--r--templates/wp-total.t5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/wp-total.t b/templates/wp-total.t
index 157b0ac..c664634 100644
--- a/templates/wp-total.t
+++ b/templates/wp-total.t
@@ -7,11 +7,12 @@ Budgeted : {{ printf "%8s" .Budgeted.AsDay }}
! Todo !: {{ printf "%8s" .AsDay }}{{end}}
Per Task:
-{{ range $n, $t := .Tasks }}
+{{- 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
+{{- end }} \ No newline at end of file