Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

vole
Clone

Read only, no credentials:

https://rodent.software/git/vole.git

Write over SSH with a registered key:

git clone ssh://git@0.0.0.0:2222/vole.git

A free and open-source forge that lives in your Git repo.

Put the change's status after its title and split base from head

b7afc6a9f98d88bca6ee8c6050f42e28705b8b2a · Keenan Nemetz · 4d ago · parent e54a7eb1

Put the change's status after its title and split base from head

The title is what a reader scans first, so the status that qualifies it belongs
next to it. The branch pair also had two facts in one cell: the columns are now
Base and Head, with the followed branch and the commit under review in Head.

server/web/templates/requests.html +4−3

@@ -40,12 +40,11 @@
40 40 <div class="panel">
41 41 <table class="change-list">
42 42 <thead>
43 <tr><th>Status</th><th>Change</th><th>Base ← Head</th><th>Updated</th></tr>
43 <tr><th>Change</th><th>Status</th><th>Base</th><th>Head</th><th>Updated</th></tr>
44 44 </thead>
45 45 <tbody>
46 46 {{range .Rows}}
47 47 <tr>
48 <td class="fit">{{template "change_status" .Status}}</td>
49 48 <td>
50 49 <a class="row-title" href="/r/{{$.Name}}/requests/{{.ID}}">{{.Title}}</a>
51 50 <div class="row-meta">
@@ -54,7 +53,9 @@
54 53 {{if .CommentCount}}<span>{{.CommentCount}} comment{{if ne .CommentCount 1}}s{{end}}</span>{{end}}
55 54 </div>
56 55 </td>
57 <td><code>{{.Base}}</code> <span class="muted">←</span> {{if .HeadRef}}<code title="the branch this request follows">{{.HeadRef}}</code> {{end}}<span class="sha">{{short .Head}}</span></td>
56 <td class="fit">{{template "change_status" .Status}}</td>
57 <td><code>{{.Base}}</code></td>
58 <td>{{if .HeadRef}}<code title="the branch this request follows">{{.HeadRef}}</code> {{end}}<span class="sha" title="the commit under review">{{short .Head}}</span></td>
58 59 <td class="muted nowrap">{{since .Updated.Unix}}</td>
59 60 </tr>
60 61 {{end}}