mirror of
https://github.com/samsonjs/retrogit.git
synced 2026-03-28 09:55:52 +00:00
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.
32 lines
711 B
HTML
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}}
|