repos / git-pr

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

commit
c169202
parent
6ff3bc1
author
Eric Bower
date
2024-07-21 12:22:55 -0400 EDT
chore: rearrange pr status location
2 files changed,  +2, -1
M tmpl/pr-header.html
+1, -0
1@@ -7,6 +7,7 @@
2 
3   <div class="text-sm">
4     {{template "pr-status" .Pr.Status}}
5+    <span>&middot;</span>
6     <span>opened on <date>{{.Pr.Date}}</date> by</span>
7     <code class="pill{{if .Pr.UserData.IsAdmin}}-admin{{end}}" title="{{.Pr.UserData.Pubkey}}">{{.Pr.UserData.Name}}</code>
8   </div>
M tmpl/pr-list-item.html
+1, -1
 1@@ -1,8 +1,8 @@
 2 {{define "pr-list-item"}}
 3 <div>
 4   <div style="margin-bottom: 0.3rem;">
 5-    <a href="{{.Url}}">{{.Text}}</a>
 6     {{template "pr-status" .Status}}
 7+    <a href="{{.Url}}">{{.Text}}</a>
 8   </div>
 9   <div>
10     <code>#{{.ID}}</code>