diff options
author | Wim <wim@42.be> | 2019-05-08 10:41:35 +0200 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2019-05-08 11:41:35 +0300 |
commit | 4508380cf7937aef0bf6f99fe3eefb6c530e38e3 (patch) | |
tree | 28d832a36e5aced26dce671591c58a1b1a00f22e /templates/repo/issue/view_content/sidebar.tmpl | |
parent | a84f10ad1afb8b3dcfa75093891d85f6f163715e (diff) | |
download | gitea-4508380cf7937aef0bf6f99fe3eefb6c530e38e3.tar.gz gitea-4508380cf7937aef0bf6f99fe3eefb6c530e38e3.zip |
Show full name if DefaultShowFullName setting activated (#6710)
Adds a new key DEFAULT_SHOW_FULL_NAME (default false) to the [ui] section.
If enabled the full name will be shown (unless it's empty, then
the default username will be used)
Diffstat (limited to 'templates/repo/issue/view_content/sidebar.tmpl')
-rw-r--r-- | templates/repo/issue/view_content/sidebar.tmpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/repo/issue/view_content/sidebar.tmpl b/templates/repo/issue/view_content/sidebar.tmpl index 1f5481530a..4db5628faa 100644 --- a/templates/repo/issue/view_content/sidebar.tmpl +++ b/templates/repo/issue/view_content/sidebar.tmpl @@ -89,7 +89,7 @@ {{end}} {{end}}"></span> <span class="text"> - <img class="ui avatar image" src="{{.RelAvatarLink}}"> {{.Name}} + <img class="ui avatar image" src="{{.RelAvatarLink}}"> {{.GetDisplayName}} </span> </a> {{end}} @@ -100,7 +100,7 @@ <div class="selected"> {{range .Issue.Assignees}} <div class="item" style="margin-bottom: 10px;"> - <a href="{{$.RepoLink}}/issues?assignee={{.ID}}"><img class="ui avatar image" src="{{.RelAvatarLink}}"> {{.Name}}</a> + <a href="{{$.RepoLink}}/issues?assignee={{.ID}}"><img class="ui avatar image" src="{{.RelAvatarLink}}"> {{.GetDisplayName}}</a> </div> {{end}} </div> @@ -113,7 +113,7 @@ <div> {{range .Participants}} <a {{if gt .ID 0}}href="{{.HomeLink}}"{{end}}> - <img class="ui avatar image poping up" src="{{.RelAvatarLink}}" data-content="{{.DisplayName}}" data-position="top center" data-variation="small inverted"> + <img class="ui avatar image poping up" src="{{.RelAvatarLink}}" data-content="{{.GetDisplayName}}" data-position="top center" data-variation="small inverted"> </a> {{end}} </div> |