diff options
author | Özgür Kesim <oec@kesim.org> | 2024-11-28 18:50:56 +0100 |
---|---|---|
committer | Özgür Kesim <oec@kesim.org> | 2024-11-28 18:50:56 +0100 |
commit | 888ebed344d3c2fdb8140a3eeaf20f5139375932 (patch) | |
tree | b50b853158c2c469c7f80b8fd3809de45a1e562e /templates/wp-total.t | |
parent | 255c624b733e44e39392dd565da55d6f2350076f (diff) |
added global totals
Diffstat (limited to 'templates/wp-total.t')
-rw-r--r-- | templates/wp-total.t | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/templates/wp-total.t b/templates/wp-total.t index 90adf9b..a4cf2f8 100644 --- a/templates/wp-total.t +++ b/templates/wp-total.t @@ -1,17 +1,17 @@ Total for {{ .WP }}: ------------------ -Budgeted: {{ printf "%8s" .Budgeted.AsDay }} - Planned: {{ printf "%8s" .Planned.AsDay }}{{with .Unaccounted }} -! Open !: {{ printf "%8s" .AsDay}}{{end}} - Actual: {{ printf "%8s" .Done.AsDay }}{{with .Open }} -! TODO !: {{ printf "%8s" .AsDay }}{{end}} +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}} - Actual: {{ printf "%8s" $t.Done.AsDay }}{{with $t.Open }} -! TODO !: {{ printf "%8s" .AsDay}}{{end}} +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 |