gunk-dev/the-valley

log.tmpl

sourcefefe7833f700main's published tip history
1.3 KiB
1{{define "content"}}
2<header class="knot-head">
3 <div class="meta"><span class="eyebrow">History</span><span class="mono">{{.Short}}</span>{{if .AtTip}}<span class="chip">main's published tip</span>{{end}}</div>
4 <h1>History of {{.Project}}</h1>
5</header>
6<div class="card">
7 <table class="listing">
8 <tbody>
9 {{- range .Commits}}
10 <tr><td class="name"><a href="{{.URL}}">{{.Short}}</a></td><td>{{.Subject}}{{with .Parents}}<p class="notice">{{.}}</p>{{end}}</td><td class="kind">{{.Author}}</td><td class="kind">{{.Date}}</td></tr>
11 {{- end}}
12 </tbody>
13 </table>
14 {{- if .Partial}}
15 <p class="notice">This page ends early: its commits are larger than a page reads.</p>
16 {{- end}}
17 {{- if .Crowded}}
18 <p class="notice">This page ends early, before a commit that would leave more lines of history than one page can link to.</p>
19 {{- end}}
20 {{- with .Others}}
21 <p class="notice">Older history continues along {{$.Lines}} lines at once, more than the Older link follows. Each link below follows one of the remaining lines.</p>
22 <p class="mono">{{range .}}<a href="{{.URL}}">{{.Text}}</a> {{end}}</p>
23 {{- end}}
24</div>
25<nav class="pager" aria-label="Pages of history">{{with .Newest}}<a href="{{.}}">Newest</a>{{end}}{{with .Older}}<a href="{{.}}">Older</a>{{end}}</nav>
26{{end}}