{{define "page-change"}} {{$c := .Change}} {{$p := .}}

{{$c.Row.Short}} {{$c.Row.Flags}}

commit {{$c.Row.CommitShort}} · {{$c.Row.Author}} · {{$c.Row.When}} {{if $c.Row.Refs}} · {{$c.Row.Refs}}{{end}} · browse the tree here

{{if $c.Desc}}
{{$c.Desc}}
{{else}}

(no description set)

{{end}} {{if $c.Parents}}

parents: {{range $c.Parents}}{{.Short}} {{.Desc}} {{end}}

{{end}}

Changed files {{$c.Stat}}

{{if $c.Files}} {{range $c.Files}} {{end}}
{{.Status}} {{.Path}}
{{else}}

no file changes

{{end}}

Notes recorded at this change {{len .Notes}}

{{range .Notes}}{{template "note" (dict "N" . "P" $)}}{{end}}
{{if not .Notes}}

nothing in the log was written while this change was checked out

{{end}}
{{end}}