{{define "content" -}}
{{template "repohead" .}}
{{- $r := .Repo}}
{{.}}
{{- if .Verified}}{{template "icon" "lock"}}Verified{{with .Signer}}signed by {{.}}{{else}}signature verified by Gitea{{end}}{{if .Key}} with {{.KeyType}} key {{.C.Subject}}
{{- with .C.Body}}{{.Key}}{{end}}
{{- else}}{{template "icon" "unlock"}}SignedGitea couldn't verify the signature.{{end -}}
{{- range .Statuses}}
{{- end}}
Showing {{len .Files}} changed file{{if ne (len .Files) 1}}s{{end}} with {{.Added}} addition{{if ne .Added 1}}s{{end}} and {{.Deleted}} deletion{{if ne .Deleted 1}}s{{end}}.
{{- range .Files}}Binary file, not shown.
{{- else if .Lines}}
{{- range .Lines}}
{{- if eq .Kind 64}}{{.Text}}{{else}}{{if .Old}}{{.Old}}{{end}}{{if .New}}{{.New}}{{end}}{{.Text}}{{end -}}
{{end -}}
{{- if .Truncated}}Diff truncated. Clone the repository for the full change.
{{end}} {{- else if .Truncated}}Diff truncated. Clone the repository for the full change.
{{- else}}No content changes.
{{- end}}