{{define "content"}}

Timeline

{{range .Timeline}}
{{if eq .Type "create"}}

{{$.Title}}

{{if .Message}} {{.Message}} {{else}} No description provided. {{end}}
{{.Author}} opened this bug on {{if $.Edited}}(edited){{end}}
{{else if eq .Type "comment"}} {{if .Message}} {{.Message}} {{else}} No comment provided. {{end}}
{{.Author}} commented on {{if .Edited}}(edited){{end}}
{{else if eq .Type "title"}} {{.Author}} changed the title to {{.Title}}.
{{else if eq .Type "status"}} {{.Author}} {{.Status}} the bug.
{{end}}
{{end}}