retrogit/app/templates/digest.html
Mihai Parparita d1982e9d7f Create a DigestCommit struct for extracting interesting/display data for commits.
For just used for convenience storage of properties and a display SHA, but will
also be used for message/title extraction.
2014-08-02 23:11:30 -07:00

29 lines
597 B
HTML

{{define "digest"}}
<dl>
<p>Activity a year ago for <a href="https://github.com/{{.User.Login}}" title={{.User.Name}}><img src={{.User.AvatarURL}} width="20" height="20" border="0">{{.User.Login}}</a>.</p>
{{range $index, $repoDigest := .RepoDigests}}
<h2>
<a href="https://github.com/{{.Repo.FullName}}">
{{.Repo.FullName}}
</a>
</h2>
<div>
{{range .Commits }}
<div>
<pre>{{.Message}}</pre>
<div>
<a href="{{.URL}}">{{.DisplaySHA}}</a>
<i>{{.Date}}</i>
</div>
</div>
{{end}}
</div>
{{end}}
</dl>
{{end}}