{"action":"created","comment":{"url":"https://api.github.com/repos/rosedu/wouso/pulls/comments/40703909","id":40703909,"diff_hunk":"@@ -22,45 +22,160 @@\n {% endblock %}\n \n {% block sectioncontent %}\n-<ul>\n-    {% for r in races %}\n-    <li>\n-        {{ r }} {% if r.can_play %}[can play]{% endif %}\n-        <a href=\"{% url admin:user_race_change r.id %}\"\n-            style=\"color: green\" title=\"Edit\">\n-            <span class=\"glyphicon glyphicon-edit\"></span>\n-        </a>\n-        <ul>\n-            {% for g in r.children %}\n-            <li>\n-\t        {{ g.name}} {{ g }}\n-                <a href=\"{% url admin:user_playergroup_change g.id %}\"\n-                   style=\"color: green\" title=\"Edit\">\n-                    <span class=\"glyphicon glyphicon-edit\"></span>\n+<div style=\"text-align: right;\">\n+    <button class=\"btn btn-sm btn-default\" style=\"margin-bottom: 10px;\" id=\"toggle_groups\" data-show=\"1\">\n+        Show all groups\n+    </button>\n+</div>\n+\n+<table class=\"table table-hover table-bordered table-condensed\">\n+    <thead>\n+        <th>#</th>\n+        <th>Name</th>\n+        <th>Title</th>\n+        <th>Can play</th>\n+        <th style=\"width: 250px;\">Actions</th>\n+    </thead>\n+    <tbody>\n+        {% for r in races %}\n+        <tr>\n+            <td style=\"font-weight: bold;\">{{ forloop.counter0 }}</td>\n+            <td>{{ r.name }}</td>\n+            <td>{{ r.title }}</td>\n+            <td>\n+                {% if r.can_play %}\n+                    <h3 style=\"margin: 0px;\"><span class=\"label label-success label-sm\">can play</span></h3>","path":"wouso/resources/templates/cpanel/races/all.html","position":41,"original_position":41,"commit_id":"7ee15d77b5ba13ee56ab025d646e58577beb8de1","original_commit_id":"7ee15d77b5ba13ee56ab025d646e58577beb8de1","user":{"login":"iulianR","id":6775259,"avatar_url":"https://avatars.githubusercontent.com/u/6775259?v=3","gravatar_id":"","url":"https://api.github.com/users/iulianR","html_url":"https://github.com/iulianR","followers_url":"https://api.github.com/users/iulianR/followers","following_url":"https://api.github.com/users/iulianR/following{/other_user}","gists_url":"https://api.github.com/users/iulianR/gists{/gist_id}","starred_url":"https://api.github.com/users/iulianR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iulianR/subscriptions","organizations_url":"https://api.github.com/users/iulianR/orgs","repos_url":"https://api.github.com/users/iulianR/repos","events_url":"https://api.github.com/users/iulianR/events{/privacy}","received_events_url":"https://api.github.com/users/iulianR/received_events","type":"User","site_admin":false},"body":"Use a {% trans ' ' %} tag","created_at":"2015-09-29T17:48:11Z","updated_at":"2015-09-29T17:48:11Z","html_url":"https://github.com/rosedu/wouso/pull/754#discussion_r40703909","pull_request_url":"https://api.github.com/repos/rosedu/wouso/pulls/754","_links":{"self":{"href":"https://api.github.com/repos/rosedu/wouso/pulls/comments/40703909"},"html":{"href":"https://github.com/rosedu/wouso/pull/754#discussion_r40703909"},"pull_request":{"href":"https://api.github.com/repos/rosedu/wouso/pulls/754"}}},"pull_request":{"url":"https://api.github.com/repos/rosedu/wouso/pulls/754","id":46264805,"html_url":"https://github.com/rosedu/wouso/pull/754","diff_url":"https://github.com/rosedu/wouso/pull/754.diff","patch_url":"https://github.com/rosedu/wouso/pull/754.patch","issue_url":"https://api.github.com/repos/rosedu/wouso/issues/754","number":754,"state":"open","locked":false,"title":"Change races / groups display mode","user":{"login":"catalin-oancea","id":5922819,"avatar_url":"https://avatars.githubusercontent.com/u/5922819?v=3","gravatar_id":"","url":"https://api.github.com/users/catalin-oancea","html_url":"https://github.com/catalin-oancea","followers_url":"https://api.github.com/users/catalin-oancea/followers","following_url":"https://api.github.com/users/catalin-oancea/following{/other_user}","gists_url":"https://api.github.com/users/catalin-oancea/gists{/gist_id}","starred_url":"https://api.github.com/users/catalin-oancea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catalin-oancea/subscriptions","organizations_url":"https://api.github.com/users/catalin-oancea/orgs","repos_url":"https://api.github.com/users/catalin-oancea/repos","events_url":"https://api.github.com/users/catalin-oancea/events{/privacy}","received_events_url":"https://api.github.com/users/catalin-oancea/received_events","type":"User","site_admin":false},"body":"Visually redesign groups page.","created_at":"2015-09-29T11:22:09Z","updated_at":"2015-09-29T17:48:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"70a51e3ffbee4f021bdd80ba2d81647fa03bed7c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rosedu/wouso/pulls/754/commits","review_comments_url":"https://api.github.com/repos/rosedu/wouso/pulls/754/comments","review_comment_url":"https://api.github.com/repos/rosedu/wouso/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rosedu/wouso/issues/754/comments","statuses_url":"https://api.github.com/repos/rosedu/wouso/statuses/7ee15d77b5ba13ee56ab025d646e58577beb8de1","head":{"label":"catalin-oancea:groups_ui","ref":"groups_ui","sha":"7ee15d77b5ba13ee56ab025d646e58577beb8de1","user":{"login":"catalin-oancea","id":5922819,"avatar_url":"https://avatars.githubusercontent.com/u/5922819?v=3","gravatar_id":"","url":"https://api.github.com/users/catalin-oancea","html_url":"https://github.com/catalin-oancea","followers_url":"https://api.github.com/users/catalin-oancea/followers","following_url":"https://api.github.com/users/catalin-oancea/following{/other_user}","gists_url":"https://api.github.com/users/catalin-oancea/gists{/gist_id}","starred_url":"https://api.github.com/users/catalin-oancea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catalin-oancea/subscriptions","organizations_url":"https://api.github.com/users/catalin-oancea/orgs","repos_url":"https://api.github.com/users/catalin-oancea/repos","events_url":"https://api.github.com/users/catalin-oancea/events{/privacy}","received_events_url":"https://api.github.com/users/catalin-oancea/received_events","type":"User","site_admin":false},"repo":{"id":41813013,"name":"wouso","full_name":"catalin-oancea/wouso","owner":{"login":"catalin-oancea","id":5922819,"avatar_url":"https://avatars.githubusercontent.com/u/5922819?v=3","gravatar_id":"","url":"https://api.github.com/users/catalin-oancea","html_url":"https://github.com/catalin-oancea","followers_url":"https://api.github.com/users/catalin-oancea/followers","following_url":"https://api.github.com/users/catalin-oancea/following{/other_user}","gists_url":"https://api.github.com/users/catalin-oancea/gists{/gist_id}","starred_url":"https://api.github.com/users/catalin-oancea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catalin-oancea/subscriptions","organizations_url":"https://api.github.com/users/catalin-oancea/orgs","repos_url":"https://api.github.com/users/catalin-oancea/repos","events_url":"https://api.github.com/users/catalin-oancea/events{/privacy}","received_events_url":"https://api.github.com/users/catalin-oancea/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/catalin-oancea/wouso","description":"World of USO - the Official Repository","fork":true,"url":"https://api.github.com/repos/catalin-oancea/wouso","forks_url":"https://api.github.com/repos/catalin-oancea/wouso/forks","keys_url":"https://api.github.com/repos/catalin-oancea/wouso/keys{/key_id}","collaborators_url":"https://api.github.com/repos/catalin-oancea/wouso/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/catalin-oancea/wouso/teams","hooks_url":"https://api.github.com/repos/catalin-oancea/wouso/hooks","issue_events_url":"https://api.github.com/repos/catalin-oancea/wouso/issues/events{/number}","events_url":"https://api.github.com/repos/catalin-oancea/wouso/events","assignees_url":"https://api.github.com/repos/catalin-oancea/wouso/assignees{/user}","branches_url":"https://api.github.com/repos/catalin-oancea/wouso/branches{/branch}","tags_url":"https://api.github.com/repos/catalin-oancea/wouso/tags","blobs_url":"https://api.github.com/repos/catalin-oancea/wouso/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/catalin-oancea/wouso/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/catalin-oancea/wouso/git/refs{/sha}","trees_url":"https://api.github.com/repos/catalin-oancea/wouso/git/trees{/sha}","statuses_url":"https://api.github.com/repos/catalin-oancea/wouso/statuses/{sha}","languages_url":"https://api.github.com/repos/catalin-oancea/wouso/languages","stargazers_url":"https://api.github.com/repos/catalin-oancea/wouso/stargazers","contributors_url":"https://api.github.com/repos/catalin-oancea/wouso/contributors","subscribers_url":"https://api.github.com/repos/catalin-oancea/wouso/subscribers","subscription_url":"https://api.github.com/repos/catalin-oancea/wouso/subscription","commits_url":"https://api.github.com/repos/catalin-oancea/wouso/commits{/sha}","git_commits_url":"https://api.github.com/repos/catalin-oancea/wouso/git/commits{/sha}","comments_url":"https://api.github.com/repos/catalin-oancea/wouso/comments{/number}","issue_comment_url":"https://api.github.com/repos/catalin-oancea/wouso/issues/comments{/number}","contents_url":"https://api.github.com/repos/catalin-oancea/wouso/contents/{+path}","compare_url":"https://api.github.com/repos/catalin-oancea/wouso/compare/{base}...{head}","merges_url":"https://api.github.com/repos/catalin-oancea/wouso/merges","archive_url":"https://api.github.com/repos/catalin-oancea/wouso/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/catalin-oancea/wouso/downloads","issues_url":"https://api.github.com/repos/catalin-oancea/wouso/issues{/number}","pulls_url":"https://api.github.com/repos/catalin-oancea/wouso/pulls{/number}","milestones_url":"https://api.github.com/repos/catalin-oancea/wouso/milestones{/number}","notifications_url":"https://api.github.com/repos/catalin-oancea/wouso/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/catalin-oancea/wouso/labels{/name}","releases_url":"https://api.github.com/repos/catalin-oancea/wouso/releases{/id}","created_at":"2015-09-02T16:33:36Z","updated_at":"2015-09-02T16:33:37Z","pushed_at":"2015-09-29T15:40:34Z","git_url":"git://github.com/catalin-oancea/wouso.git","ssh_url":"git@github.com:catalin-oancea/wouso.git","clone_url":"https://github.com/catalin-oancea/wouso.git","svn_url":"https://github.com/catalin-oancea/wouso","homepage":"http://wouso.rosedu.org","size":9015,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"rosedu:master","ref":"master","sha":"cafb276136c975d3e3a5805253d4c86dba60ceaf","user":{"login":"rosedu","id":1232963,"avatar_url":"https://avatars.githubusercontent.com/u/1232963?v=3","gravatar_id":"","url":"https://api.github.com/users/rosedu","html_url":"https://github.com/rosedu","followers_url":"https://api.github.com/users/rosedu/followers","following_url":"https://api.github.com/users/rosedu/following{/other_user}","gists_url":"https://api.github.com/users/rosedu/gists{/gist_id}","starred_url":"https://api.github.com/users/rosedu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosedu/subscriptions","organizations_url":"https://api.github.com/users/rosedu/orgs","repos_url":"https://api.github.com/users/rosedu/repos","events_url":"https://api.github.com/users/rosedu/events{/privacy}","received_events_url":"https://api.github.com/users/rosedu/received_events","type":"Organization","site_admin":false},"repo":{"id":2965476,"name":"wouso","full_name":"rosedu/wouso","owner":{"login":"rosedu","id":1232963,"avatar_url":"https://avatars.githubusercontent.com/u/1232963?v=3","gravatar_id":"","url":"https://api.github.com/users/rosedu","html_url":"https://github.com/rosedu","followers_url":"https://api.github.com/users/rosedu/followers","following_url":"https://api.github.com/users/rosedu/following{/other_user}","gists_url":"https://api.github.com/users/rosedu/gists{/gist_id}","starred_url":"https://api.github.com/users/rosedu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosedu/subscriptions","organizations_url":"https://api.github.com/users/rosedu/orgs","repos_url":"https://api.github.com/users/rosedu/repos","events_url":"https://api.github.com/users/rosedu/events{/privacy}","received_events_url":"https://api.github.com/users/rosedu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rosedu/wouso","description":"World of USO - the Official Repository","fork":false,"url":"https://api.github.com/repos/rosedu/wouso","forks_url":"https://api.github.com/repos/rosedu/wouso/forks","keys_url":"https://api.github.com/repos/rosedu/wouso/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rosedu/wouso/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rosedu/wouso/teams","hooks_url":"https://api.github.com/repos/rosedu/wouso/hooks","issue_events_url":"https://api.github.com/repos/rosedu/wouso/issues/events{/number}","events_url":"https://api.github.com/repos/rosedu/wouso/events","assignees_url":"https://api.github.com/repos/rosedu/wouso/assignees{/user}","branches_url":"https://api.github.com/repos/rosedu/wouso/branches{/branch}","tags_url":"https://api.github.com/repos/rosedu/wouso/tags","blobs_url":"https://api.github.com/repos/rosedu/wouso/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rosedu/wouso/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rosedu/wouso/git/refs{/sha}","trees_url":"https://api.github.com/repos/rosedu/wouso/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rosedu/wouso/statuses/{sha}","languages_url":"https://api.github.com/repos/rosedu/wouso/languages","stargazers_url":"https://api.github.com/repos/rosedu/wouso/stargazers","contributors_url":"https://api.github.com/repos/rosedu/wouso/contributors","subscribers_url":"https://api.github.com/repos/rosedu/wouso/subscribers","subscription_url":"https://api.github.com/repos/rosedu/wouso/subscription","commits_url":"https://api.github.com/repos/rosedu/wouso/commits{/sha}","git_commits_url":"https://api.github.com/repos/rosedu/wouso/git/commits{/sha}","comments_url":"https://api.github.com/repos/rosedu/wouso/comments{/number}","issue_comment_url":"https://api.github.com/repos/rosedu/wouso/issues/comments{/number}","contents_url":"https://api.github.com/repos/rosedu/wouso/contents/{+path}","compare_url":"https://api.github.com/repos/rosedu/wouso/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rosedu/wouso/merges","archive_url":"https://api.github.com/repos/rosedu/wouso/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rosedu/wouso/downloads","issues_url":"https://api.github.com/repos/rosedu/wouso/issues{/number}","pulls_url":"https://api.github.com/repos/rosedu/wouso/pulls{/number}","milestones_url":"https://api.github.com/repos/rosedu/wouso/milestones{/number}","notifications_url":"https://api.github.com/repos/rosedu/wouso/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rosedu/wouso/labels{/name}","releases_url":"https://api.github.com/repos/rosedu/wouso/releases{/id}","created_at":"2011-12-12T16:15:01Z","updated_at":"2015-09-26T07:31:08Z","pushed_at":"2015-09-29T15:40:35Z","git_url":"git://github.com/rosedu/wouso.git","ssh_url":"git@github.com:rosedu/wouso.git","clone_url":"https://github.com/rosedu/wouso.git","svn_url":"https://github.com/rosedu/wouso","homepage":"http://wouso.rosedu.org","size":11898,"stargazers_count":111,"watchers_count":111,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":96,"mirror_url":null,"open_issues_count":128,"forks":96,"open_issues":128,"watchers":111,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rosedu/wouso/pulls/754"},"html":{"href":"https://github.com/rosedu/wouso/pull/754"},"issue":{"href":"https://api.github.com/repos/rosedu/wouso/issues/754"},"comments":{"href":"https://api.github.com/repos/rosedu/wouso/issues/754/comments"},"review_comments":{"href":"https://api.github.com/repos/rosedu/wouso/pulls/754/comments"},"review_comment":{"href":"https://api.github.com/repos/rosedu/wouso/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rosedu/wouso/pulls/754/commits"},"statuses":{"href":"https://api.github.com/repos/rosedu/wouso/statuses/7ee15d77b5ba13ee56ab025d646e58577beb8de1"}}}}