{{ template "widget-base.html" . }} {{ define "widget-content" }} {{ .Repository.Name }} {{ if gt (len .Repository.Commits) 0 }}
Last {{ .CommitsLimit }} commits
{{ end }} {{ if gt (len .Repository.PullRequests) 0 }}
Open pull requests ({{ .Repository.OpenPullRequests | formatNumber }} total)
{{ end }} {{ if gt (len .Repository.Issues) 0 }}
Open issues ({{ .Repository.OpenIssues | formatNumber }} total)
{{ end }} {{ end }}