forked from tangled.org/core
this repo has no description

add pull header to interdiff

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