Monorepo for Tangled tangled.org

add pull header to interdiff

Changed files
+3 -6
appview
pages
templates
repo
+3 -6
appview/pages/templates/repo/pulls/interdiff.html
··· 3 3 {{ end }} 4 4 5 5 {{ define "content" }} 6 - <div class="rounded drop-shadow-sm bg-white dark:bg-gray-800 py-4 px-6 dark:text-white"> 6 + <section class="rounded drop-shadow-sm bg-white dark:bg-gray-800 py-4 px-6 dark:text-white"> 7 7 <header class="pb-2"> 8 8 <div class="flex gap-3 items-center mb-3"> 9 9 <a href="/{{ .RepoInfo.FullName }}/pulls/{{ .Pull.PullId }}/" class="flex items-center gap-2 font-medium"> ··· 14 14 interdiff of round #{{ .Round }} and #{{ sub .Round 1 }} 15 15 </div> 16 16 <div class="border-t border-gray-200 dark:border-gray-700 my-2"></div> 17 - <h1 class="text-2xl mt-3"> 18 - {{ .Pull.Title }} 19 - <span class="text-gray-500 dark:text-gray-400">#{{ .Pull.PullId }}</span> 20 - </h1> 17 + {{ template "repo/pulls/fragments/pullHeader" . }} 21 18 </header> 22 - </div> 19 + </section> 23 20 24 21 <section> 25 22 {{ template "repo/fragments/interdiff" (list .RepoInfo.FullName .Interdiff) }}