diff options
Diffstat (limited to 'templates/overview.md')
-rw-r--r-- | templates/overview.md | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/templates/overview.md b/templates/overview.md new file mode 100644 index 0000000..caff0cb --- /dev/null +++ b/templates/overview.md @@ -0,0 +1,21 @@ +{{ range $id, $wp := .Workpackages -}} +## Workpackage {{ $id }}: {{ $wp.Title }} +{{ range $tid, $task := $wp.Tasks }} + {{$task.ID}}: {{ $task.Title }} + Budget: {{ $task.Budget.AsMonth }} +{{ end }} + +{{ end }} + +| Date | Time | WP's | +|:-----------|---------:|:--------:| +{{- range $d, $e := .Timeline }} +| {{ $d }} | {{ printf "%8s" $e.Total }} | {{ printf "%8s" $e.WPs }} | +{{- end }} +{{- $tl := .Timeline }}{{- $hd := .Holidays }} + +# Days +{{ range .Days 2024 03 }} +{{if or .IsWeekend .IsHoliday }}# {{end}}{{.Date}}{{ if .IsHoliday}} ({{ index $hd .Date}}){{end -}} +{{ with .Planned }} Planned: {{ .Total }}{{ end }}{{ with .Worked }} Worked: {{ .Total }}{{end}} +{{- end }}
\ No newline at end of file |