retrogit/app/templates/digest.html
Mihai Parparita faf41a425d Show timestamps that the commit was pushed to GitHub.
That matches the timestamp filtering better. The author timestamp is shown in a
tooltip.
2014-08-04 23:01:22 -07:00

32 lines
741 B
HTML

{{define "digest"}}
<dl>
<p>{{.DisplayDate}}. Here's the GitHub activity on that day 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>
<h3>{{.Title}}</h3>
{{if .Message}}
<pre>{{.Message}}</pre>
{{end}}
<div>
<a href="{{.URL}}">{{.DisplaySHA}}</a>
<i title={{.DisplayDateTooltip}}>{{.DisplayDate}}</i>
</div>
</div>
{{end}}
</div>
{{end}}
</dl>
{{end}}