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 comment count last on the issue's metadata line
946d2fd42c7dfdf2a613f285ad05cd2805a63e7f · Keenan Nemetz · 4d ago · parent c67173ca
Put the comment count last on the issue's metadata line It is the one item there that disappears when it is zero. Keeping it at the end means a row with no comments simply stops after the opening, and the number, author and age stay in the same place on every row.
server/web/templates/issues.html +1−1
| @@ -65,8 +65,8 @@ | |||
| 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}} | ||
| 69 | 68 | <span>opened by {{template "userlink" (user .Author)}} {{since .Created.Unix}}</span> | |
| 69 | {{if .Comments}}<span>{{.Comments}} comment{{if ne .Comments 1}}s{{end}}</span>{{end}} | ||
| 70 | 70 | </div> | |
| 71 | 71 | </td> | |
| 72 | 72 | <td><div class="label-row">{{range .Labels}}<span class="label">{{.}}</span>{{else}}<span class="muted">—</span>{{end}}</div></td> | |