repos / git-pr

a self-hosted git collaboration server
git clone https://github.com/picosh/git-pr.git

commit
f927d3a
parent
882bf26
author
Eric Bower
date
2024-11-12 22:41:57 -0500 EST
fix: better location for patch file anchor link
1 files changed,  +2, -2
M tmpl/patchset.html
+2, -2
 1@@ -49,8 +49,8 @@
 2           {{if $patch.Body}}<pre class="w-full">{{$patch.Body}}</pre>{{end}}
 3 
 4           {{range $patch.PatchFiles}}
 5-            <details class="details-min" open="true">
 6-              <summary class="group-h patch-file" id="patch-{{$patch.ID}}-{{.NewName}}">
 7+            <details class="details-min" open="true" id="patch-{{$patch.ID}}-{{.NewName}}">
 8+              <summary class="group-h patch-file">
 9                 <span class="mono">{{.NewName}}</span>
10                 <a href="#patch-{{$patch.ID}}-{{.NewName}}" class="word-break-word">link</a>
11                 <div class="flex gap">