{{template "repo/header" .}} + {{$compareSeparator := $.CompareInfo.CompareSeparator}} + {{$compareSeparatorSwitch := Iif $.CompareInfo.DirectComparison "..." ".."}}

{{if and $.PageIsComparePull $.IsSigned (not .Repository.IsArchived)}} - {{ctx.Locale.Tr "repo.pulls.compare_changes"}} -
{{ctx.Locale.Tr "repo.pulls.compare_changes_desc"}}
+ {{ctx.Locale.Tr "repo.compare.title"}} +
{{ctx.Locale.Tr "repo.compare.description"}}
{{else}} {{ctx.Locale.Tr "action.compare_commits_general"}} {{end}} @@ -29,7 +31,7 @@ {{- end -}}
- {{svg "octicon-git-compare"}} + {{svg "octicon-git-compare"}}
- {{svg "octicon-arrow-left" 16}}
{{.CompareSeparator}}
+ {{svg "octicon-arrow-left" 16}}
{{$compareSeparator}}