diff --git a/templates/repo/issue/list.tmpl b/templates/repo/issue/list.tmpl index 40a88c1b69..c8310783d7 100644 --- a/templates/repo/issue/list.tmpl +++ b/templates/repo/issue/list.tmpl @@ -264,7 +264,7 @@ {{end}} {{range .Assignees}} - + {{end}} diff --git a/templates/repo/issue/milestone_issues.tmpl b/templates/repo/issue/milestone_issues.tmpl index 763543c38d..b5000a6655 100644 --- a/templates/repo/issue/milestone_issues.tmpl +++ b/templates/repo/issue/milestone_issues.tmpl @@ -262,7 +262,7 @@ {{.DeadlineUnix.FormatShort}} {{end}} {{range .Assignees}} - + {{end}} diff --git a/templates/repo/issue/view_content/pull.tmpl b/templates/repo/issue/view_content/pull.tmpl index 01f6b224ef..6b62def2cc 100644 --- a/templates/repo/issue/view_content/pull.tmpl +++ b/templates/repo/issue/view_content/pull.tmpl @@ -15,7 +15,7 @@ {{end}} {{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 cce331b677..b0d52f341c 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 57ffc74886..53a978e068 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}}