diff options
author | Özgür Kesim <oec@codeblau.de> | 2024-11-28 22:36:51 +0100 |
---|---|---|
committer | Özgür Kesim <oec@codeblau.de> | 2024-11-28 22:36:51 +0100 |
commit | 22c56dee9b9a1d68c15ba395b223cad2900a8ebf (patch) | |
tree | 68ed913eff692c53e0f7136dba78ca9ba654027a /templates/plan-template.t | |
parent | 467933483cc53febf2ff57a6eaaae9e9b19095d6 (diff) |
fix formatting for amounts; better blocked/holiday
Diffstat (limited to 'templates/plan-template.t')
-rw-r--r-- | templates/plan-template.t | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/templates/plan-template.t b/templates/plan-template.t index d711f01..a5e29e6 100644 --- a/templates/plan-template.t +++ b/templates/plan-template.t @@ -1,6 +1,9 @@ -# Days -{{- $tl := .Timeline }} -{{ range .Days }} -{{ if .IsWeekend }}# {{end}}{{.Date}}{{ if .IsWeekend }} weekend{{ end -}} -{{ with $e := index $tl .Date }} {{ printf "%8s" $e.Total.AsDay }} {{ printf "%8s" $e.WPs }} {{ end }} +# Entry Format: +# 2006-01-02 WP2:wallet 8h Code Audit +{{- $tl := .Timeline -}} +{{ range .Days 2024 }} +{{ if or .IsWeekend .Holiday .Blocked }}# {{end}}{{.Date}} +{{- with .Holiday }} ({{ . }}){{ end -}} +{{- with .Blocked }} ({{ . }}){{ end -}} +{{/* with $e := index $tl .Date }} {{ printf "%8s" $e.WPs }} {{ printf "%8s" $e.Total.AsDay }}{{ end */}} {{- end }} |