{"action":"created","comment":{"url":"https://api.github.com/repos/Ada-C4/TaskListRails/pulls/comments/44966709","id":44966709,"diff_hunk":"@@ -1,11 +1,28 @@\n <h1>Task List</h1>\n-<div style=\"text-align:center;\">\n-\t<table>\n-\t\t<% @tasks.each do |task| %>\n-\t\t  <tr>\n-\t\t    <td class=\"name\"><%= link_to \"#{task.name}\", \"/tasks/#{task.id}\" %></td>\n-\t\t    <td><%= button_to \"Delete\", \"/tasks/#{task.id}\", method: \"delete\", data: { :confirm => \"Are you sure you want to delete this task?\" } %></td>\n-\t\t  </tr>\n-\t  <% end %>\n-\t</table>\n-</div>\n\\ No newline at end of file\n+<table>\n+\t<th colspan=\"2\">Completed?</th><th>Task Name</th><th colspan=\"2\">Update!</th>\n+\t<% @tasks.each do |task| %>\n+\t  <tr>\n+    \t<% if task.complete_date.nil? %>\n+    \t\t<td class=\"status\" id=\"checkbox\"><%= link_to \"&#9744;\".html_safe, \"/tasks/complete/#{task.id}\", method: :patch %></td>\n+    \t<% else %> \n+    \t\t<td class=\"status\" id=\"checkbox\"><%= link_to \"&#9745;\".html_safe, \"/tasks/incomplete/#{task.id}\", method: :patch %></td>\n+\t\t\t<% end %>\n+\n+\t\t\t<% if !task.complete_date.nil? %>","path":"tasklist/app/views/tasks/index.html.erb","position":23,"original_position":23,"commit_id":"18698aac58f138168139d0eeb12366fd46e2f4fb","original_commit_id":"18698aac58f138168139d0eeb12366fd46e2f4fb","user":{"login":"Hamled","id":66355,"avatar_url":"https://avatars.githubusercontent.com/u/66355?v=3","gravatar_id":"","url":"https://api.github.com/users/Hamled","html_url":"https://github.com/Hamled","followers_url":"https://api.github.com/users/Hamled/followers","following_url":"https://api.github.com/users/Hamled/following{/other_user}","gists_url":"https://api.github.com/users/Hamled/gists{/gist_id}","starred_url":"https://api.github.com/users/Hamled/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hamled/subscriptions","organizations_url":"https://api.github.com/users/Hamled/orgs","repos_url":"https://api.github.com/users/Hamled/repos","events_url":"https://api.github.com/users/Hamled/events{/privacy}","received_events_url":"https://api.github.com/users/Hamled/received_events","type":"User","site_admin":false},"body":"The indentation here should be cleaned up, as it is making it harder to figure out which `if` lines are associated with which `else` and `end` lines.","created_at":"2015-11-16T19:05:45Z","updated_at":"2015-11-16T19:05:45Z","html_url":"https://github.com/Ada-C4/TaskListRails/pull/80#discussion_r44966709","pull_request_url":"https://api.github.com/repos/Ada-C4/TaskListRails/pulls/80","_links":{"self":{"href":"https://api.github.com/repos/Ada-C4/TaskListRails/pulls/comments/44966709"},"html":{"href":"https://github.com/Ada-C4/TaskListRails/pull/80#discussion_r44966709"},"pull_request":{"href":"https://api.github.com/repos/Ada-C4/TaskListRails/pulls/80"}}},"pull_request":{"url":"https://api.github.com/repos/Ada-C4/TaskListRails/pulls/80","id":50763018,"html_url":"https://github.com/Ada-C4/TaskListRails/pull/80","diff_url":"https://github.com/Ada-C4/TaskListRails/pull/80.diff","patch_url":"https://github.com/Ada-C4/TaskListRails/pull/80.patch","issue_url":"https://api.github.com/repos/Ada-C4/TaskListRails/issues/80","number":80,"state":"open","locked":false,"title":"Lmm/master Wave 3","user":{"login":"loganmeetsworld","id":10510566,"avatar_url":"https://avatars.githubusercontent.com/u/10510566?v=3","gravatar_id":"","url":"https://api.github.com/users/loganmeetsworld","html_url":"https://github.com/loganmeetsworld","followers_url":"https://api.github.com/users/loganmeetsworld/followers","following_url":"https://api.github.com/users/loganmeetsworld/following{/other_user}","gists_url":"https://api.github.com/users/loganmeetsworld/gists{/gist_id}","starred_url":"https://api.github.com/users/loganmeetsworld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loganmeetsworld/subscriptions","organizations_url":"https://api.github.com/users/loganmeetsworld/orgs","repos_url":"https://api.github.com/users/loganmeetsworld/repos","events_url":"https://api.github.com/users/loganmeetsworld/events{/privacy}","received_events_url":"https://api.github.com/users/loganmeetsworld/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-16T01:23:03Z","updated_at":"2015-11-16T19:05:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4bafc60325a6397c1f3b815978fd5830a9885f9e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Ada-C4/TaskListRails/pulls/80/commits","review_comments_url":"https://api.github.com/repos/Ada-C4/TaskListRails/pulls/80/comments","review_comment_url":"https://api.github.com/repos/Ada-C4/TaskListRails/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Ada-C4/TaskListRails/issues/80/comments","statuses_url":"https://api.github.com/repos/Ada-C4/TaskListRails/statuses/18698aac58f138168139d0eeb12366fd46e2f4fb","head":{"label":"loganmeetsworld:lmm/master","ref":"lmm/master","sha":"18698aac58f138168139d0eeb12366fd46e2f4fb","user":{"login":"loganmeetsworld","id":10510566,"avatar_url":"https://avatars.githubusercontent.com/u/10510566?v=3","gravatar_id":"","url":"https://api.github.com/users/loganmeetsworld","html_url":"https://github.com/loganmeetsworld","followers_url":"https://api.github.com/users/loganmeetsworld/followers","following_url":"https://api.github.com/users/loganmeetsworld/following{/other_user}","gists_url":"https://api.github.com/users/loganmeetsworld/gists{/gist_id}","starred_url":"https://api.github.com/users/loganmeetsworld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loganmeetsworld/subscriptions","organizations_url":"https://api.github.com/users/loganmeetsworld/orgs","repos_url":"https://api.github.com/users/loganmeetsworld/repos","events_url":"https://api.github.com/users/loganmeetsworld/events{/privacy}","received_events_url":"https://api.github.com/users/loganmeetsworld/received_events","type":"User","site_admin":false},"repo":{"id":45875171,"name":"TaskListRails","full_name":"loganmeetsworld/TaskListRails","owner":{"login":"loganmeetsworld","id":10510566,"avatar_url":"https://avatars.githubusercontent.com/u/10510566?v=3","gravatar_id":"","url":"https://api.github.com/users/loganmeetsworld","html_url":"https://github.com/loganmeetsworld","followers_url":"https://api.github.com/users/loganmeetsworld/followers","following_url":"https://api.github.com/users/loganmeetsworld/following{/other_user}","gists_url":"https://api.github.com/users/loganmeetsworld/gists{/gist_id}","starred_url":"https://api.github.com/users/loganmeetsworld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loganmeetsworld/subscriptions","organizations_url":"https://api.github.com/users/loganmeetsworld/orgs","repos_url":"https://api.github.com/users/loganmeetsworld/repos","events_url":"https://api.github.com/users/loganmeetsworld/events{/privacy}","received_events_url":"https://api.github.com/users/loganmeetsworld/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/loganmeetsworld/TaskListRails","description":"","fork":true,"url":"https://api.github.com/repos/loganmeetsworld/TaskListRails","forks_url":"https://api.github.com/repos/loganmeetsworld/TaskListRails/forks","keys_url":"https://api.github.com/repos/loganmeetsworld/TaskListRails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/loganmeetsworld/TaskListRails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/loganmeetsworld/TaskListRails/teams","hooks_url":"https://api.github.com/repos/loganmeetsworld/TaskListRails/hooks","issue_events_url":"https://api.github.com/repos/loganmeetsworld/TaskListRails/issues/events{/number}","events_url":"https://api.github.com/repos/loganmeetsworld/TaskListRails/events","assignees_url":"https://api.github.com/repos/loganmeetsworld/TaskListRails/assignees{/user}","branches_url":"https://api.github.com/repos/loganmeetsworld/TaskListRails/branches{/branch}","tags_url":"https://api.github.com/repos/loganmeetsworld/TaskListRails/tags","blobs_url":"https://api.github.com/repos/loganmeetsworld/TaskListRails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/loganmeetsworld/TaskListRails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/loganmeetsworld/TaskListRails/git/refs{/sha}","trees_url":"https://api.github.com/repos/loganmeetsworld/TaskListRails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/loganmeetsworld/TaskListRails/statuses/{sha}","languages_url":"https://api.github.com/repos/loganmeetsworld/TaskListRails/languages","stargazers_url":"https://api.github.com/repos/loganmeetsworld/TaskListRails/stargazers","contributors_url":"https://api.github.com/repos/loganmeetsworld/TaskListRails/contributors","subscribers_url":"https://api.github.com/repos/loganmeetsworld/TaskListRails/subscribers","subscription_url":"https://api.github.com/repos/loganmeetsworld/TaskListRails/subscription","commits_url":"https://api.github.com/repos/loganmeetsworld/TaskListRails/commits{/sha}","git_commits_url":"https://api.github.com/repos/loganmeetsworld/TaskListRails/git/commits{/sha}","comments_url":"https://api.github.com/repos/loganmeetsworld/TaskListRails/comments{/number}","issue_comment_url":"https://api.github.com/repos/loganmeetsworld/TaskListRails/issues/comments{/number}","contents_url":"https://api.github.com/repos/loganmeetsworld/TaskListRails/contents/{+path}","compare_url":"https://api.github.com/repos/loganmeetsworld/TaskListRails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/loganmeetsworld/TaskListRails/merges","archive_url":"https://api.github.com/repos/loganmeetsworld/TaskListRails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/loganmeetsworld/TaskListRails/downloads","issues_url":"https://api.github.com/repos/loganmeetsworld/TaskListRails/issues{/number}","pulls_url":"https://api.github.com/repos/loganmeetsworld/TaskListRails/pulls{/number}","milestones_url":"https://api.github.com/repos/loganmeetsworld/TaskListRails/milestones{/number}","notifications_url":"https://api.github.com/repos/loganmeetsworld/TaskListRails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/loganmeetsworld/TaskListRails/labels{/name}","releases_url":"https://api.github.com/repos/loganmeetsworld/TaskListRails/releases{/id}","created_at":"2015-11-09T23:57:14Z","updated_at":"2015-11-09T23:57:14Z","pushed_at":"2015-11-13T23:53:36Z","git_url":"git://github.com/loganmeetsworld/TaskListRails.git","ssh_url":"git@github.com:loganmeetsworld/TaskListRails.git","clone_url":"https://github.com/loganmeetsworld/TaskListRails.git","svn_url":"https://github.com/loganmeetsworld/TaskListRails","homepage":null,"size":350,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"Ada-C4:lmm/master","ref":"lmm/master","sha":"3d249fb3ba2c8a32cf3efb626624eefa96940304","user":{"login":"Ada-C4","id":14096372,"avatar_url":"https://avatars.githubusercontent.com/u/14096372?v=3","gravatar_id":"","url":"https://api.github.com/users/Ada-C4","html_url":"https://github.com/Ada-C4","followers_url":"https://api.github.com/users/Ada-C4/followers","following_url":"https://api.github.com/users/Ada-C4/following{/other_user}","gists_url":"https://api.github.com/users/Ada-C4/gists{/gist_id}","starred_url":"https://api.github.com/users/Ada-C4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ada-C4/subscriptions","organizations_url":"https://api.github.com/users/Ada-C4/orgs","repos_url":"https://api.github.com/users/Ada-C4/repos","events_url":"https://api.github.com/users/Ada-C4/events{/privacy}","received_events_url":"https://api.github.com/users/Ada-C4/received_events","type":"Organization","site_admin":false},"repo":{"id":45871447,"name":"TaskListRails","full_name":"Ada-C4/TaskListRails","owner":{"login":"Ada-C4","id":14096372,"avatar_url":"https://avatars.githubusercontent.com/u/14096372?v=3","gravatar_id":"","url":"https://api.github.com/users/Ada-C4","html_url":"https://github.com/Ada-C4","followers_url":"https://api.github.com/users/Ada-C4/followers","following_url":"https://api.github.com/users/Ada-C4/following{/other_user}","gists_url":"https://api.github.com/users/Ada-C4/gists{/gist_id}","starred_url":"https://api.github.com/users/Ada-C4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ada-C4/subscriptions","organizations_url":"https://api.github.com/users/Ada-C4/orgs","repos_url":"https://api.github.com/users/Ada-C4/repos","events_url":"https://api.github.com/users/Ada-C4/events{/privacy}","received_events_url":"https://api.github.com/users/Ada-C4/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Ada-C4/TaskListRails","description":"","fork":true,"url":"https://api.github.com/repos/Ada-C4/TaskListRails","forks_url":"https://api.github.com/repos/Ada-C4/TaskListRails/forks","keys_url":"https://api.github.com/repos/Ada-C4/TaskListRails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ada-C4/TaskListRails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ada-C4/TaskListRails/teams","hooks_url":"https://api.github.com/repos/Ada-C4/TaskListRails/hooks","issue_events_url":"https://api.github.com/repos/Ada-C4/TaskListRails/issues/events{/number}","events_url":"https://api.github.com/repos/Ada-C4/TaskListRails/events","assignees_url":"https://api.github.com/repos/Ada-C4/TaskListRails/assignees{/user}","branches_url":"https://api.github.com/repos/Ada-C4/TaskListRails/branches{/branch}","tags_url":"https://api.github.com/repos/Ada-C4/TaskListRails/tags","blobs_url":"https://api.github.com/repos/Ada-C4/TaskListRails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ada-C4/TaskListRails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ada-C4/TaskListRails/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ada-C4/TaskListRails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ada-C4/TaskListRails/statuses/{sha}","languages_url":"https://api.github.com/repos/Ada-C4/TaskListRails/languages","stargazers_url":"https://api.github.com/repos/Ada-C4/TaskListRails/stargazers","contributors_url":"https://api.github.com/repos/Ada-C4/TaskListRails/contributors","subscribers_url":"https://api.github.com/repos/Ada-C4/TaskListRails/subscribers","subscription_url":"https://api.github.com/repos/Ada-C4/TaskListRails/subscription","commits_url":"https://api.github.com/repos/Ada-C4/TaskListRails/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ada-C4/TaskListRails/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ada-C4/TaskListRails/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ada-C4/TaskListRails/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ada-C4/TaskListRails/contents/{+path}","compare_url":"https://api.github.com/repos/Ada-C4/TaskListRails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ada-C4/TaskListRails/merges","archive_url":"https://api.github.com/repos/Ada-C4/TaskListRails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ada-C4/TaskListRails/downloads","issues_url":"https://api.github.com/repos/Ada-C4/TaskListRails/issues{/number}","pulls_url":"https://api.github.com/repos/Ada-C4/TaskListRails/pulls{/number}","milestones_url":"https://api.github.com/repos/Ada-C4/TaskListRails/milestones{/number}","notifications_url":"https://api.github.com/repos/Ada-C4/TaskListRails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ada-C4/TaskListRails/labels{/name}","releases_url":"https://api.github.com/repos/Ada-C4/TaskListRails/releases{/id}","created_at":"2015-11-09T22:36:26Z","updated_at":"2015-11-09T22:36:27Z","pushed_at":"2015-11-16T18:56:01Z","git_url":"git://github.com/Ada-C4/TaskListRails.git","ssh_url":"git@github.com:Ada-C4/TaskListRails.git","clone_url":"https://github.com/Ada-C4/TaskListRails.git","svn_url":"https://github.com/Ada-C4/TaskListRails","homepage":null,"size":21700,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":9,"forks":22,"open_issues":9,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Ada-C4/TaskListRails/pulls/80"},"html":{"href":"https://github.com/Ada-C4/TaskListRails/pull/80"},"issue":{"href":"https://api.github.com/repos/Ada-C4/TaskListRails/issues/80"},"comments":{"href":"https://api.github.com/repos/Ada-C4/TaskListRails/issues/80/comments"},"review_comments":{"href":"https://api.github.com/repos/Ada-C4/TaskListRails/pulls/80/comments"},"review_comment":{"href":"https://api.github.com/repos/Ada-C4/TaskListRails/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Ada-C4/TaskListRails/pulls/80/commits"},"statuses":{"href":"https://api.github.com/repos/Ada-C4/TaskListRails/statuses/18698aac58f138168139d0eeb12366fd46e2f4fb"}}}}