summaryrefslogtreecommitdiff
path: root/templates/plan-template.t
diff options
context:
space:
mode:
Diffstat (limited to 'templates/plan-template.t')
-rw-r--r--templates/plan-template.t13
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 }}