this repo has no description
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 "topbarLayout" }} 14 <header class="px-1 col-span-full" style="z-index: 20;"> 15 {{ template "layouts/fragments/topbar" . }} 16 </header> 17{{ end }} 18 19{{ define "mainLayout" }} 20 <div class="px-1 flex-grow col-span-full flex flex-col gap-4"> 21 {{ block "contentLayout" . }} 22 {{ block "content" . }}{{ end }} 23 {{ end }} 24 25 {{ block "contentAfter" . }}{{ end }} 26 </div> 27{{ end }} 28 29{{ define "footerLayout" }} 30 <footer class="px-1 col-span-full mt-12"> 31 {{ template "layouts/fragments/footer" . }} 32 </footer> 33{{ end }} 34 35{{ define "contentAfter" }} 36 {{ template "repo/fragments/diff" (list .Diff .DiffOpts) }} 37{{end}}