{"action":"created","comment":{"url":"https://api.github.com/repos/DefactoSoftware/Hours/pulls/comments/27720960","id":27720960,"diff_hunk":"@@ -41,16 +41,14 @@ def current_locale\n   end\n \n   def billable_entry_checkbox(entry, entry_type)\n-    if entry.billed\n-      \"√\"\n-    else\n-      tag(:input,\n-          type: \"checkbox\",\n-          name: \"#{entry_type}_to_bill[]\",\n-          class: \"bill_checkbox\",\n-          value: \"#{entry.id}\",\n-          \"data-project-id\" => entry.project.id)\n-    end\n+    class_name = entry.billed ? \"billed\" : \"unbilled\"","path":"app/helpers/application_helper.rb","position":14,"original_position":14,"commit_id":"024d652ab44736043427c9a52ac81836c9495878","original_commit_id":"024d652ab44736043427c9a52ac81836c9495878","user":{"login":"mischaboldy","id":9572013,"avatar_url":"https://avatars.githubusercontent.com/u/9572013?v=3","gravatar_id":"","url":"https://api.github.com/users/mischaboldy","html_url":"https://github.com/mischaboldy","followers_url":"https://api.github.com/users/mischaboldy/followers","following_url":"https://api.github.com/users/mischaboldy/following{/other_user}","gists_url":"https://api.github.com/users/mischaboldy/gists{/gist_id}","starred_url":"https://api.github.com/users/mischaboldy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mischaboldy/subscriptions","organizations_url":"https://api.github.com/users/mischaboldy/orgs","repos_url":"https://api.github.com/users/mischaboldy/repos","events_url":"https://api.github.com/users/mischaboldy/events{/privacy}","received_events_url":"https://api.github.com/users/mischaboldy/received_events","type":"User","site_admin":false},"body":"this is still used in the billables.js to count the amount of checkboxes checked and differentiate between billed and unbilled.","created_at":"2015-04-03T08:45:55Z","updated_at":"2015-04-03T08:45:55Z","html_url":"https://github.com/DefactoSoftware/Hours/pull/294#discussion_r27720960","pull_request_url":"https://api.github.com/repos/DefactoSoftware/Hours/pulls/294","_links":{"self":{"href":"https://api.github.com/repos/DefactoSoftware/Hours/pulls/comments/27720960"},"html":{"href":"https://github.com/DefactoSoftware/Hours/pull/294#discussion_r27720960"},"pull_request":{"href":"https://api.github.com/repos/DefactoSoftware/Hours/pulls/294"}}},"pull_request":{"url":"https://api.github.com/repos/DefactoSoftware/Hours/pulls/294","id":31035612,"html_url":"https://github.com/DefactoSoftware/Hours/pull/294","diff_url":"https://github.com/DefactoSoftware/Hours/pull/294.diff","patch_url":"https://github.com/DefactoSoftware/Hours/pull/294.patch","issue_url":"https://api.github.com/repos/DefactoSoftware/Hours/issues/294","number":294,"state":"open","locked":false,"title":"[READY] add an unbill button","user":{"login":"mischaboldy","id":9572013,"avatar_url":"https://avatars.githubusercontent.com/u/9572013?v=3","gravatar_id":"","url":"https://api.github.com/users/mischaboldy","html_url":"https://github.com/mischaboldy","followers_url":"https://api.github.com/users/mischaboldy/followers","following_url":"https://api.github.com/users/mischaboldy/following{/other_user}","gists_url":"https://api.github.com/users/mischaboldy/gists{/gist_id}","starred_url":"https://api.github.com/users/mischaboldy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mischaboldy/subscriptions","organizations_url":"https://api.github.com/users/mischaboldy/orgs","repos_url":"https://api.github.com/users/mischaboldy/repos","events_url":"https://api.github.com/users/mischaboldy/events{/privacy}","received_events_url":"https://api.github.com/users/mischaboldy/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-12T13:34:18Z","updated_at":"2015-04-03T08:45:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6a44e56825bd1ef83de77185a65e47b0a0873244","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/DefactoSoftware/Hours/pulls/294/commits","review_comments_url":"https://api.github.com/repos/DefactoSoftware/Hours/pulls/294/comments","review_comment_url":"https://api.github.com/repos/DefactoSoftware/Hours/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DefactoSoftware/Hours/issues/294/comments","statuses_url":"https://api.github.com/repos/DefactoSoftware/Hours/statuses/024d652ab44736043427c9a52ac81836c9495878","head":{"label":"DefactoSoftware:undo-billables","ref":"undo-billables","sha":"024d652ab44736043427c9a52ac81836c9495878","user":{"login":"DefactoSoftware","id":3899757,"avatar_url":"https://avatars.githubusercontent.com/u/3899757?v=3","gravatar_id":"","url":"https://api.github.com/users/DefactoSoftware","html_url":"https://github.com/DefactoSoftware","followers_url":"https://api.github.com/users/DefactoSoftware/followers","following_url":"https://api.github.com/users/DefactoSoftware/following{/other_user}","gists_url":"https://api.github.com/users/DefactoSoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/DefactoSoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DefactoSoftware/subscriptions","organizations_url":"https://api.github.com/users/DefactoSoftware/orgs","repos_url":"https://api.github.com/users/DefactoSoftware/repos","events_url":"https://api.github.com/users/DefactoSoftware/events{/privacy}","received_events_url":"https://api.github.com/users/DefactoSoftware/received_events","type":"Organization","site_admin":false},"repo":{"id":17153103,"name":"Hours","full_name":"DefactoSoftware/Hours","owner":{"login":"DefactoSoftware","id":3899757,"avatar_url":"https://avatars.githubusercontent.com/u/3899757?v=3","gravatar_id":"","url":"https://api.github.com/users/DefactoSoftware","html_url":"https://github.com/DefactoSoftware","followers_url":"https://api.github.com/users/DefactoSoftware/followers","following_url":"https://api.github.com/users/DefactoSoftware/following{/other_user}","gists_url":"https://api.github.com/users/DefactoSoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/DefactoSoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DefactoSoftware/subscriptions","organizations_url":"https://api.github.com/users/DefactoSoftware/orgs","repos_url":"https://api.github.com/users/DefactoSoftware/repos","events_url":"https://api.github.com/users/DefactoSoftware/events{/privacy}","received_events_url":"https://api.github.com/users/DefactoSoftware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DefactoSoftware/Hours","description":"Time registration that doesn't suck","fork":false,"url":"https://api.github.com/repos/DefactoSoftware/Hours","forks_url":"https://api.github.com/repos/DefactoSoftware/Hours/forks","keys_url":"https://api.github.com/repos/DefactoSoftware/Hours/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DefactoSoftware/Hours/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DefactoSoftware/Hours/teams","hooks_url":"https://api.github.com/repos/DefactoSoftware/Hours/hooks","issue_events_url":"https://api.github.com/repos/DefactoSoftware/Hours/issues/events{/number}","events_url":"https://api.github.com/repos/DefactoSoftware/Hours/events","assignees_url":"https://api.github.com/repos/DefactoSoftware/Hours/assignees{/user}","branches_url":"https://api.github.com/repos/DefactoSoftware/Hours/branches{/branch}","tags_url":"https://api.github.com/repos/DefactoSoftware/Hours/tags","blobs_url":"https://api.github.com/repos/DefactoSoftware/Hours/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DefactoSoftware/Hours/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DefactoSoftware/Hours/git/refs{/sha}","trees_url":"https://api.github.com/repos/DefactoSoftware/Hours/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DefactoSoftware/Hours/statuses/{sha}","languages_url":"https://api.github.com/repos/DefactoSoftware/Hours/languages","stargazers_url":"https://api.github.com/repos/DefactoSoftware/Hours/stargazers","contributors_url":"https://api.github.com/repos/DefactoSoftware/Hours/contributors","subscribers_url":"https://api.github.com/repos/DefactoSoftware/Hours/subscribers","subscription_url":"https://api.github.com/repos/DefactoSoftware/Hours/subscription","commits_url":"https://api.github.com/repos/DefactoSoftware/Hours/commits{/sha}","git_commits_url":"https://api.github.com/repos/DefactoSoftware/Hours/git/commits{/sha}","comments_url":"https://api.github.com/repos/DefactoSoftware/Hours/comments{/number}","issue_comment_url":"https://api.github.com/repos/DefactoSoftware/Hours/issues/comments{/number}","contents_url":"https://api.github.com/repos/DefactoSoftware/Hours/contents/{+path}","compare_url":"https://api.github.com/repos/DefactoSoftware/Hours/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DefactoSoftware/Hours/merges","archive_url":"https://api.github.com/repos/DefactoSoftware/Hours/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DefactoSoftware/Hours/downloads","issues_url":"https://api.github.com/repos/DefactoSoftware/Hours/issues{/number}","pulls_url":"https://api.github.com/repos/DefactoSoftware/Hours/pulls{/number}","milestones_url":"https://api.github.com/repos/DefactoSoftware/Hours/milestones{/number}","notifications_url":"https://api.github.com/repos/DefactoSoftware/Hours/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DefactoSoftware/Hours/labels{/name}","releases_url":"https://api.github.com/repos/DefactoSoftware/Hours/releases{/id}","created_at":"2014-02-24T22:25:47Z","updated_at":"2015-03-31T16:46:49Z","pushed_at":"2015-04-02T15:51:11Z","git_url":"git://github.com/DefactoSoftware/Hours.git","ssh_url":"git@github.com:DefactoSoftware/Hours.git","clone_url":"https://github.com/DefactoSoftware/Hours.git","svn_url":"https://github.com/DefactoSoftware/Hours","homepage":"https://happyhours.io","size":13021,"stargazers_count":553,"watchers_count":553,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":64,"mirror_url":null,"open_issues_count":29,"forks":64,"open_issues":29,"watchers":553,"default_branch":"development"}},"base":{"label":"DefactoSoftware:development","ref":"development","sha":"9c225b197514c170cbdcf4876d1d6c5caa477445","user":{"login":"DefactoSoftware","id":3899757,"avatar_url":"https://avatars.githubusercontent.com/u/3899757?v=3","gravatar_id":"","url":"https://api.github.com/users/DefactoSoftware","html_url":"https://github.com/DefactoSoftware","followers_url":"https://api.github.com/users/DefactoSoftware/followers","following_url":"https://api.github.com/users/DefactoSoftware/following{/other_user}","gists_url":"https://api.github.com/users/DefactoSoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/DefactoSoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DefactoSoftware/subscriptions","organizations_url":"https://api.github.com/users/DefactoSoftware/orgs","repos_url":"https://api.github.com/users/DefactoSoftware/repos","events_url":"https://api.github.com/users/DefactoSoftware/events{/privacy}","received_events_url":"https://api.github.com/users/DefactoSoftware/received_events","type":"Organization","site_admin":false},"repo":{"id":17153103,"name":"Hours","full_name":"DefactoSoftware/Hours","owner":{"login":"DefactoSoftware","id":3899757,"avatar_url":"https://avatars.githubusercontent.com/u/3899757?v=3","gravatar_id":"","url":"https://api.github.com/users/DefactoSoftware","html_url":"https://github.com/DefactoSoftware","followers_url":"https://api.github.com/users/DefactoSoftware/followers","following_url":"https://api.github.com/users/DefactoSoftware/following{/other_user}","gists_url":"https://api.github.com/users/DefactoSoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/DefactoSoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DefactoSoftware/subscriptions","organizations_url":"https://api.github.com/users/DefactoSoftware/orgs","repos_url":"https://api.github.com/users/DefactoSoftware/repos","events_url":"https://api.github.com/users/DefactoSoftware/events{/privacy}","received_events_url":"https://api.github.com/users/DefactoSoftware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DefactoSoftware/Hours","description":"Time registration that doesn't suck","fork":false,"url":"https://api.github.com/repos/DefactoSoftware/Hours","forks_url":"https://api.github.com/repos/DefactoSoftware/Hours/forks","keys_url":"https://api.github.com/repos/DefactoSoftware/Hours/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DefactoSoftware/Hours/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DefactoSoftware/Hours/teams","hooks_url":"https://api.github.com/repos/DefactoSoftware/Hours/hooks","issue_events_url":"https://api.github.com/repos/DefactoSoftware/Hours/issues/events{/number}","events_url":"https://api.github.com/repos/DefactoSoftware/Hours/events","assignees_url":"https://api.github.com/repos/DefactoSoftware/Hours/assignees{/user}","branches_url":"https://api.github.com/repos/DefactoSoftware/Hours/branches{/branch}","tags_url":"https://api.github.com/repos/DefactoSoftware/Hours/tags","blobs_url":"https://api.github.com/repos/DefactoSoftware/Hours/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DefactoSoftware/Hours/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DefactoSoftware/Hours/git/refs{/sha}","trees_url":"https://api.github.com/repos/DefactoSoftware/Hours/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DefactoSoftware/Hours/statuses/{sha}","languages_url":"https://api.github.com/repos/DefactoSoftware/Hours/languages","stargazers_url":"https://api.github.com/repos/DefactoSoftware/Hours/stargazers","contributors_url":"https://api.github.com/repos/DefactoSoftware/Hours/contributors","subscribers_url":"https://api.github.com/repos/DefactoSoftware/Hours/subscribers","subscription_url":"https://api.github.com/repos/DefactoSoftware/Hours/subscription","commits_url":"https://api.github.com/repos/DefactoSoftware/Hours/commits{/sha}","git_commits_url":"https://api.github.com/repos/DefactoSoftware/Hours/git/commits{/sha}","comments_url":"https://api.github.com/repos/DefactoSoftware/Hours/comments{/number}","issue_comment_url":"https://api.github.com/repos/DefactoSoftware/Hours/issues/comments{/number}","contents_url":"https://api.github.com/repos/DefactoSoftware/Hours/contents/{+path}","compare_url":"https://api.github.com/repos/DefactoSoftware/Hours/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DefactoSoftware/Hours/merges","archive_url":"https://api.github.com/repos/DefactoSoftware/Hours/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DefactoSoftware/Hours/downloads","issues_url":"https://api.github.com/repos/DefactoSoftware/Hours/issues{/number}","pulls_url":"https://api.github.com/repos/DefactoSoftware/Hours/pulls{/number}","milestones_url":"https://api.github.com/repos/DefactoSoftware/Hours/milestones{/number}","notifications_url":"https://api.github.com/repos/DefactoSoftware/Hours/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DefactoSoftware/Hours/labels{/name}","releases_url":"https://api.github.com/repos/DefactoSoftware/Hours/releases{/id}","created_at":"2014-02-24T22:25:47Z","updated_at":"2015-03-31T16:46:49Z","pushed_at":"2015-04-02T15:51:11Z","git_url":"git://github.com/DefactoSoftware/Hours.git","ssh_url":"git@github.com:DefactoSoftware/Hours.git","clone_url":"https://github.com/DefactoSoftware/Hours.git","svn_url":"https://github.com/DefactoSoftware/Hours","homepage":"https://happyhours.io","size":13021,"stargazers_count":553,"watchers_count":553,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":64,"mirror_url":null,"open_issues_count":29,"forks":64,"open_issues":29,"watchers":553,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/DefactoSoftware/Hours/pulls/294"},"html":{"href":"https://github.com/DefactoSoftware/Hours/pull/294"},"issue":{"href":"https://api.github.com/repos/DefactoSoftware/Hours/issues/294"},"comments":{"href":"https://api.github.com/repos/DefactoSoftware/Hours/issues/294/comments"},"review_comments":{"href":"https://api.github.com/repos/DefactoSoftware/Hours/pulls/294/comments"},"review_comment":{"href":"https://api.github.com/repos/DefactoSoftware/Hours/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DefactoSoftware/Hours/pulls/294/commits"},"statuses":{"href":"https://api.github.com/repos/DefactoSoftware/Hours/statuses/024d652ab44736043427c9a52ac81836c9495878"}}}}