{"action":"created","comment":{"url":"https://api.github.com/repos/lanmomo/lanmomo-website/pulls/comments/41924907","id":41924907,"diff_hunk":"@@ -200,6 +216,38 @@ app.controller('TournamentsController', function($scope, $http, $location) {\n     }\n   };\n \n+  $scope.deleteTeamUser = function(id, index) {\n+    if (confirm('Êtes vous certain de vouloir supprimer cette personne ?')) {\n+      $http.delete('/api/team_users/' + id)\n+        .success(function(data) {\n+          $scope.team_users.splice(index, 1);\n+        })\n+        .error(function(err, status) {\n+          $scope.error = {message: err.error, status: status};","path":"public/app.js","position":41,"original_position":41,"commit_id":"8723993a0bde4262025ec1366a4c4ef025a23517","original_commit_id":"8723993a0bde4262025ec1366a4c4ef025a23517","user":{"login":"jdupl","id":4731264,"avatar_url":"https://avatars.githubusercontent.com/u/4731264?v=3","gravatar_id":"","url":"https://api.github.com/users/jdupl","html_url":"https://github.com/jdupl","followers_url":"https://api.github.com/users/jdupl/followers","following_url":"https://api.github.com/users/jdupl/following{/other_user}","gists_url":"https://api.github.com/users/jdupl/gists{/gist_id}","starred_url":"https://api.github.com/users/jdupl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdupl/subscriptions","organizations_url":"https://api.github.com/users/jdupl/orgs","repos_url":"https://api.github.com/users/jdupl/repos","events_url":"https://api.github.com/users/jdupl/events{/privacy}","received_events_url":"https://api.github.com/users/jdupl/received_events","type":"User","site_admin":false},"body":"err.message partout maintenant","created_at":"2015-10-13T21:03:36Z","updated_at":"2015-10-13T21:03:36Z","html_url":"https://github.com/lanmomo/lanmomo-website/pull/224#discussion_r41924907","pull_request_url":"https://api.github.com/repos/lanmomo/lanmomo-website/pulls/224","_links":{"self":{"href":"https://api.github.com/repos/lanmomo/lanmomo-website/pulls/comments/41924907"},"html":{"href":"https://github.com/lanmomo/lanmomo-website/pull/224#discussion_r41924907"},"pull_request":{"href":"https://api.github.com/repos/lanmomo/lanmomo-website/pulls/224"}}},"pull_request":{"url":"https://api.github.com/repos/lanmomo/lanmomo-website/pulls/224","id":47586775,"html_url":"https://github.com/lanmomo/lanmomo-website/pull/224","diff_url":"https://github.com/lanmomo/lanmomo-website/pull/224.diff","patch_url":"https://github.com/lanmomo/lanmomo-website/pull/224.patch","issue_url":"https://api.github.com/repos/lanmomo/lanmomo-website/issues/224","number":224,"state":"open","locked":false,"title":"Tournament","user":{"login":"Kiniamaro","id":3664099,"avatar_url":"https://avatars.githubusercontent.com/u/3664099?v=3","gravatar_id":"","url":"https://api.github.com/users/Kiniamaro","html_url":"https://github.com/Kiniamaro","followers_url":"https://api.github.com/users/Kiniamaro/followers","following_url":"https://api.github.com/users/Kiniamaro/following{/other_user}","gists_url":"https://api.github.com/users/Kiniamaro/gists{/gist_id}","starred_url":"https://api.github.com/users/Kiniamaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kiniamaro/subscriptions","organizations_url":"https://api.github.com/users/Kiniamaro/orgs","repos_url":"https://api.github.com/users/Kiniamaro/repos","events_url":"https://api.github.com/users/Kiniamaro/events{/privacy}","received_events_url":"https://api.github.com/users/Kiniamaro/received_events","type":"User","site_admin":false},"body":"![awftsgb](https://cloud.githubusercontent.com/assets/3664099/10467985/8c610ecc-71ca-11e5-8e3a-25d4f8dd0bfd.png)\r\n![wzme6us](https://cloud.githubusercontent.com/assets/3664099/10467986/8c655ca2-71ca-11e5-9194-56fda419cbf8.png)\r\n\r\n* captain can kick users from their teams\r\n* users can now join a team if they own a ticket\r\n* changed frontend for 1 player teams tournament (smash, HS)","created_at":"2015-10-13T20:52:17Z","updated_at":"2015-10-13T21:03:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b42baa664c46a8c71d54a0762654d6b545ab2963","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lanmomo/lanmomo-website/pulls/224/commits","review_comments_url":"https://api.github.com/repos/lanmomo/lanmomo-website/pulls/224/comments","review_comment_url":"https://api.github.com/repos/lanmomo/lanmomo-website/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lanmomo/lanmomo-website/issues/224/comments","statuses_url":"https://api.github.com/repos/lanmomo/lanmomo-website/statuses/8723993a0bde4262025ec1366a4c4ef025a23517","head":{"label":"lanmomo:tournament","ref":"tournament","sha":"8723993a0bde4262025ec1366a4c4ef025a23517","user":{"login":"lanmomo","id":10793269,"avatar_url":"https://avatars.githubusercontent.com/u/10793269?v=3","gravatar_id":"","url":"https://api.github.com/users/lanmomo","html_url":"https://github.com/lanmomo","followers_url":"https://api.github.com/users/lanmomo/followers","following_url":"https://api.github.com/users/lanmomo/following{/other_user}","gists_url":"https://api.github.com/users/lanmomo/gists{/gist_id}","starred_url":"https://api.github.com/users/lanmomo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lanmomo/subscriptions","organizations_url":"https://api.github.com/users/lanmomo/orgs","repos_url":"https://api.github.com/users/lanmomo/repos","events_url":"https://api.github.com/users/lanmomo/events{/privacy}","received_events_url":"https://api.github.com/users/lanmomo/received_events","type":"Organization","site_admin":false},"repo":{"id":30136445,"name":"lanmomo-website","full_name":"lanmomo/lanmomo-website","owner":{"login":"lanmomo","id":10793269,"avatar_url":"https://avatars.githubusercontent.com/u/10793269?v=3","gravatar_id":"","url":"https://api.github.com/users/lanmomo","html_url":"https://github.com/lanmomo","followers_url":"https://api.github.com/users/lanmomo/followers","following_url":"https://api.github.com/users/lanmomo/following{/other_user}","gists_url":"https://api.github.com/users/lanmomo/gists{/gist_id}","starred_url":"https://api.github.com/users/lanmomo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lanmomo/subscriptions","organizations_url":"https://api.github.com/users/lanmomo/orgs","repos_url":"https://api.github.com/users/lanmomo/repos","events_url":"https://api.github.com/users/lanmomo/events{/privacy}","received_events_url":"https://api.github.com/users/lanmomo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lanmomo/lanmomo-website","description":"Website for LAN Montmorency.","fork":false,"url":"https://api.github.com/repos/lanmomo/lanmomo-website","forks_url":"https://api.github.com/repos/lanmomo/lanmomo-website/forks","keys_url":"https://api.github.com/repos/lanmomo/lanmomo-website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lanmomo/lanmomo-website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lanmomo/lanmomo-website/teams","hooks_url":"https://api.github.com/repos/lanmomo/lanmomo-website/hooks","issue_events_url":"https://api.github.com/repos/lanmomo/lanmomo-website/issues/events{/number}","events_url":"https://api.github.com/repos/lanmomo/lanmomo-website/events","assignees_url":"https://api.github.com/repos/lanmomo/lanmomo-website/assignees{/user}","branches_url":"https://api.github.com/repos/lanmomo/lanmomo-website/branches{/branch}","tags_url":"https://api.github.com/repos/lanmomo/lanmomo-website/tags","blobs_url":"https://api.github.com/repos/lanmomo/lanmomo-website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lanmomo/lanmomo-website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lanmomo/lanmomo-website/git/refs{/sha}","trees_url":"https://api.github.com/repos/lanmomo/lanmomo-website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lanmomo/lanmomo-website/statuses/{sha}","languages_url":"https://api.github.com/repos/lanmomo/lanmomo-website/languages","stargazers_url":"https://api.github.com/repos/lanmomo/lanmomo-website/stargazers","contributors_url":"https://api.github.com/repos/lanmomo/lanmomo-website/contributors","subscribers_url":"https://api.github.com/repos/lanmomo/lanmomo-website/subscribers","subscription_url":"https://api.github.com/repos/lanmomo/lanmomo-website/subscription","commits_url":"https://api.github.com/repos/lanmomo/lanmomo-website/commits{/sha}","git_commits_url":"https://api.github.com/repos/lanmomo/lanmomo-website/git/commits{/sha}","comments_url":"https://api.github.com/repos/lanmomo/lanmomo-website/comments{/number}","issue_comment_url":"https://api.github.com/repos/lanmomo/lanmomo-website/issues/comments{/number}","contents_url":"https://api.github.com/repos/lanmomo/lanmomo-website/contents/{+path}","compare_url":"https://api.github.com/repos/lanmomo/lanmomo-website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lanmomo/lanmomo-website/merges","archive_url":"https://api.github.com/repos/lanmomo/lanmomo-website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lanmomo/lanmomo-website/downloads","issues_url":"https://api.github.com/repos/lanmomo/lanmomo-website/issues{/number}","pulls_url":"https://api.github.com/repos/lanmomo/lanmomo-website/pulls{/number}","milestones_url":"https://api.github.com/repos/lanmomo/lanmomo-website/milestones{/number}","notifications_url":"https://api.github.com/repos/lanmomo/lanmomo-website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lanmomo/lanmomo-website/labels{/name}","releases_url":"https://api.github.com/repos/lanmomo/lanmomo-website/releases{/id}","created_at":"2015-02-01T04:41:26Z","updated_at":"2015-04-17T01:43:09Z","pushed_at":"2015-10-13T20:52:17Z","git_url":"git://github.com/lanmomo/lanmomo-website.git","ssh_url":"git@github.com:lanmomo/lanmomo-website.git","clone_url":"https://github.com/lanmomo/lanmomo-website.git","svn_url":"https://github.com/lanmomo/lanmomo-website","homepage":"https://lanmomo.ca/","size":6338,"stargazers_count":2,"watchers_count":2,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":10,"forks":6,"open_issues":10,"watchers":2,"default_branch":"master"}},"base":{"label":"lanmomo:master","ref":"master","sha":"f9e89c43cbe5c7b73334b49adf55f4ca4a6ee5a3","user":{"login":"lanmomo","id":10793269,"avatar_url":"https://avatars.githubusercontent.com/u/10793269?v=3","gravatar_id":"","url":"https://api.github.com/users/lanmomo","html_url":"https://github.com/lanmomo","followers_url":"https://api.github.com/users/lanmomo/followers","following_url":"https://api.github.com/users/lanmomo/following{/other_user}","gists_url":"https://api.github.com/users/lanmomo/gists{/gist_id}","starred_url":"https://api.github.com/users/lanmomo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lanmomo/subscriptions","organizations_url":"https://api.github.com/users/lanmomo/orgs","repos_url":"https://api.github.com/users/lanmomo/repos","events_url":"https://api.github.com/users/lanmomo/events{/privacy}","received_events_url":"https://api.github.com/users/lanmomo/received_events","type":"Organization","site_admin":false},"repo":{"id":30136445,"name":"lanmomo-website","full_name":"lanmomo/lanmomo-website","owner":{"login":"lanmomo","id":10793269,"avatar_url":"https://avatars.githubusercontent.com/u/10793269?v=3","gravatar_id":"","url":"https://api.github.com/users/lanmomo","html_url":"https://github.com/lanmomo","followers_url":"https://api.github.com/users/lanmomo/followers","following_url":"https://api.github.com/users/lanmomo/following{/other_user}","gists_url":"https://api.github.com/users/lanmomo/gists{/gist_id}","starred_url":"https://api.github.com/users/lanmomo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lanmomo/subscriptions","organizations_url":"https://api.github.com/users/lanmomo/orgs","repos_url":"https://api.github.com/users/lanmomo/repos","events_url":"https://api.github.com/users/lanmomo/events{/privacy}","received_events_url":"https://api.github.com/users/lanmomo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lanmomo/lanmomo-website","description":"Website for LAN Montmorency.","fork":false,"url":"https://api.github.com/repos/lanmomo/lanmomo-website","forks_url":"https://api.github.com/repos/lanmomo/lanmomo-website/forks","keys_url":"https://api.github.com/repos/lanmomo/lanmomo-website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lanmomo/lanmomo-website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lanmomo/lanmomo-website/teams","hooks_url":"https://api.github.com/repos/lanmomo/lanmomo-website/hooks","issue_events_url":"https://api.github.com/repos/lanmomo/lanmomo-website/issues/events{/number}","events_url":"https://api.github.com/repos/lanmomo/lanmomo-website/events","assignees_url":"https://api.github.com/repos/lanmomo/lanmomo-website/assignees{/user}","branches_url":"https://api.github.com/repos/lanmomo/lanmomo-website/branches{/branch}","tags_url":"https://api.github.com/repos/lanmomo/lanmomo-website/tags","blobs_url":"https://api.github.com/repos/lanmomo/lanmomo-website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lanmomo/lanmomo-website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lanmomo/lanmomo-website/git/refs{/sha}","trees_url":"https://api.github.com/repos/lanmomo/lanmomo-website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lanmomo/lanmomo-website/statuses/{sha}","languages_url":"https://api.github.com/repos/lanmomo/lanmomo-website/languages","stargazers_url":"https://api.github.com/repos/lanmomo/lanmomo-website/stargazers","contributors_url":"https://api.github.com/repos/lanmomo/lanmomo-website/contributors","subscribers_url":"https://api.github.com/repos/lanmomo/lanmomo-website/subscribers","subscription_url":"https://api.github.com/repos/lanmomo/lanmomo-website/subscription","commits_url":"https://api.github.com/repos/lanmomo/lanmomo-website/commits{/sha}","git_commits_url":"https://api.github.com/repos/lanmomo/lanmomo-website/git/commits{/sha}","comments_url":"https://api.github.com/repos/lanmomo/lanmomo-website/comments{/number}","issue_comment_url":"https://api.github.com/repos/lanmomo/lanmomo-website/issues/comments{/number}","contents_url":"https://api.github.com/repos/lanmomo/lanmomo-website/contents/{+path}","compare_url":"https://api.github.com/repos/lanmomo/lanmomo-website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lanmomo/lanmomo-website/merges","archive_url":"https://api.github.com/repos/lanmomo/lanmomo-website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lanmomo/lanmomo-website/downloads","issues_url":"https://api.github.com/repos/lanmomo/lanmomo-website/issues{/number}","pulls_url":"https://api.github.com/repos/lanmomo/lanmomo-website/pulls{/number}","milestones_url":"https://api.github.com/repos/lanmomo/lanmomo-website/milestones{/number}","notifications_url":"https://api.github.com/repos/lanmomo/lanmomo-website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lanmomo/lanmomo-website/labels{/name}","releases_url":"https://api.github.com/repos/lanmomo/lanmomo-website/releases{/id}","created_at":"2015-02-01T04:41:26Z","updated_at":"2015-04-17T01:43:09Z","pushed_at":"2015-10-13T20:52:17Z","git_url":"git://github.com/lanmomo/lanmomo-website.git","ssh_url":"git@github.com:lanmomo/lanmomo-website.git","clone_url":"https://github.com/lanmomo/lanmomo-website.git","svn_url":"https://github.com/lanmomo/lanmomo-website","homepage":"https://lanmomo.ca/","size":6338,"stargazers_count":2,"watchers_count":2,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":10,"forks":6,"open_issues":10,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lanmomo/lanmomo-website/pulls/224"},"html":{"href":"https://github.com/lanmomo/lanmomo-website/pull/224"},"issue":{"href":"https://api.github.com/repos/lanmomo/lanmomo-website/issues/224"},"comments":{"href":"https://api.github.com/repos/lanmomo/lanmomo-website/issues/224/comments"},"review_comments":{"href":"https://api.github.com/repos/lanmomo/lanmomo-website/pulls/224/comments"},"review_comment":{"href":"https://api.github.com/repos/lanmomo/lanmomo-website/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lanmomo/lanmomo-website/pulls/224/commits"},"statuses":{"href":"https://api.github.com/repos/lanmomo/lanmomo-website/statuses/8723993a0bde4262025ec1366a4c4ef025a23517"}}}}