{"action":"created","comment":{"url":"https://api.github.com/repos/mattermost/platform/pulls/comments/35973371","id":35973371,"diff_hunk":"@@ -54,37 +57,36 @@ module.exports = React.createClass({\n         $(this.refs.modal.getDOMNode()).off('hidden.bs.modal', this.handleClose);\n     },\n     getInitialState: function() {\n-        return { name: this.props.teamDisplayName };\n+        return {name: this.props.teamDisplayName};\n     },\n     render: function() {\n-\n-        var name_error = this.state.name_error ? <label className='control-label'>{ this.state.name_error }</label> : null;\n-        var server_error = this.state.server_error ? <div className='form-group has-error'><label className='control-label'>{ this.state.server_error }</label></div> : null;\n+        var name_error = this.state.name_error ? <label className='control-label'>{this.state.name_error}</label> : null;\n+        var server_error = this.state.server_error ? <div className='form-group has-error'><label className='control-label'>{this.state.server_error}</label></div> : null;\n \n         return (\n-            <div className=\"modal fade\" ref=\"modal\" id=\"rename_team_link\" tabIndex=\"-1\" role=\"dialog\" aria-hidden=\"true\">\n-                <div className=\"modal-dialog\">\n-                    <div className=\"modal-content\">\n-                        <div className=\"modal-header\">\n-                            <button type=\"button\" className=\"close\" data-dismiss=\"modal\">\n-                                <span aria-hidden=\"true\">&times;</span>\n-                                <span className=\"sr-only\">Close</span>\n+            <div className='modal fade' ref='modal' id='rename_team_link' tabIndex='-1' role='dialog' aria-hidden='true'>\n+                <div className='modal-dialog'>\n+                    <div className='modal-content'>\n+                        <div className='modal-header'>\n+                            <button type='button' className='close' data-dismiss='modal'>\n+                                <span aria-hidden='true'>&times;</span>\n+                                <span className='sr-only'>Close</span>","path":"web/react/components/rename_team_modal.jsx","position":85,"original_position":85,"commit_id":"7e6f380afa8b8f7007404c89463eb978eadeb63e","original_commit_id":"7e6f380afa8b8f7007404c89463eb978eadeb63e","user":{"login":"it33","id":177788,"avatar_url":"https://avatars.githubusercontent.com/u/177788?v=3","gravatar_id":"","url":"https://api.github.com/users/it33","html_url":"https://github.com/it33","followers_url":"https://api.github.com/users/it33/followers","following_url":"https://api.github.com/users/it33/following{/other_user}","gists_url":"https://api.github.com/users/it33/gists{/gist_id}","starred_url":"https://api.github.com/users/it33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/it33/subscriptions","organizations_url":"https://api.github.com/users/it33/orgs","repos_url":"https://api.github.com/users/it33/repos","events_url":"https://api.github.com/users/it33/events{/privacy}","received_events_url":"https://api.github.com/users/it33/received_events","type":"User","site_admin":false},"body":"@nickago If there's one button on the bottom right, it should be \"Close\", if there are two buttons, one should be \"Cancel\" (on left) the other should be the action button, e.g. \"Save\", \"Rename Team\", etc. ","created_at":"2015-07-31T13:35:49Z","updated_at":"2015-07-31T13:35:49Z","html_url":"https://github.com/mattermost/platform/pull/297#discussion_r35973371","pull_request_url":"https://api.github.com/repos/mattermost/platform/pulls/297","_links":{"self":{"href":"https://api.github.com/repos/mattermost/platform/pulls/comments/35973371"},"html":{"href":"https://github.com/mattermost/platform/pull/297#discussion_r35973371"},"pull_request":{"href":"https://api.github.com/repos/mattermost/platform/pulls/297"}}},"pull_request":{"url":"https://api.github.com/repos/mattermost/platform/pulls/297","id":41253684,"html_url":"https://github.com/mattermost/platform/pull/297","diff_url":"https://github.com/mattermost/platform/pull/297.diff","patch_url":"https://github.com/mattermost/platform/pull/297.patch","issue_url":"https://api.github.com/repos/mattermost/platform/issues/297","number":297,"state":"open","locked":false,"title":"MM-1661 Changed Close to Cancel in Team Rename Modal and did cosmetic refactoring","user":{"login":"nickago","id":8923630,"avatar_url":"https://avatars.githubusercontent.com/u/8923630?v=3","gravatar_id":"","url":"https://api.github.com/users/nickago","html_url":"https://github.com/nickago","followers_url":"https://api.github.com/users/nickago/followers","following_url":"https://api.github.com/users/nickago/following{/other_user}","gists_url":"https://api.github.com/users/nickago/gists{/gist_id}","starred_url":"https://api.github.com/users/nickago/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickago/subscriptions","organizations_url":"https://api.github.com/users/nickago/orgs","repos_url":"https://api.github.com/users/nickago/repos","events_url":"https://api.github.com/users/nickago/events{/privacy}","received_events_url":"https://api.github.com/users/nickago/received_events","type":"User","site_admin":false},"body":"Cosmetic refactoring includes:\r\n*change double quotes to single quotes\r\n*Add a display name\r\n*Remove spaces in dictionary definitions and expressions\r\n*Added semicolons","created_at":"2015-07-30T16:24:39Z","updated_at":"2015-07-31T13:35:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c7ef92b34685481939df4150ef9d466c3892bcda","assignee":{"login":"rgarmsen2295","id":9124858,"avatar_url":"https://avatars.githubusercontent.com/u/9124858?v=3","gravatar_id":"","url":"https://api.github.com/users/rgarmsen2295","html_url":"https://github.com/rgarmsen2295","followers_url":"https://api.github.com/users/rgarmsen2295/followers","following_url":"https://api.github.com/users/rgarmsen2295/following{/other_user}","gists_url":"https://api.github.com/users/rgarmsen2295/gists{/gist_id}","starred_url":"https://api.github.com/users/rgarmsen2295/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgarmsen2295/subscriptions","organizations_url":"https://api.github.com/users/rgarmsen2295/orgs","repos_url":"https://api.github.com/users/rgarmsen2295/repos","events_url":"https://api.github.com/users/rgarmsen2295/events{/privacy}","received_events_url":"https://api.github.com/users/rgarmsen2295/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/mattermost/platform/pulls/297/commits","review_comments_url":"https://api.github.com/repos/mattermost/platform/pulls/297/comments","review_comment_url":"https://api.github.com/repos/mattermost/platform/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mattermost/platform/issues/297/comments","statuses_url":"https://api.github.com/repos/mattermost/platform/statuses/7e6f380afa8b8f7007404c89463eb978eadeb63e","head":{"label":"nickago:MM-1661","ref":"MM-1661","sha":"7e6f380afa8b8f7007404c89463eb978eadeb63e","user":{"login":"nickago","id":8923630,"avatar_url":"https://avatars.githubusercontent.com/u/8923630?v=3","gravatar_id":"","url":"https://api.github.com/users/nickago","html_url":"https://github.com/nickago","followers_url":"https://api.github.com/users/nickago/followers","following_url":"https://api.github.com/users/nickago/following{/other_user}","gists_url":"https://api.github.com/users/nickago/gists{/gist_id}","starred_url":"https://api.github.com/users/nickago/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickago/subscriptions","organizations_url":"https://api.github.com/users/nickago/orgs","repos_url":"https://api.github.com/users/nickago/repos","events_url":"https://api.github.com/users/nickago/events{/privacy}","received_events_url":"https://api.github.com/users/nickago/received_events","type":"User","site_admin":false},"repo":{"id":37983086,"name":"platform","full_name":"nickago/platform","owner":{"login":"nickago","id":8923630,"avatar_url":"https://avatars.githubusercontent.com/u/8923630?v=3","gravatar_id":"","url":"https://api.github.com/users/nickago","html_url":"https://github.com/nickago","followers_url":"https://api.github.com/users/nickago/followers","following_url":"https://api.github.com/users/nickago/following{/other_user}","gists_url":"https://api.github.com/users/nickago/gists{/gist_id}","starred_url":"https://api.github.com/users/nickago/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickago/subscriptions","organizations_url":"https://api.github.com/users/nickago/orgs","repos_url":"https://api.github.com/users/nickago/repos","events_url":"https://api.github.com/users/nickago/events{/privacy}","received_events_url":"https://api.github.com/users/nickago/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nickago/platform","description":"Team communication service across PC and phones, with archiving and search.","fork":true,"url":"https://api.github.com/repos/nickago/platform","forks_url":"https://api.github.com/repos/nickago/platform/forks","keys_url":"https://api.github.com/repos/nickago/platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nickago/platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nickago/platform/teams","hooks_url":"https://api.github.com/repos/nickago/platform/hooks","issue_events_url":"https://api.github.com/repos/nickago/platform/issues/events{/number}","events_url":"https://api.github.com/repos/nickago/platform/events","assignees_url":"https://api.github.com/repos/nickago/platform/assignees{/user}","branches_url":"https://api.github.com/repos/nickago/platform/branches{/branch}","tags_url":"https://api.github.com/repos/nickago/platform/tags","blobs_url":"https://api.github.com/repos/nickago/platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nickago/platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nickago/platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/nickago/platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nickago/platform/statuses/{sha}","languages_url":"https://api.github.com/repos/nickago/platform/languages","stargazers_url":"https://api.github.com/repos/nickago/platform/stargazers","contributors_url":"https://api.github.com/repos/nickago/platform/contributors","subscribers_url":"https://api.github.com/repos/nickago/platform/subscribers","subscription_url":"https://api.github.com/repos/nickago/platform/subscription","commits_url":"https://api.github.com/repos/nickago/platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/nickago/platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/nickago/platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/nickago/platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/nickago/platform/contents/{+path}","compare_url":"https://api.github.com/repos/nickago/platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nickago/platform/merges","archive_url":"https://api.github.com/repos/nickago/platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nickago/platform/downloads","issues_url":"https://api.github.com/repos/nickago/platform/issues{/number}","pulls_url":"https://api.github.com/repos/nickago/platform/pulls{/number}","milestones_url":"https://api.github.com/repos/nickago/platform/milestones{/number}","notifications_url":"https://api.github.com/repos/nickago/platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nickago/platform/labels{/name}","releases_url":"https://api.github.com/repos/nickago/platform/releases{/id}","created_at":"2015-06-24T12:29:18Z","updated_at":"2015-07-08T18:22:27Z","pushed_at":"2015-07-30T21:52:31Z","git_url":"git://github.com/nickago/platform.git","ssh_url":"git@github.com:nickago/platform.git","clone_url":"https://github.com/nickago/platform.git","svn_url":"https://github.com/nickago/platform","homepage":"http://mattermost.org","size":5281,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mattermost:master","ref":"master","sha":"c09beaa655789ff3b60418af784f2ca75d0c268d","user":{"login":"mattermost","id":9828093,"avatar_url":"https://avatars.githubusercontent.com/u/9828093?v=3","gravatar_id":"","url":"https://api.github.com/users/mattermost","html_url":"https://github.com/mattermost","followers_url":"https://api.github.com/users/mattermost/followers","following_url":"https://api.github.com/users/mattermost/following{/other_user}","gists_url":"https://api.github.com/users/mattermost/gists{/gist_id}","starred_url":"https://api.github.com/users/mattermost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattermost/subscriptions","organizations_url":"https://api.github.com/users/mattermost/orgs","repos_url":"https://api.github.com/users/mattermost/repos","events_url":"https://api.github.com/users/mattermost/events{/privacy}","received_events_url":"https://api.github.com/users/mattermost/received_events","type":"Organization","site_admin":false},"repo":{"id":37448451,"name":"platform","full_name":"mattermost/platform","owner":{"login":"mattermost","id":9828093,"avatar_url":"https://avatars.githubusercontent.com/u/9828093?v=3","gravatar_id":"","url":"https://api.github.com/users/mattermost","html_url":"https://github.com/mattermost","followers_url":"https://api.github.com/users/mattermost/followers","following_url":"https://api.github.com/users/mattermost/following{/other_user}","gists_url":"https://api.github.com/users/mattermost/gists{/gist_id}","starred_url":"https://api.github.com/users/mattermost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattermost/subscriptions","organizations_url":"https://api.github.com/users/mattermost/orgs","repos_url":"https://api.github.com/users/mattermost/repos","events_url":"https://api.github.com/users/mattermost/events{/privacy}","received_events_url":"https://api.github.com/users/mattermost/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mattermost/platform","description":"Open source Slack-alternative in Golang and React","fork":false,"url":"https://api.github.com/repos/mattermost/platform","forks_url":"https://api.github.com/repos/mattermost/platform/forks","keys_url":"https://api.github.com/repos/mattermost/platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mattermost/platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mattermost/platform/teams","hooks_url":"https://api.github.com/repos/mattermost/platform/hooks","issue_events_url":"https://api.github.com/repos/mattermost/platform/issues/events{/number}","events_url":"https://api.github.com/repos/mattermost/platform/events","assignees_url":"https://api.github.com/repos/mattermost/platform/assignees{/user}","branches_url":"https://api.github.com/repos/mattermost/platform/branches{/branch}","tags_url":"https://api.github.com/repos/mattermost/platform/tags","blobs_url":"https://api.github.com/repos/mattermost/platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mattermost/platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mattermost/platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/mattermost/platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mattermost/platform/statuses/{sha}","languages_url":"https://api.github.com/repos/mattermost/platform/languages","stargazers_url":"https://api.github.com/repos/mattermost/platform/stargazers","contributors_url":"https://api.github.com/repos/mattermost/platform/contributors","subscribers_url":"https://api.github.com/repos/mattermost/platform/subscribers","subscription_url":"https://api.github.com/repos/mattermost/platform/subscription","commits_url":"https://api.github.com/repos/mattermost/platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/mattermost/platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/mattermost/platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/mattermost/platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/mattermost/platform/contents/{+path}","compare_url":"https://api.github.com/repos/mattermost/platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mattermost/platform/merges","archive_url":"https://api.github.com/repos/mattermost/platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mattermost/platform/downloads","issues_url":"https://api.github.com/repos/mattermost/platform/issues{/number}","pulls_url":"https://api.github.com/repos/mattermost/platform/pulls{/number}","milestones_url":"https://api.github.com/repos/mattermost/platform/milestones{/number}","notifications_url":"https://api.github.com/repos/mattermost/platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mattermost/platform/labels{/name}","releases_url":"https://api.github.com/repos/mattermost/platform/releases{/id}","created_at":"2015-06-15T06:50:02Z","updated_at":"2015-07-31T03:37:09Z","pushed_at":"2015-07-31T13:16:08Z","git_url":"git://github.com/mattermost/platform.git","ssh_url":"git@github.com:mattermost/platform.git","clone_url":"https://github.com/mattermost/platform.git","svn_url":"https://github.com/mattermost/platform","homepage":"http://mattermost.org","size":8133,"stargazers_count":2429,"watchers_count":2429,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":188,"mirror_url":null,"open_issues_count":19,"forks":188,"open_issues":19,"watchers":2429,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mattermost/platform/pulls/297"},"html":{"href":"https://github.com/mattermost/platform/pull/297"},"issue":{"href":"https://api.github.com/repos/mattermost/platform/issues/297"},"comments":{"href":"https://api.github.com/repos/mattermost/platform/issues/297/comments"},"review_comments":{"href":"https://api.github.com/repos/mattermost/platform/pulls/297/comments"},"review_comment":{"href":"https://api.github.com/repos/mattermost/platform/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mattermost/platform/pulls/297/commits"},"statuses":{"href":"https://api.github.com/repos/mattermost/platform/statuses/7e6f380afa8b8f7007404c89463eb978eadeb63e"}}}}