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.
Blame · server/web/templates/file_history.html
Line attribution on main · 21 line(s)
|
67a308ba
Keenan Nemetz
15d ago
|
1 | {{define "file_history"}} |
| 2 | {{template "header" .}} | |
|
5d440e37
Keenan Nemetz
10d ago
|
3 | {{template "repohead" (nav .Page "code")}} |
|
67a308ba
Keenan Nemetz
15d ago
|
4 | |
| 5 | <div class="page-head"> | |
| 6 | <div class="page-head-main"> | |
| 7 | <h1>{{.Path}}</h1> | |
| 8 | <p class="page-sub">History on <code>{{.Ref}}</code> · {{len .Commits}} commit(s)</p> | |
| 9 | </div> | |
| 10 | <div class="page-head-actions"> | |
|
ed03b3d1
Keenan Nemetz
9h ago
|
11 | <a class="button secondary" href="/{{.Name}}/blob/{{esc .Ref}}/{{pathurl .Path}}">{{icon "file"}}View file</a> |
| 12 | {{if .IsBlob}}<a class="button secondary" href="/{{.Name}}/blame/{{esc .Ref}}/{{pathurl .Path}}">{{icon "git-commit-horizontal"}}Blame</a>{{end}} | |
| 13 | <a class="button secondary" href="/{{.Name}}/code?ref={{esc .Ref}}">{{icon "code"}}Browse</a> | |
|
67a308ba
Keenan Nemetz
15d ago
|
14 | </div> |
| 15 | </div> | |
| 16 | ||
| 17 | <div class="panel"> | |
| 18 | {{template "commitlist" .}} | |
| 19 | </div> | |
| 20 | {{template "footer" .}} | |
| 21 | {{end}} |