{{template "base/head" .}}
{{template "repo/header" .}}
{{if .IsDiffCompare }} {{template "repo/commits_table" .}} {{else}}
{{.i18n.Tr "repo.diff.browse_source"}}
{{RenderCommitMessage true .Commit.Message $.RepoLink $.Repository.ComposeMetas | Str2HTML}}
{{if .Author}} {{.Commit.Author.Name}} {{if .IsLogged}}<{{.Commit.Author.Email}}>{{end}} {{else}} {{.Commit.Author.Name}} {{end}} {{TimeSince .Commit.Author.When $.Lang}}
{{if .Parents}}
{{.i18n.Tr "repo.diff.parent"}}
{{range .Parents}} {{ShortSHA1 .}} {{end}}
{{end}}
{{.i18n.Tr "repo.diff.commit"}}
{{ShortSHA1 .CommitID}}
{{end}} {{template "repo/diff/box" .}}
{{template "base/footer" .}}