1{{ define "title" }}
2 patch of {{ .Pull.Title }} · round #{{ .Round }} · pull #{{ .Pull.PullId }} · {{ .RepoInfo.FullName }}
3{{ end }}
4
5{{ define "content" }}
6<section>
7 <section
8 class="bg-white dark:bg-gray-800 p-6 rounded relative z-20 w-full mx-auto drop-shadow-sm dark:text-white"
9 >
10 <div class="flex gap-3 items-center mb-3">
11 <a href="/{{ .RepoInfo.FullName }}/pulls/{{ .Pull.PullId }}/" class="flex items-center gap-2 font-medium">
12 {{ i "arrow-left" "w-5 h-5" }}
13 back
14 </a>
15 <span class="select-none before:content-['\00B7']"></span>
16 round<span class="flex items-center">{{ i "hash" "w-4 h-4" }}{{ .Round }}</span>
17 <span class="select-none before:content-['\00B7']"></span>
18 <a href="/{{ .RepoInfo.FullName }}/pulls/{{ .Pull.PullId }}/round/{{ .Round }}.patch">
19 view raw
20 </a>
21 </div>
22 <div class="border-t border-gray-200 dark:border-gray-700 my-2"></div>
23 {{ template "repo/pulls/fragments/pullHeader" . }}
24 </section>
25 {{ template "repo/fragments/diff" (list .RepoInfo.FullName .Diff) }}
26</section>
27{{ end }}