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/vole.git

Write over SSH with a registered key:

git clone ssh://git@rodent.software:2222/vole.git

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

Fold the reply count into the issue's metadata line

c67173ca550b5e3f969a23cdf1a8c96b9d6b8b3d · Keenan Nemetz · 5d ago · parent db4081ec

Fold the reply count into the issue's metadata line

A whole column for a small number pushed the columns that matter apart. The
count now sits under the title beside the number and the opening, and it is
left out when there are none, so most rows are quieter than before.

The row reads "1 comment" rather than "1 comment(s)", matching the issue
page, which calls the discussion Comments.

server/web/templates/issues.html +2−2

@@ -55,7 +55,7 @@
55 55 <div class="panel">
56 56 <table class="issue-list">
57 57 <thead>
58 <tr><th>Status</th><th>Issue</th><th>Labels</th><th>Assignees</th><th>Replies</th><th>Updated</th></tr>
58 <tr><th>Status</th><th>Issue</th><th>Labels</th><th>Assignees</th><th>Updated</th></tr>
59 59 </thead>
60 60 <tbody>
61 61 {{range .Issues}}
@@ -65,12 +65,12 @@
65 65 <a class="row-title" href="/r/{{$.Name}}/issues/{{.ID}}">{{.Title}}</a>
66 66 <div class="row-meta">
67 67 <span class="sha">{{num .Number}}</span>
68 {{if .Comments}}<span>{{.Comments}} comment{{if ne .Comments 1}}s{{end}}</span>{{end}}
68 69 <span>opened by {{template "userlink" (user .Author)}} {{since .Created.Unix}}</span>
69 70 </div>
70 71 </td>
71 72 <td><div class="label-row">{{range .Labels}}<span class="label">{{.}}</span>{{else}}<span class="muted">—</span>{{end}}</div></td>
72 73 <td class="nowrap">{{range $i, $a := .Assignees}}{{if $i}}, {{end}}{{template "userlink" (user $a)}}{{else}}<span class="muted">—</span>{{end}}</td>
73 <td class="muted">{{.Comments}}</td>
74 74 <td class="muted nowrap">{{since .Updated.Unix}}</td>
75 75 </tr>
76 76 {{end}}