A vibe coded tangled fork which supports pijul.
at 812a76896fa6870609ac959cfbc495ba7e1c02ef 42 lines 1.7 kB view raw
1{{ define "repo/pulls/fragments/summarizedHeader" }} 2 {{ $pull := index . 0 }} 3 {{ $pipeline := index . 1 }} 4 {{ with $pull }} 5 <div class="flex text-sm items-center justify-between w-full"> 6 <div class="flex items-center gap-2 min-w-0 flex-1 pr-2"> 7 <div class="flex-shrink-0"> 8 {{ template "repo/pulls/fragments/summarizedPullState" .State }} 9 </div> 10 <span class="truncate text-sm text-gray-800 dark:text-gray-200"> 11 <span class="text-gray-500 dark:text-gray-400">#{{ .PullId }}</span> 12 {{ .Title }} 13 </span> 14 </div> 15 16 <div class="flex-shrink-0 flex items-center"> 17 {{ $latestRound := .LastRoundNumber }} 18 {{ $lastSubmission := index .Submissions $latestRound }} 19 {{ $commentCount := len $lastSubmission.Comments }} 20 {{ if and $pipeline $pipeline.Id }} 21 <div class="inline-flex items-center gap-2"> 22 {{ template "repo/pipelines/fragments/pipelineSymbol" $pipeline }} 23 <span class="mx-2 before:content-['·'] before:select-none"></span> 24 </div> 25 {{ end }} 26 <span> 27 <div class="inline-flex items-center gap-2"> 28 {{ i "message-square" "w-3 h-3 md:hidden" }} 29 {{ $commentCount }} 30 <span class="hidden md:inline">comment{{if ne $commentCount 1}}s{{end}}</span> 31 </div> 32 </span> 33 <span class="mx-2 before:content-['·'] before:select-none"></span> 34 <span> 35 <span class="hidden md:inline">round</span> 36 <span class="font-mono">#{{ $latestRound }}</span> 37 </span> 38 </div> 39 </div> 40 {{ end }} 41{{ end }} 42