{{if .Statuses}} {{if and (eq (len .Statuses) 1) .Status.TargetURL}} {{template "repo/commit_status" .Status}} {{else}} {{template "repo/commit_status" .Status}} {{end}}
{{template "repo/pulls/status" (dict "CommitStatuses" .Statuses "CommitStatus" .Status)}}
{{end}}