diff --git a/templates/repo/commits_table.tmpl b/templates/repo/commits_table.tmpl index 03e8591f682be..2571984016e9c 100644 --- a/templates/repo/commits_table.tmpl +++ b/templates/repo/commits_table.tmpl @@ -30,7 +30,7 @@ {{if .User}} -   {{.Author.Name}} +   {{.User.FullName}} {{else}}   {{.Author.Name}} {{end}} diff --git a/templates/repo/diff/page.tmpl b/templates/repo/diff/page.tmpl index 0a35a80427b33..f22115d2c48cd 100644 --- a/templates/repo/diff/page.tmpl +++ b/templates/repo/diff/page.tmpl @@ -14,7 +14,11 @@
{{if .Author}} - {{.Commit.Author.Name}} {{if .IsSigned}}<{{.Commit.Author.Email}}>{{end}} + {{if .Author.FullName}} + {{.Author.FullName}} {{if .IsSigned}}<{{.Commit.Author.Email}}>{{end}} + {{else}} + {{.Commit.Author.Name}} {{if .IsSigned}}<{{.Commit.Author.Email}}>{{end}} + {{end}} {{else}} {{.Commit.Author.Name}} diff --git a/templates/repo/view_list.tmpl b/templates/repo/view_list.tmpl index 0881ce99387c6..c64c1d137848e 100644 --- a/templates/repo/view_list.tmpl +++ b/templates/repo/view_list.tmpl @@ -4,7 +4,7 @@ {{if .LatestCommitUser}} - {{.LatestCommit.Author.Name}} + {{.LatestCommitUser.FullName}} {{else}} {{.LatestCommit.Author.Name}}