1{{ define "title" }}
2 comparing {{ .Base }} and {{ .Head }} on {{ .RepoInfo.FullName }}
3{{ end }}
4
5{{ define "repoContent" }}
6 {{ template "repo/fragments/compareForm" . }}
7 {{ $isPushAllowed := and .LoggedInUser .RepoInfo.Roles.IsPushAllowed }}
8 {{ if $isPushAllowed }}
9 {{ template "repo/fragments/compareAllowPull" . }}
10 {{ end }}
11{{ end }}
12
13{{ define "repoAfter" }}
14 {{ template "repo/fragments/diff" (list .RepoInfo.FullName .Diff) }}
15{{ end }}