this repo has no description
1{{ define "title" }} 2 interdiff of round #{{ .Round }} and #{{ sub .Round 1 }} &middot; pull #{{ .Pull.PullId }} &middot; {{ .RepoInfo.FullName }} 3{{ end }} 4 5 6{{ define "extrameta" }} 7 {{ $title := printf "interdiff of %d and %d &middot; %s &middot; pull #%d &middot; %s" .Round (sub .Round 1) .Pull.Title .Pull.PullId .RepoInfo.FullName }} 8 {{ $url := printf "https://tangled.sh/%s/pulls/%d/round/%d" .RepoInfo.FullName .Pull.PullId .Round }} 9 10 {{ template "repo/fragments/og" (dict "RepoInfo" .RepoInfo "Title" (unescapeHtml $title) "Url" $url) }} 11{{ end }} 12 13{{ define "content" }} 14 <section class="rounded drop-shadow-sm bg-white dark:bg-gray-800 py-4 px-6 dark:text-white"> 15 <header class="pb-2"> 16 <div class="flex gap-3 items-center mb-3"> 17 <a href="/{{ .RepoInfo.FullName }}/pulls/{{ .Pull.PullId }}/" class="flex items-center gap-2 font-medium"> 18 {{ i "arrow-left" "w-5 h-5" }} 19 back 20 </a> 21 <span class="select-none before:content-['\00B7']"></span> 22 interdiff of round #{{ .Round }} and #{{ sub .Round 1 }} 23 </div> 24 <div class="border-t border-gray-200 dark:border-gray-700 my-2"></div> 25 {{ template "repo/pulls/fragments/pullHeader" . }} 26 </header> 27 </section> 28 29{{ end }} 30 31{{ define "topbarLayout" }} 32 {{ template "layouts/topbar" . }} 33{{ end }} 34 35{{ define "contentLayout" }} 36 {{ block "content" . }}{{ end }} 37{{ end }} 38 39{{ define "contentAfterLayout" }} 40 <div class="grid grid-cols-1 md:grid-cols-12 gap-4"> 41 <div class="col-span-1 md:col-span-2"> 42 {{ block "contentAfterLeft" . }} {{ end }} 43 </div> 44 <main class="col-span-1 md:col-span-10"> 45 {{ block "contentAfter" . }}{{ end }} 46 </main> 47 </div> 48{{ end }} 49 50{{ define "footerLayout" }} 51 {{ template "layouts/footer" . }} 52{{ end }} 53 54 55{{ define "contentAfter" }} 56 {{ template "repo/fragments/interdiff" (list .RepoInfo.FullName .Interdiff .DiffOpts) }} 57{{end}} 58 59{{ define "contentAfterLeft" }} 60 <div class="flex flex-col gap-4 col-span-1 md:col-span-2"> 61 {{ template "repo/fragments/diffOpts" .DiffOpts }} 62 </div> 63 <div class="sticky top-0 mt-4"> 64 {{ template "repo/fragments/interdiffFiles" .Interdiff }} 65 </div> 66{{end}}