From 99ce31633f021a89a84e9ed3051732288959409d Mon Sep 17 00:00:00 2001 From: Wim Date: Tue, 3 Nov 2020 20:21:49 +0100 Subject: [PATCH] Add missing full names when DEFAULT_SHOW_FULL_NAME is enabled --- templates/repo/issue/list.tmpl | 2 +- templates/repo/issue/milestone_issues.tmpl | 2 +- templates/repo/issue/view_content/pull.tmpl | 2 +- templates/repo/release/list.tmpl | 2 +- templates/repo/settings/protected_branch.tmpl | 6 +++--- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/templates/repo/issue/list.tmpl b/templates/repo/issue/list.tmpl index 49f9db13bf3ae..881e7748766b5 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 af17fde641c0b..2e00d12279f54 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 a67783ebb1226..238bf099a1dd4 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 bba6f91e7b846..a4cef9381ece1 100644 --- a/templates/repo/release/list.tmpl +++ b/templates/repo/release/list.tmpl @@ -59,7 +59,7 @@ {{.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 57ffc7488636b..53a978e0684f7 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}}