retrogit/app/templates/digest.html
2014-08-01 23:00:21 -07:00

29 lines
667 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>{{.Commit.Message}}</pre>
<div>
<a href="https://github.com/{{$repoDigest.Repo.FullName}}/commit/{{.SHA}}">{{.SHA}}</a>
<i>{{.Commit.Author.Date}}</i>
</div>
</div>
{{end}}
</div>
{{end}}
</dl>
{{end}}