{{define "content"}}
{{template "repo_header" .}}
{{t .Lang "repo.history"}} · {{.Ref}}
{{if .Commits}}
{{range .Commits}}
{{icon "git-commit" "size-4"}}
{{.Subject}}
{{.AuthorName}} · {{timeAgo .AuthoredAt $.Lang}}
{{.ShortHash}}
{{end}}
{{if gt .Page 1}} {{icon "arrow-left" "size-3.5"}} {{t .Lang "common.newer"}} {{else}} {{end}} {{if .HasMore}} {{t .Lang "common.older"}} {{icon "arrow-right" "size-3.5"}} {{end}}
{{else}} {{template "ui_empty_state" (dict "Icon" "git-commit" "Title" (t .Lang "repo.no_commits"))}} {{end}}
{{end}}