{{template "base/head" .}}
{{template "repo/header" .}}
{{if .IsDiffCompare }} {{template "repo/commits_table" .}} {{else}}
{{.i18n.Tr "repo.diff.browse_source"}}

{{RenderCommitMessage .Commit.Message $.RepoLink $.Repository.ComposeMetas}}{{template "repo/commit_status" .CommitStatus}}

{{if IsMultilineCommitMessage .Commit.Message}}
{{RenderCommitBody .Commit.Message $.RepoLink $.Repository.ComposeMetas}}
{{end}} {{.BranchName}}
{{if .Author}} {{if .Author.FullName}} {{.Author.FullName}} {{if .IsSigned}}<{{.Commit.Author.Email}}>{{end}} {{else}} {{.Commit.Author.Name}} {{if .IsSigned}}<{{.Commit.Author.Email}}>{{end}} {{end}} {{else}} {{.Commit.Author.Name}} {{end}} {{TimeSince .Commit.Author.When $.Lang}}
{{if .Parents}}
{{.i18n.Tr "repo.diff.parent"}}
{{range .Parents}} {{ShortSha .}} {{end}}
{{end}}
{{.i18n.Tr "repo.diff.commit"}}
{{ShortSha .CommitID}}
{{if .Commit.Signature}} {{if .Verification.Verified }}
{{.i18n.Tr "repo.commits.signed_by"}}: {{.Commit.Committer.Name}} <{{.Commit.Committer.Email}}> {{.i18n.Tr "repo.commits.gpg_key_id"}}: {{.Verification.SigningKey.KeyID}}
{{else}}
{{.i18n.Tr .Verification.Reason}}
{{end}} {{end}} {{if .Note}}

{{.i18n.Tr "repo.diff.git-notes"}}

{{RenderNote .Note $.RepoLink $.Repository.ComposeMetas}}
{{if .NoteAuthor}} {{if .NoteAuthor.FullName}} {{.NoteAuthor.FullName}} {{else}} {{.NoteCommit.Author.Name}} {{end}} {{else}} {{.NoteCommit.Author.Name}} {{end}} {{TimeSince .NoteCommit.Author.When $.Lang}}
{{end}} {{end}} {{template "repo/diff/box" .}}
{{template "base/footer" .}}