{{template "base/head" .}}
{{template "repo/header" .}}
{{if .PageIsComparePull}}

{{if not .Repository.IsArchived}} {{.i18n.Tr "repo.pulls.compare_changes"}}
{{.i18n.Tr "repo.pulls.compare_changes_desc"}}
{{ else }} {{.i18n.Tr "action.compare_commits_general"}} {{ end }}

...
{{end}} {{if .IsNothingToCompare}}
{{.i18n.Tr "repo.pulls.nothing_to_compare"}}
{{else if and .PageIsComparePull (gt .CommitCount 0)}} {{if .HasPullRequest}}
{{.i18n.Tr "repo.pulls.has_pull_request" $.RepoLink $.RepoRelPath .PullRequest.Index | Safe}}
{{else}} {{if not .Repository.IsArchived}}
{{ else }}
{{.i18n.Tr "repo.archive.title"}}
{{ end }} {{template "repo/commits_table" .}} {{template "repo/diff/box" .}} {{end}} {{else}} {{template "repo/commits_table" .}} {{template "repo/diff/box" .}} {{end}}
{{template "base/footer" .}}