{"action":"created","comment":{"url":"https://api.github.com/repos/aptivate/econsensus/pulls/comments/30402757","id":30402757,"diff_hunk":"@@ -66,8 +66,9 @@\n                             {% if tab != 'actionitems' %}\n                                 <td class=\"id\"><a href=\"{% url 'publicweb_item_detail' object.id %}\"><span class=\"iconified\">{{ object.id }}</span></a></td>\n                                 <td>\n-                                    <a href=\"{% if request.user|is_watching:object %}{% url 'remove_watcher' object.id %}{% else %}{% url 'add_watcher' object.id %}{% endif %}?next={{ request.path_info }}\">\n-                                        <input type=\"checkbox\"{% if request.user|is_watching:object %} checked=\"True\"{% endif %} />\n+                                    <a class='toggle watch'\n+                                       href=\"{% if request.user|is_watching:object %}{% url 'remove_watcher' object.id %}{% else %}{% url 'add_watcher' object.id %}{% endif %}?next={{ request.path_info }}\">\n+                                        {% if request.user|is_watching:object %}&#x2611;{% else %}&#x2610;{% endif %}","path":"django/econsensus/publicweb/templates/decision_list.html","position":8,"original_position":8,"commit_id":"fb99fdf0fc7464e0a4a8b03a6a8c6472e0afb27f","original_commit_id":"fb99fdf0fc7464e0a4a8b03a6a8c6472e0afb27f","user":{"login":"aliceh75","id":5604799,"avatar_url":"https://avatars.githubusercontent.com/u/5604799?v=3","gravatar_id":"","url":"https://api.github.com/users/aliceh75","html_url":"https://github.com/aliceh75","followers_url":"https://api.github.com/users/aliceh75/followers","following_url":"https://api.github.com/users/aliceh75/following{/other_user}","gists_url":"https://api.github.com/users/aliceh75/gists{/gist_id}","starred_url":"https://api.github.com/users/aliceh75/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aliceh75/subscriptions","organizations_url":"https://api.github.com/users/aliceh75/orgs","repos_url":"https://api.github.com/users/aliceh75/repos","events_url":"https://api.github.com/users/aliceh75/events{/privacy}","received_events_url":"https://api.github.com/users/aliceh75/received_events","type":"User","site_admin":false},"body":"An alternative approach would be to replace the utf8 tickbox with an image with an 'alt' attribute, as this would be read by screen readers. Cleaner than the option above, though it uses more bandwidth.","created_at":"2015-05-15T11:52:48Z","updated_at":"2015-05-15T11:52:48Z","html_url":"https://github.com/aptivate/econsensus/pull/227#discussion_r30402757","pull_request_url":"https://api.github.com/repos/aptivate/econsensus/pulls/227","_links":{"self":{"href":"https://api.github.com/repos/aptivate/econsensus/pulls/comments/30402757"},"html":{"href":"https://github.com/aptivate/econsensus/pull/227#discussion_r30402757"},"pull_request":{"href":"https://api.github.com/repos/aptivate/econsensus/pulls/227"}}},"pull_request":{"url":"https://api.github.com/repos/aptivate/econsensus/pulls/227","id":35346724,"html_url":"https://github.com/aptivate/econsensus/pull/227","diff_url":"https://github.com/aptivate/econsensus/pull/227.diff","patch_url":"https://github.com/aptivate/econsensus/pull/227.patch","issue_url":"https://api.github.com/repos/aptivate/econsensus/issues/227","number":227,"state":"open","locked":false,"title":"Watch tickbox","user":{"login":"aliceh75","id":5604799,"avatar_url":"https://avatars.githubusercontent.com/u/5604799?v=3","gravatar_id":"","url":"https://api.github.com/users/aliceh75","html_url":"https://github.com/aliceh75","followers_url":"https://api.github.com/users/aliceh75/followers","following_url":"https://api.github.com/users/aliceh75/following{/other_user}","gists_url":"https://api.github.com/users/aliceh75/gists{/gist_id}","starred_url":"https://api.github.com/users/aliceh75/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aliceh75/subscriptions","organizations_url":"https://api.github.com/users/aliceh75/orgs","repos_url":"https://api.github.com/users/aliceh75/repos","events_url":"https://api.github.com/users/aliceh75/events{/privacy}","received_events_url":"https://api.github.com/users/aliceh75/received_events","type":"User","site_admin":false},"body":"- Add a watch tickbox on the detail page;\r\n- Use an html entity for the tickbox rather than an input tag, as the latter approach fails on some browsers (at least in chromium)\r\n- Stop the tickbox in the list table cell from expending it's clickable area to the whole cell.","created_at":"2015-05-13T16:44:44Z","updated_at":"2015-05-15T11:52:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e07d8b45ac06055d5e26263dd9e1b05c75255d99","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/aptivate/econsensus/pulls/227/commits","review_comments_url":"https://api.github.com/repos/aptivate/econsensus/pulls/227/comments","review_comment_url":"https://api.github.com/repos/aptivate/econsensus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aptivate/econsensus/issues/227/comments","statuses_url":"https://api.github.com/repos/aptivate/econsensus/statuses/fb99fdf0fc7464e0a4a8b03a6a8c6472e0afb27f","head":{"label":"aliceh75:add_watch_tickbox_to_detail_page","ref":"add_watch_tickbox_to_detail_page","sha":"fb99fdf0fc7464e0a4a8b03a6a8c6472e0afb27f","user":{"login":"aliceh75","id":5604799,"avatar_url":"https://avatars.githubusercontent.com/u/5604799?v=3","gravatar_id":"","url":"https://api.github.com/users/aliceh75","html_url":"https://github.com/aliceh75","followers_url":"https://api.github.com/users/aliceh75/followers","following_url":"https://api.github.com/users/aliceh75/following{/other_user}","gists_url":"https://api.github.com/users/aliceh75/gists{/gist_id}","starred_url":"https://api.github.com/users/aliceh75/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aliceh75/subscriptions","organizations_url":"https://api.github.com/users/aliceh75/orgs","repos_url":"https://api.github.com/users/aliceh75/repos","events_url":"https://api.github.com/users/aliceh75/events{/privacy}","received_events_url":"https://api.github.com/users/aliceh75/received_events","type":"User","site_admin":false},"repo":{"id":35419448,"name":"econsensus","full_name":"aliceh75/econsensus","owner":{"login":"aliceh75","id":5604799,"avatar_url":"https://avatars.githubusercontent.com/u/5604799?v=3","gravatar_id":"","url":"https://api.github.com/users/aliceh75","html_url":"https://github.com/aliceh75","followers_url":"https://api.github.com/users/aliceh75/followers","following_url":"https://api.github.com/users/aliceh75/following{/other_user}","gists_url":"https://api.github.com/users/aliceh75/gists{/gist_id}","starred_url":"https://api.github.com/users/aliceh75/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aliceh75/subscriptions","organizations_url":"https://api.github.com/users/aliceh75/orgs","repos_url":"https://api.github.com/users/aliceh75/repos","events_url":"https://api.github.com/users/aliceh75/events{/privacy}","received_events_url":"https://api.github.com/users/aliceh75/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aliceh75/econsensus","description":"Consensus decision-making tool","fork":true,"url":"https://api.github.com/repos/aliceh75/econsensus","forks_url":"https://api.github.com/repos/aliceh75/econsensus/forks","keys_url":"https://api.github.com/repos/aliceh75/econsensus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aliceh75/econsensus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aliceh75/econsensus/teams","hooks_url":"https://api.github.com/repos/aliceh75/econsensus/hooks","issue_events_url":"https://api.github.com/repos/aliceh75/econsensus/issues/events{/number}","events_url":"https://api.github.com/repos/aliceh75/econsensus/events","assignees_url":"https://api.github.com/repos/aliceh75/econsensus/assignees{/user}","branches_url":"https://api.github.com/repos/aliceh75/econsensus/branches{/branch}","tags_url":"https://api.github.com/repos/aliceh75/econsensus/tags","blobs_url":"https://api.github.com/repos/aliceh75/econsensus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aliceh75/econsensus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aliceh75/econsensus/git/refs{/sha}","trees_url":"https://api.github.com/repos/aliceh75/econsensus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aliceh75/econsensus/statuses/{sha}","languages_url":"https://api.github.com/repos/aliceh75/econsensus/languages","stargazers_url":"https://api.github.com/repos/aliceh75/econsensus/stargazers","contributors_url":"https://api.github.com/repos/aliceh75/econsensus/contributors","subscribers_url":"https://api.github.com/repos/aliceh75/econsensus/subscribers","subscription_url":"https://api.github.com/repos/aliceh75/econsensus/subscription","commits_url":"https://api.github.com/repos/aliceh75/econsensus/commits{/sha}","git_commits_url":"https://api.github.com/repos/aliceh75/econsensus/git/commits{/sha}","comments_url":"https://api.github.com/repos/aliceh75/econsensus/comments{/number}","issue_comment_url":"https://api.github.com/repos/aliceh75/econsensus/issues/comments{/number}","contents_url":"https://api.github.com/repos/aliceh75/econsensus/contents/{+path}","compare_url":"https://api.github.com/repos/aliceh75/econsensus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aliceh75/econsensus/merges","archive_url":"https://api.github.com/repos/aliceh75/econsensus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aliceh75/econsensus/downloads","issues_url":"https://api.github.com/repos/aliceh75/econsensus/issues{/number}","pulls_url":"https://api.github.com/repos/aliceh75/econsensus/pulls{/number}","milestones_url":"https://api.github.com/repos/aliceh75/econsensus/milestones{/number}","notifications_url":"https://api.github.com/repos/aliceh75/econsensus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aliceh75/econsensus/labels{/name}","releases_url":"https://api.github.com/repos/aliceh75/econsensus/releases{/id}","created_at":"2015-05-11T11:20:38Z","updated_at":"2015-05-11T11:20:39Z","pushed_at":"2015-05-13T16:41:03Z","git_url":"git://github.com/aliceh75/econsensus.git","ssh_url":"git@github.com:aliceh75/econsensus.git","clone_url":"https://github.com/aliceh75/econsensus.git","svn_url":"https://github.com/aliceh75/econsensus","homepage":"","size":4869,"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":"aptivate:develop","ref":"develop","sha":"12f346b0c05706d56bb2307d5c7ab5d74f85efe8","user":{"login":"aptivate","id":586395,"avatar_url":"https://avatars.githubusercontent.com/u/586395?v=3","gravatar_id":"","url":"https://api.github.com/users/aptivate","html_url":"https://github.com/aptivate","followers_url":"https://api.github.com/users/aptivate/followers","following_url":"https://api.github.com/users/aptivate/following{/other_user}","gists_url":"https://api.github.com/users/aptivate/gists{/gist_id}","starred_url":"https://api.github.com/users/aptivate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aptivate/subscriptions","organizations_url":"https://api.github.com/users/aptivate/orgs","repos_url":"https://api.github.com/users/aptivate/repos","events_url":"https://api.github.com/users/aptivate/events{/privacy}","received_events_url":"https://api.github.com/users/aptivate/received_events","type":"Organization","site_admin":false},"repo":{"id":1722606,"name":"econsensus","full_name":"aptivate/econsensus","owner":{"login":"aptivate","id":586395,"avatar_url":"https://avatars.githubusercontent.com/u/586395?v=3","gravatar_id":"","url":"https://api.github.com/users/aptivate","html_url":"https://github.com/aptivate","followers_url":"https://api.github.com/users/aptivate/followers","following_url":"https://api.github.com/users/aptivate/following{/other_user}","gists_url":"https://api.github.com/users/aptivate/gists{/gist_id}","starred_url":"https://api.github.com/users/aptivate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aptivate/subscriptions","organizations_url":"https://api.github.com/users/aptivate/orgs","repos_url":"https://api.github.com/users/aptivate/repos","events_url":"https://api.github.com/users/aptivate/events{/privacy}","received_events_url":"https://api.github.com/users/aptivate/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aptivate/econsensus","description":"Consensus decision-making tool","fork":false,"url":"https://api.github.com/repos/aptivate/econsensus","forks_url":"https://api.github.com/repos/aptivate/econsensus/forks","keys_url":"https://api.github.com/repos/aptivate/econsensus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aptivate/econsensus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aptivate/econsensus/teams","hooks_url":"https://api.github.com/repos/aptivate/econsensus/hooks","issue_events_url":"https://api.github.com/repos/aptivate/econsensus/issues/events{/number}","events_url":"https://api.github.com/repos/aptivate/econsensus/events","assignees_url":"https://api.github.com/repos/aptivate/econsensus/assignees{/user}","branches_url":"https://api.github.com/repos/aptivate/econsensus/branches{/branch}","tags_url":"https://api.github.com/repos/aptivate/econsensus/tags","blobs_url":"https://api.github.com/repos/aptivate/econsensus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aptivate/econsensus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aptivate/econsensus/git/refs{/sha}","trees_url":"https://api.github.com/repos/aptivate/econsensus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aptivate/econsensus/statuses/{sha}","languages_url":"https://api.github.com/repos/aptivate/econsensus/languages","stargazers_url":"https://api.github.com/repos/aptivate/econsensus/stargazers","contributors_url":"https://api.github.com/repos/aptivate/econsensus/contributors","subscribers_url":"https://api.github.com/repos/aptivate/econsensus/subscribers","subscription_url":"https://api.github.com/repos/aptivate/econsensus/subscription","commits_url":"https://api.github.com/repos/aptivate/econsensus/commits{/sha}","git_commits_url":"https://api.github.com/repos/aptivate/econsensus/git/commits{/sha}","comments_url":"https://api.github.com/repos/aptivate/econsensus/comments{/number}","issue_comment_url":"https://api.github.com/repos/aptivate/econsensus/issues/comments{/number}","contents_url":"https://api.github.com/repos/aptivate/econsensus/contents/{+path}","compare_url":"https://api.github.com/repos/aptivate/econsensus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aptivate/econsensus/merges","archive_url":"https://api.github.com/repos/aptivate/econsensus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aptivate/econsensus/downloads","issues_url":"https://api.github.com/repos/aptivate/econsensus/issues{/number}","pulls_url":"https://api.github.com/repos/aptivate/econsensus/pulls{/number}","milestones_url":"https://api.github.com/repos/aptivate/econsensus/milestones{/number}","notifications_url":"https://api.github.com/repos/aptivate/econsensus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aptivate/econsensus/labels{/name}","releases_url":"https://api.github.com/repos/aptivate/econsensus/releases{/id}","created_at":"2011-05-09T13:34:28Z","updated_at":"2015-02-25T21:50:34Z","pushed_at":"2015-05-13T20:45:12Z","git_url":"git://github.com/aptivate/econsensus.git","ssh_url":"git@github.com:aptivate/econsensus.git","clone_url":"https://github.com/aptivate/econsensus.git","svn_url":"https://github.com/aptivate/econsensus","homepage":"","size":6182,"stargazers_count":19,"watchers_count":19,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":29,"mirror_url":null,"open_issues_count":37,"forks":29,"open_issues":37,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aptivate/econsensus/pulls/227"},"html":{"href":"https://github.com/aptivate/econsensus/pull/227"},"issue":{"href":"https://api.github.com/repos/aptivate/econsensus/issues/227"},"comments":{"href":"https://api.github.com/repos/aptivate/econsensus/issues/227/comments"},"review_comments":{"href":"https://api.github.com/repos/aptivate/econsensus/pulls/227/comments"},"review_comment":{"href":"https://api.github.com/repos/aptivate/econsensus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aptivate/econsensus/pulls/227/commits"},"statuses":{"href":"https://api.github.com/repos/aptivate/econsensus/statuses/fb99fdf0fc7464e0a4a8b03a6a8c6472e0afb27f"}}}}