Eric Bower
·
2026-02-25
1
2{{define "commit-list"}}
3<div class="commit-list text-sm">
4 {{$selectedID := .Patch.ID}}
5 {{range $idx, $patch := .Patches}}
6 <a class="commit-list-item flex justify-between items-center gap{{if eq $patch.ID $selectedID}} commit-list-item-active{{end}}"
7 href="/ps/{{$.Patchset.ID}}/patches/{{$patch.ID}}">
8 <span class="mono truncate" style="flex: 1;">
9 {{if eq $patch.ID $selectedID}}<span class="text-md" style="color: var(--success);">→</span> {{end}}{{$patch.Title}}
10 </span>
11 <div style="flex-shrink: 0;">{{$patch.AuthorName}} <code>{{$patch.FormattedAuthorDate}}</code></div>
12 </a>
13 {{else}}
14 <div class="box">
15 No patches found for patch request.
16 </div>
17 {{end}}
18</div>
19{{end}}