From c51afba71a8d4614f74709d5e9c432c2cff3fcf7 Mon Sep 17 00:00:00 2001 From: Carlos Tadeu Panato Junior Date: Thu, 1 Dec 2016 23:23:28 +0100 Subject: Add Team Description to the Team Settings (#4652) * draft * Add Team Description to the Team Settings * add tooltips for team description * made changes per PM review * add message when there is no description set in the team * squash --- api/team.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'api/team.go') diff --git a/api/team.go b/api/team.go index 8cfb4fe77..8abb66e59 100644 --- a/api/team.go +++ b/api/team.go @@ -775,6 +775,7 @@ func updateTeam(c *Context, w http.ResponseWriter, r *http.Request) { } oldTeam.DisplayName = team.DisplayName + oldTeam.Description = team.Description oldTeam.InviteId = team.InviteId oldTeam.AllowOpenInvite = team.AllowOpenInvite oldTeam.CompanyName = team.CompanyName @@ -1010,6 +1011,7 @@ func getInviteInfo(c *Context, w http.ResponseWriter, r *http.Request) { result := map[string]string{} result["display_name"] = team.DisplayName + result["description"] = team.Description result["name"] = team.Name result["id"] = team.Id w.Write([]byte(model.MapToJson(result))) -- cgit v1.2.3-1-g7c22