{{if .User}}
- {{.User.Name}}
+ {{.User.GetDisplayName}}
{{else if .Team}}
{{$.Issue.Repo.OwnerName}}/{{.Team.Name}}
{{end}}
diff --git a/templates/repo/release/list.tmpl b/templates/repo/release/list.tmpl
index cce331b67..b0d52f341 100644
--- a/templates/repo/release/list.tmpl
+++ b/templates/repo/release/list.tmpl
@@ -118,7 +118,7 @@
{{svg "octicon-mark-github" 16 "mr-2"}}{{.OriginalAuthor}}
{{else if .Publisher}}
- {{.Publisher.Name}}
+ {{.Publisher.GetDisplayName}}
{{else}}
Ghost
{{end}}
diff --git a/templates/repo/settings/protected_branch.tmpl b/templates/repo/settings/protected_branch.tmpl
index 57ffc7488..53a978e06 100644
--- a/templates/repo/settings/protected_branch.tmpl
+++ b/templates/repo/settings/protected_branch.tmpl
@@ -49,7 +49,7 @@
{{range .Users}}
- {{.Name}}
+ {{.GetDisplayName}}
{{end}}
@@ -99,7 +99,7 @@
{{range .Users}}
- {{.Name}}
+ {{.GetDisplayName}}
{{end}}
@@ -179,7 +179,7 @@
{{range .Users}}
- {{.Name}}
+ {{.GetDisplayName}}
{{end}}