retrogit/app/templates/digest.html
Mihai Parparita fe11e2a97a Basic timezone support.
Digests are generated for day boundaries in the given timezone, and timestamps
that are displayed are in that timezone too. No UI for actually specifying a
timezone.
2014-08-03 23:00:48 -07:00

32 lines
711 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>{{.DisplayDate}}</i>
</div>
</div>
{{end}}
</div>
{{end}}
</dl>
{{end}}