diff --git a/templates/repo/commits_table.tmpl b/templates/repo/commits_table.tmpl index 03e8591f6..f1ce05c2b 100644 --- a/templates/repo/commits_table.tmpl +++ b/templates/repo/commits_table.tmpl @@ -30,7 +30,7 @@ {{if .User}} -   {{.Author.Name}} +   {{.User.Name}} {{else}}   {{.Author.Name}} {{end}} diff --git a/templates/repo/view_list.tmpl b/templates/repo/view_list.tmpl index 0881ce993..6d837d500 100644 --- a/templates/repo/view_list.tmpl +++ b/templates/repo/view_list.tmpl @@ -4,7 +4,7 @@ {{if .LatestCommitUser}} - {{.LatestCommit.Author.Name}} + {{.LatestCommitUser.Name}} {{else}} {{.LatestCommit.Author.Name}}