repos / git-pr

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

commit
2bfb3f1
parent
4ecc5a8
author
Eric Bower
date
2024-06-04 23:59:26 -0400 EDT
style: cleanup
2 files changed,  +4, -2
M tmpl/pr-detail-patches.html
+1, -1
1@@ -17,7 +17,7 @@
2     <div class="box">
3       <div class="group-h">
4         <h2 class="text-lg m-0 p-0">
5-          {{if .Review}}<code>review</code>{{end}}
6+          {{if .Review}}<code>REVIEW</code>{{end}}
7           <span>{{.Title}}</span>
8         </h2>
9       </div>
M tmpl/pr-detail.html
+3, -1
 1@@ -16,7 +16,7 @@
 2     {{range .Patches}}
 3     <div class="box">
 4       <h2 class="text-lg m-0 p-0">
 5-        {{if .Review}}<code>review</code>{{end}}
 6+        {{if .Review}}<code>REVIEW</code>{{end}}
 7         <span>{{.Title}}</span>
 8       </h2>
 9       <div class="group-h text-sm">
10@@ -24,9 +24,11 @@
11         <date>{{.AuthorDate}}</date>
12       </div>
13 
14+      {{if .Body}}
15       <div class="my">
16         <pre>{{.Body}}</pre>
17       </div>
18+      {{end}}
19     </div>
20     {{else}}
21     <div class="box">