summaryrefslogtreecommitdiffstats
path: root/templates/log.html
diff options
context:
space:
mode:
authorLibravatar Anirudh Oppiliappan <x@icyphox.sh>2022-12-12 18:02:07 +0530
committerLibravatar Anirudh Oppiliappan <x@icyphox.sh>2022-12-12 18:02:07 +0530
commitf04137f841de6fefe4c79fedeb718b252a3b2958 (patch)
treeaa13f85cea086904d29c6dcc8b694b45196e28d4 /templates/log.html
parentc165c447685d68c2b0b2293a31937a903394f943 (diff)
downloadlegit-f04137f841de6fefe4c79fedeb718b252a3b2958.tar.gz
legit-f04137f841de6fefe4c79fedeb718b252a3b2958.tar.bz2
legit-f04137f841de6fefe4c79fedeb718b252a3b2958.zip
template: render diff header lines
Diffstat (limited to '')
-rw-r--r--templates/log.html3
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>
- &mdash; {{ .Author.Name }}</p>
+ &mdash; {{ .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>