diff options
author | Anirudh Oppiliappan <x@icyphox.sh> | 2022-12-12 18:02:07 +0530 |
---|---|---|
committer | Anirudh Oppiliappan <x@icyphox.sh> | 2022-12-12 18:02:07 +0530 |
commit | f04137f841de6fefe4c79fedeb718b252a3b2958 (patch) | |
tree | aa13f85cea086904d29c6dcc8b694b45196e28d4 /templates/log.html | |
parent | c165c447685d68c2b0b2293a31937a903394f943 (diff) | |
download | legit-f04137f841de6fefe4c79fedeb718b252a3b2958.tar.gz legit-f04137f841de6fefe4c79fedeb718b252a3b2958.tar.bz2 legit-f04137f841de6fefe4c79fedeb718b252a3b2958.zip |
template: render diff header lines
Diffstat (limited to '')
-rw-r--r-- | templates/log.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/log.html b/templates/log.html index 357a5a8..de7b200 100644 --- a/templates/log.html +++ b/templates/log.html @@ -12,7 +12,8 @@ {{ $repo := .name }} {{ range .commits }} <p><a href="/{{ $repo }}/commit/{{ .Hash.String }}">{{ slice .Hash.String 0 8 }}<a> - — {{ .Author.Name }}</p> + — {{ .Author.Name }} + <span title="{{ .Author.When }}">{{ .Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}</span></p> <p><pre>{{ .Message }}</pre></p> {{ end }} </main> |