diff options
author | Wim <wim@42.be> | 2020-11-04 10:11:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-04 11:11:19 +0200 |
commit | fb756e773831d215fdb807b736d6276012669b6c (patch) | |
tree | 9926790130d7f264d1e92bca5fc76da00ef1ee00 /templates | |
parent | 59c3cf6388d873a7bcc1958d7e51f1138950a2ff (diff) | |
download | gitea-fb756e773831d215fdb807b736d6276012669b6c.tar.gz gitea-fb756e773831d215fdb807b736d6276012669b6c.zip |
Add missing full names when DEFAULT_SHOW_FULL_NAME is enabled (#13417)
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/issue/list.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/issue/milestone_issues.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/issue/view_content/pull.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/release/list.tmpl | 2 | ||||
-rw-r--r-- | 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 40a88c1b69..c8310783d7 100644 --- a/templates/repo/issue/list.tmpl +++ b/templates/repo/issue/list.tmpl @@ -264,7 +264,7 @@ </span> {{end}} {{range .Assignees}} - <a class="ui right assignee poping up" href="{{.HomeLink}}" data-content="{{.Name}}" data-variation="inverted" data-position="left center"> + <a class="ui right assignee poping up" href="{{.HomeLink}}" data-content="{{.GetDisplayName}}" data-variation="inverted" data-position="left center"> <img class="ui avatar image" src="{{.RelAvatarLink}}"> </a> {{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 @@ <span{{if .IsOverdue}} class="overdue"{{end}}>{{.DeadlineUnix.FormatShort}}</span> {{end}} {{range .Assignees}} - <a class="ui right assignee poping up" href="{{.HomeLink}}" data-content="{{.Name}}" data-variation="inverted" data-position="left center"> + <a class="ui right assignee poping up" href="{{.HomeLink}}" data-content="{{.GetDisplayName}}" data-variation="inverted" data-position="left center"> <img class="ui avatar image" src="{{.RelAvatarLink}}"> </a> {{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}} <span class="text grey"> {{if .User}} - <a href="{{.User.HomeLink}}">{{.User.Name}}</a> + <a href="{{.User.HomeLink}}">{{.User.GetDisplayName}}</a> {{else if .Team}} <span class="ui text">{{$.Issue.Repo.OwnerName}}/{{.Team.Name}}</span> {{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}} <img class="img-10" src="{{.Publisher.RelAvatarLink}}"> - <a href="{{AppSubUrl}}/{{.Publisher.Name}}">{{.Publisher.Name}}</a> + <a href="{{AppSubUrl}}/{{.Publisher.Name}}">{{.Publisher.GetDisplayName}}</a> {{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}} <div class="item" data-value="{{.ID}}"> <img class="ui mini image" src="{{.RelAvatarLink}}"> - {{.Name}} + {{.GetDisplayName}} </div> {{end}} </div> @@ -99,7 +99,7 @@ {{range .Users}} <div class="item" data-value="{{.ID}}"> <img class="ui mini image" src="{{.RelAvatarLink}}"> - {{.Name}} + {{.GetDisplayName}} </div> {{end}} </div> @@ -179,7 +179,7 @@ {{range .Users}} <div class="item" data-value="{{.ID}}"> <img class="ui mini image" src="{{.RelAvatarLink}}"> - {{.Name}} + {{.GetDisplayName}} </div> {{end}} </div> |