#3066 fix create organization ignores full name property
This commit is contained in:
parent
e63b2881b1
commit
4f78abe7dc
2 changed files with 1 additions and 2 deletions
|
@ -106,7 +106,6 @@ func CreateOrganization(org, owner *User) (err error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
org.LowerName = strings.ToLower(org.Name)
|
org.LowerName = strings.ToLower(org.Name)
|
||||||
org.FullName = org.Name
|
|
||||||
org.Rands = GetUserSalt()
|
org.Rands = GetUserSalt()
|
||||||
org.Salt = GetUserSalt()
|
org.Salt = GetUserSalt()
|
||||||
org.UseCustomAvatar = true
|
org.UseCustomAvatar = true
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<img class="ui left" id="org-avatar" src="{{.Org.AvatarLink}}?s=140"/>
|
<img class="ui left" id="org-avatar" src="{{.Org.AvatarLink}}?s=140"/>
|
||||||
<div id="org-info">
|
<div id="org-info">
|
||||||
<div class="ui header">
|
<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}}
|
{{if .IsOrganizationOwner}}<a class="text grey" href="{{.OrgLink}}/settings"><span class="octicon octicon-gear"></span></a>{{end}}
|
||||||
</div>
|
</div>
|
||||||
{{if .Org.Description}}<p class="desc">{{.Org.Description}}</p>{{end}}
|
{{if .Org.Description}}<p class="desc">{{.Org.Description}}</p>{{end}}
|
||||||
|
|
Loading…
Reference in a new issue