diff --git a/models/org.go b/models/org.go index 7f659b36a07..d2cb188935f 100644 --- a/models/org.go +++ b/models/org.go @@ -106,7 +106,6 @@ func CreateOrganization(org, owner *User) (err error) { } org.LowerName = strings.ToLower(org.Name) - org.FullName = org.Name org.Rands = GetUserSalt() org.Salt = GetUserSalt() org.UseCustomAvatar = true diff --git a/templates/org/home.tmpl b/templates/org/home.tmpl index 40b5fb2b63a..474c8795ab2 100644 --- a/templates/org/home.tmpl +++ b/templates/org/home.tmpl @@ -6,7 +6,7 @@ <img class="ui left" id="org-avatar" src="{{.Org.AvatarLink}}?s=140"/> <div id="org-info"> <div class="ui header"> - {{.Org.FullName}} + {{.Org.DisplayName}} {{if .IsOrganizationOwner}}<a class="text grey" href="{{.OrgLink}}/settings"><span class="octicon octicon-gear"></span></a>{{end}} </div> {{if .Org.Description}}<p class="desc">{{.Org.Description}}</p>{{end}}