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.
Refresh the web surface with Everforest, readable type, and clearer navigation
796ac8c0ce77461174cf520d5fad4dea37744662 · Keenan Nemetz · 12d ago · parent ac00929f
server/web/templates/releases.html +16−14
| @@ -11,19 +11,21 @@ | |||
| 11 | 11 | </div> | |
| 12 | 12 | ||
| 13 | 13 | {{if .Tags}} | |
| 14 | <table> | ||
| 15 | <tr><th>Tag</th><th>Notes</th><th>Tagger</th><th>Age</th><th>Source</th>{{if .CanManage}}<th></th>{{end}}</tr> | ||
| 16 | {{range .Tags}} | ||
| 17 | <tr> | ||
| 18 | <td><a href="/r/{{$.Name}}/releases/{{esc .Name}}">{{.Name}}</a>{{if not .Annotated}} <span class="label">lightweight</span>{{end}}</td> | ||
| 19 | <td class="muted">{{.Subject}}</td> | ||
| 20 | <td class="muted">{{if .Tagger}}{{.Tagger}}{{else}}—{{end}}</td> | ||
| 21 | <td class="muted">{{since .When}}</td> | ||
| 22 | <td><a href="/r/{{$.Name}}/releases/{{esc .Name}}/archive.tar">tar</a> · <a href="/r/{{$.Name}}/releases/{{esc .Name}}/archive.tar.gz">tar.gz</a></td> | ||
| 23 | {{if $.CanManage}}<td>{{if .Annotated}}<a href="/r/{{$.Name}}/releases/edit?tag={{urlquery .Name}}">edit notes</a>{{end}}</td>{{end}} | ||
| 24 | </tr> | ||
| 25 | {{end}} | ||
| 26 | </table> | ||
| 14 | <div class="panel"> | ||
| 15 | <table> | ||
| 16 | <tr><th>Tag</th><th>Notes</th><th>Tagger</th><th>Age</th><th>Source</th>{{if .CanManage}}<th></th>{{end}}</tr> | ||
| 17 | {{range .Tags}} | ||
| 18 | <tr> | ||
| 19 | <td><a href="/r/{{$.Name}}/releases/{{esc .Name}}">{{.Name}}</a>{{if not .Annotated}} <span class="label">lightweight</span>{{end}}</td> | ||
| 20 | <td class="muted">{{.Subject}}</td> | ||
| 21 | <td class="muted">{{if .Tagger}}{{.Tagger}}{{else}}—{{end}}</td> | ||
| 22 | <td class="muted">{{since .When}}</td> | ||
| 23 | <td><a href="/r/{{$.Name}}/releases/{{esc .Name}}/archive.tar">tar</a> · <a href="/r/{{$.Name}}/releases/{{esc .Name}}/archive.tar.gz">tar.gz</a></td> | ||
| 24 | {{if $.CanManage}}<td>{{if .Annotated}}<a href="/r/{{$.Name}}/releases/edit?tag={{urlquery .Name}}">edit notes</a>{{end}}</td>{{end}} | ||
| 25 | </tr> | ||
| 26 | {{end}} | ||
| 27 | </table> | ||
| 28 | </div> | ||
| 27 | 29 | {{else}} | |
| 28 | 30 | <p class="muted">No releases yet. A release is an annotated tag, so this is the whole flow:</p> | |
| 29 | 31 | <pre>git tag -a v1.0.0 -F notes.md | |
| @@ -93,7 +95,7 @@ release a description; the tarball below works either way.</p> | |||
| 93 | 95 | </div> | |
| 94 | 96 | ||
| 95 | 97 | <h2>{{if .Prev}}{{.Count}} commit(s) since {{.Prev}}{{else}}{{.Count}} commit(s){{end}}</h2> | |
| 96 | {{template "commitlist" .}} | ||
| 98 | <div class="panel">{{template "commitlist" .}}</div> | ||
| 97 | 99 | {{if .Capped}}<p class="muted">Showing the first {{.CappedAt}}; the rest are in the history.</p>{{end}} | |
| 98 | 100 | {{template "footer" .}} | |
| 99 | 101 | {{end}} | |