From 55dfe2c97876a8af5db0fb071f002e33fb686128 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Fri, 21 Nov 2014 10:58:08 -0500 Subject: custom avatar upload --- templates/repo/commits_table.tmpl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'templates/repo/commits_table.tmpl') diff --git a/templates/repo/commits_table.tmpl b/templates/repo/commits_table.tmpl index d48d61a5..eb819e38 100644 --- a/templates/repo/commits_table.tmpl +++ b/templates/repo/commits_table.tmpl @@ -24,7 +24,13 @@ {{$r := List .Commits}} {{range $r}} -    {{if .UserName}}{{.Author.Name}}{{else}}{{.Author.Name}}{{end}} + + {{if .User}} +    {{.Author.Name}} + {{else}} +    {{.Author.Name}} + {{end}} + {{SubStr .Id.String 0 10}} {{.Summary}} {{TimeSince .Author.When $.Lang}} -- cgit v1.2.3