{{if eq (len .Statuses) 1}}{{$status := index .Statuses 0}}{{if $status.TargetURL}}{{template "repo/commit_status" .Status}}{{end}}{{end}}
{{range .Statuses}}
{{template "repo/commit_status" .}} {{.Context}} {{.Description}} {{if .TargetURL}} {{$.root.locale.Tr "repo.pulls.status_checks_details"}} {{end}}
{{end}}