{{ define "title" }} Comparing {{ .Base }} and {{ .Head }} · {{ .RepoInfo.FullName }} · Tangled {{ end }} {{ define "repoContent" }} {{ template "repo/fragments/compareForm" . }} {{ $isPushAllowed := and .LoggedInUser .RepoInfo.Roles.IsPushAllowed }} {{ if $isPushAllowed }} {{ template "repo/fragments/compareAllowPull" . }} {{ end }} {{ end }} {{ define "mainLayout" }}
{{ block "contentLayout" . }} {{ block "content" . }}{{ end }} {{ end }} {{ block "contentAfter" . }}{{ end }}
{{ end }} {{ define "contentAfter" }} {{ template "repo/fragments/diff" (list .Diff .DiffOpts) }} {{end}}