From 4f78abe7dc85754bd913f05ed927d27a59c4a22c Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sat, 23 Jul 2016 17:57:22 +0800 Subject: [PATCH] #3066 fix create organization ignores full name property --- models/org.go | 1 - templates/org/home.tmpl | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/models/org.go b/models/org.go index 7f659b36a0..d2cb188935 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 40b5fb2b63..474c8795ab 100644 --- a/templates/org/home.tmpl +++ b/templates/org/home.tmpl @@ -6,7 +6,7 @@
- {{.Org.FullName}} + {{.Org.DisplayName}} {{if .IsOrganizationOwner}}{{end}}
{{if .Org.Description}}

{{.Org.Description}}

{{end}}