{{define "content"}}
{{template "repo_header" .}} {{if .Stats}}
{{t .Lang "activity.commits"}} {{icon "git-commit" "size-4"}}
{{.Stats.CommitCount}}
{{t .Lang "activity.on_default_branch"}}
{{t .Lang "repo.tab.pulls"}} {{icon "git-pull-request" "size-4"}}
{{.Stats.OpenPRs}} / {{.Stats.MergedPRs}} {{t .Lang "pulls.status.merged"}}
{{t .Lang "activity.pull_requests"}}
{{t .Lang "repo.tab.issues"}} {{icon "issue" "size-4"}}
{{.Stats.OpenIssues}} / {{.Stats.ClosedIssues}} {{t .Lang "issue.status.closed"}}
{{t .Lang "activity.issues"}}
{{t .Lang "repo.tab.releases"}} {{icon "tag" "size-4"}}
{{.Stats.ReleaseCount}}
{{t .Lang "activity.published_releases"}}
{{end}}
{{icon "activity" "size-4"}} {{t .Lang "activity.recent_feed"}}
{{if .Items}}
{{range .Items}}
{{if eq .Type "commit"}} {{icon "git-commit" "size-4"}} {{else if eq .Type "pull"}} {{icon "git-pull-request" "size-4"}} {{else if eq .Type "issue"}} {{icon "issue" "size-4"}} {{else if eq .Type "release"}} {{icon "tag" "size-4"}} {{else}} {{icon "activity" "size-4"}} {{end}}
{{.Title}} {{if .Subtitle}} {{.Subtitle}} {{end}} {{if .Badge}} {{activityBadge $.Lang .Type .Badge}} {{end}}
{{if .AuthorUsername}} @{{.AuthorUsername}} ยท {{end}} {{timeAgo .CreatedAt $.Lang}}
{{end}}
{{else}}
{{t .Lang "activity.empty"}}
{{end}}
{{end}}