{{define "content"}}

Bugs

{{if .Bugs}} {{range .Bugs}}

{{if eq $.Status "all"}} {{if eq .Status "open"}} {{else if eq .Status "closed"}} {{end}} {{end}} {{.ID}} {{.Title}} {{if .Labels}}{{range $i, $label := .Labels}}{{if $i}} {{end}}{{$label.Name}}{{end}}{{end}}

{{if .AuthorAvatar}}{{end}}{{.Author}} opened {{- if gt .CommentCount 0}}{{.CommentCount}} {{if eq .CommentCount 1}}comment{{else}}comments{{end}} {{- end}} {{- if .HasActivity}}{{if eq .LastEventAction "closed"}}Closed{{else if eq .LastEventAction "reopened"}}Reopened{{else}}Updated{{end}} {{- end}}
{{end}} {{if or .HasPrevPage .HasNextPage}} {{end}} {{else}} {{if eq .Status "all"}}

git-bug is initialised, but this repo has no bugs.

{{else if eq .Status "open"}}

No open bugs.

{{else if eq .Status "closed"}}

No closed bugs.

{{end}} {{end}}
{{end}}