{{ define "title" }} comparing {{ .Base }} and {{ .Head }} on {{ .RepoInfo.FullName }} {{ end }} {{ define "repoContent" }} {{ template "repo/fragments/compareForm" . }} {{ $isPushAllowed := and .LoggedInUser .RepoInfo.Roles.IsPushAllowed }} {{ if $isPushAllowed }} {{ template "repo/fragments/compareAllowPull" . }} {{ end }} {{ end }} {{ define "topbarLayout" }}
{{ template "layouts/topbar" . }}
{{ end }} {{ define "mainLayout" }}
{{ block "contentLayout" . }} {{ block "content" . }}{{ end }} {{ end }} {{ block "contentAfterLayout" . }}
{{ block "contentAfterLeft" . }} {{ end }}
{{ block "contentAfter" . }}{{ end }}
{{ end }}
{{ end }} {{ define "footerLayout" }} {{ end }} {{ define "contentAfter" }} {{ template "repo/fragments/diff" (list .RepoInfo.FullName .Diff .DiffOpts) }} {{end}} {{ define "contentAfterLeft" }}
{{ template "repo/fragments/diffOpts" .DiffOpts }}
{{ template "repo/fragments/diffChangedFiles" .Diff }}
{{end}}