summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-03-16 17:17:45 -0400
committerUnknwon <u@gogs.io>2016-03-16 17:17:45 -0400
commit0048980da56ba9fb60abca9f65d756be5ccd9143 (patch)
tree171898770dd0fdecbf11485695454753b1a744b9
parentff731ea07dd695fc49dc2e1e158e47867a613379 (diff)
parentd169d00be6a3253d64818194a5fa78d58983169e (diff)
downloadgitea-0048980da56ba9fb60abca9f65d756be5ccd9143.tar.gz
gitea-0048980da56ba9fb60abca9f65d756be5ccd9143.zip
Merge pull request #2845 from moltam/feature/org-member-full-name-avatar
Display org member's full name in link title.
-rw-r--r--templates/org/home.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/org/home.tmpl b/templates/org/home.tmpl
index 78caa3fe12..acf4b71e10 100644
--- a/templates/org/home.tmpl
+++ b/templates/org/home.tmpl
@@ -47,7 +47,7 @@
{{$isMember := .IsOrganizationMember}}
{{range .Members}}
{{if or $isMember (.IsPublicMember $.Org.Id)}}
- <a href="{{.HomeLink}}" title="{{.Name}}"><img class="ui avatar" src="{{.AvatarLink}}"></a>
+ <a href="{{.HomeLink}}" title="{{.Name}}{{if .FullName}} ({{.FullName}}){{end}}"><img class="ui avatar" src="{{.AvatarLink}}"></a>
{{end}}
{{end}}
</div>