This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

core / appview / pages / templates / repo / pulls / fragments / diffFile.html
879 B 18 lines
1{{ define "repo/pulls/fragments/diffFile" }} 2<details id="file-{{ .Id }}" class="group w-full drop-shadow-sm rounded overflow-clip"> 3 <summary class="list-none cursor-pointer bg-slate-100 dark:bg-gray-900"> 4 <div class="flex justify-between rounded border bg-white dark:bg-gray-800 group-open:rounded-b-none border-gray-200 dark:border-gray-700"> 5 <div class="p-2 flex gap-2 items-center"> 6 <span class="group-open:hidden inline">{{ i "chevron-right" "size-4" }}</span> 7 <span class="hidden group-open:inline">{{ i "chevron-down" "size-4" }}</span> 8 {{ template "repo/fragments/diffStatPill" .Stats }} 9 <span>{{ .Path }}</span> 10 </div> 11 <div></div> 12 </div> 13 </summary> 14 <div class="rounded-b overflow-clip border-x border-b border-gray-200 dark:border-gray-700"> 15 <pre>todo: diff content</pre> 16 </div> 17</details> 18{{ end }}