Adding team settings to admin console
Этот коммит содержится в:
@@ -173,7 +173,7 @@ func getClientProperties(c *model.Config) map[string]string {
|
||||
props["BuildDate"] = model.BuildDate
|
||||
props["BuildHash"] = model.BuildHash
|
||||
|
||||
props["SiteName"] = c.ServiceSettings.SiteName
|
||||
props["SiteName"] = c.TeamSettings.SiteName
|
||||
props["AnalyticsUrl"] = c.ServiceSettings.AnalyticsUrl
|
||||
props["EnableOAuthServiceProvider"] = strconv.FormatBool(c.ServiceSettings.EnableOAuthServiceProvider)
|
||||
props["SegmentDeveloperKey"] = c.ServiceSettings.SegmentDeveloperKey
|
||||
@@ -186,11 +186,10 @@ func getClientProperties(c *model.Config) map[string]string {
|
||||
props["AllowSignUpWithGitLab"] = strconv.FormatBool(c.GitLabSettings.Allow)
|
||||
|
||||
props["ShowEmailAddress"] = strconv.FormatBool(c.PrivacySettings.ShowEmailAddress)
|
||||
props["AllowPublicLink"] = strconv.FormatBool(c.TeamSettings.AllowPublicLink)
|
||||
|
||||
props["EnablePublicLink"] = strconv.FormatBool(c.ImageSettings.EnablePublicLink)
|
||||
props["ProfileHeight"] = fmt.Sprintf("%v", c.ImageSettings.ProfileHeight)
|
||||
props["ProfileWidth"] = fmt.Sprintf("%v", c.ImageSettings.ProfileWidth)
|
||||
props["ProfileWidth"] = fmt.Sprintf("%v", c.ImageSettings.ProfileWidth)
|
||||
|
||||
return props
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user