{"action":"created","comment":{"url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/pulls/comments/52801956","id":52801956,"diff_hunk":"@@ -1,10 +1,13 @@\n <script>\n   window.comments = <%= raw @image.hierarchical_comments.to_json %>;\n </script>\n-\n-<% if @image.flag_count < 3 %>\n-  <p><img src=\"<%= @image.image.url %>\"></p>\n-  <p><%= button_to \"Flag!\", flag_image_path( @image.uuid ), remote: true %></p>\n-<% else %>\n-  <p>Image has been flagged 3 times.</p>\n-<% end %>\n+<div class=\"img-container\">\n+\t<% if @image.flag_count < 3 %>\n+\t<img src=\"<%= @image.image.url %>\">\n+\t<div class=\"flag-container\">\n+\t  \t<%= button_to \"Flag Image as Innapropriate\", flag_image_path( @image.uuid ), remote: true, class: 'btn btn-default' %>\n+\t</div>\n+\t<% else %>\n+\t\t<h1>Image has been flagged as Innapropriate and has been removed.</h1>","path":"app/views/images/show.html.erb","position":18,"original_position":18,"commit_id":"cde6d2fc3ef3f487df39d8588eff339c3ba565f0","original_commit_id":"cde6d2fc3ef3f487df39d8588eff339c3ba565f0","user":{"login":"brianmcd","id":691451,"avatar_url":"https://avatars.githubusercontent.com/u/691451?v=3","gravatar_id":"","url":"https://api.github.com/users/brianmcd","html_url":"https://github.com/brianmcd","followers_url":"https://api.github.com/users/brianmcd/followers","following_url":"https://api.github.com/users/brianmcd/following{/other_user}","gists_url":"https://api.github.com/users/brianmcd/gists{/gist_id}","starred_url":"https://api.github.com/users/brianmcd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianmcd/subscriptions","organizations_url":"https://api.github.com/users/brianmcd/orgs","repos_url":"https://api.github.com/users/brianmcd/repos","events_url":"https://api.github.com/users/brianmcd/events{/privacy}","received_events_url":"https://api.github.com/users/brianmcd/received_events","type":"User","site_admin":false},"body":"inappropriate","created_at":"2016-02-12T21:40:01Z","updated_at":"2016-02-12T21:40:01Z","html_url":"https://github.com/MobilityLabs/project-mercury-blade/pull/11#discussion_r52801956","pull_request_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/pulls/comments/52801956"},"html":{"href":"https://github.com/MobilityLabs/project-mercury-blade/pull/11#discussion_r52801956"},"pull_request":{"href":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/pulls/11","id":59232655,"html_url":"https://github.com/MobilityLabs/project-mercury-blade/pull/11","diff_url":"https://github.com/MobilityLabs/project-mercury-blade/pull/11.diff","patch_url":"https://github.com/MobilityLabs/project-mercury-blade/pull/11.patch","issue_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/issues/11","number":11,"state":"open","locked":false,"title":"Made app to look consistent with mockup","user":{"login":"rickymetz","id":2237073,"avatar_url":"https://avatars.githubusercontent.com/u/2237073?v=3","gravatar_id":"","url":"https://api.github.com/users/rickymetz","html_url":"https://github.com/rickymetz","followers_url":"https://api.github.com/users/rickymetz/followers","following_url":"https://api.github.com/users/rickymetz/following{/other_user}","gists_url":"https://api.github.com/users/rickymetz/gists{/gist_id}","starred_url":"https://api.github.com/users/rickymetz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rickymetz/subscriptions","organizations_url":"https://api.github.com/users/rickymetz/orgs","repos_url":"https://api.github.com/users/rickymetz/repos","events_url":"https://api.github.com/users/rickymetz/events{/privacy}","received_events_url":"https://api.github.com/users/rickymetz/received_events","type":"User","site_admin":false},"body":"Big style update. Still needs JS tweaking for better UX.","created_at":"2016-02-12T21:21:19Z","updated_at":"2016-02-12T21:40:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/pulls/11/commits","review_comments_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/pulls/11/comments","review_comment_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/issues/11/comments","statuses_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/statuses/cde6d2fc3ef3f487df39d8588eff339c3ba565f0","head":{"label":"MobilityLabs:frontend-design-update","ref":"frontend-design-update","sha":"cde6d2fc3ef3f487df39d8588eff339c3ba565f0","user":{"login":"MobilityLabs","id":6536866,"avatar_url":"https://avatars.githubusercontent.com/u/6536866?v=3","gravatar_id":"","url":"https://api.github.com/users/MobilityLabs","html_url":"https://github.com/MobilityLabs","followers_url":"https://api.github.com/users/MobilityLabs/followers","following_url":"https://api.github.com/users/MobilityLabs/following{/other_user}","gists_url":"https://api.github.com/users/MobilityLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/MobilityLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MobilityLabs/subscriptions","organizations_url":"https://api.github.com/users/MobilityLabs/orgs","repos_url":"https://api.github.com/users/MobilityLabs/repos","events_url":"https://api.github.com/users/MobilityLabs/events{/privacy}","received_events_url":"https://api.github.com/users/MobilityLabs/received_events","type":"Organization","site_admin":false},"repo":{"id":51313024,"name":"project-mercury-blade","full_name":"MobilityLabs/project-mercury-blade","owner":{"login":"MobilityLabs","id":6536866,"avatar_url":"https://avatars.githubusercontent.com/u/6536866?v=3","gravatar_id":"","url":"https://api.github.com/users/MobilityLabs","html_url":"https://github.com/MobilityLabs","followers_url":"https://api.github.com/users/MobilityLabs/followers","following_url":"https://api.github.com/users/MobilityLabs/following{/other_user}","gists_url":"https://api.github.com/users/MobilityLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/MobilityLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MobilityLabs/subscriptions","organizations_url":"https://api.github.com/users/MobilityLabs/orgs","repos_url":"https://api.github.com/users/MobilityLabs/repos","events_url":"https://api.github.com/users/MobilityLabs/events{/privacy}","received_events_url":"https://api.github.com/users/MobilityLabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MobilityLabs/project-mercury-blade","description":"A Rails service to upload and comment on images.","fork":false,"url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade","forks_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/forks","keys_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/teams","hooks_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/hooks","issue_events_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/issues/events{/number}","events_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/events","assignees_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/assignees{/user}","branches_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/branches{/branch}","tags_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/tags","blobs_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/git/refs{/sha}","trees_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/statuses/{sha}","languages_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/languages","stargazers_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/stargazers","contributors_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/contributors","subscribers_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/subscribers","subscription_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/subscription","commits_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/commits{/sha}","git_commits_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/git/commits{/sha}","comments_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/comments{/number}","issue_comment_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/issues/comments{/number}","contents_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/contents/{+path}","compare_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/merges","archive_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/downloads","issues_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/issues{/number}","pulls_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/pulls{/number}","milestones_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/milestones{/number}","notifications_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/labels{/name}","releases_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/releases{/id}","deployments_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/deployments","created_at":"2016-02-08T17:18:28Z","updated_at":"2016-02-12T17:24:50Z","pushed_at":"2016-02-12T21:21:19Z","git_url":"git://github.com/MobilityLabs/project-mercury-blade.git","ssh_url":"git@github.com:MobilityLabs/project-mercury-blade.git","clone_url":"https://github.com/MobilityLabs/project-mercury-blade.git","svn_url":"https://github.com/MobilityLabs/project-mercury-blade","homepage":null,"size":769,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"MobilityLabs:master","ref":"master","sha":"dddd939e880bec2169ba194d18f7391f298b48d7","user":{"login":"MobilityLabs","id":6536866,"avatar_url":"https://avatars.githubusercontent.com/u/6536866?v=3","gravatar_id":"","url":"https://api.github.com/users/MobilityLabs","html_url":"https://github.com/MobilityLabs","followers_url":"https://api.github.com/users/MobilityLabs/followers","following_url":"https://api.github.com/users/MobilityLabs/following{/other_user}","gists_url":"https://api.github.com/users/MobilityLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/MobilityLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MobilityLabs/subscriptions","organizations_url":"https://api.github.com/users/MobilityLabs/orgs","repos_url":"https://api.github.com/users/MobilityLabs/repos","events_url":"https://api.github.com/users/MobilityLabs/events{/privacy}","received_events_url":"https://api.github.com/users/MobilityLabs/received_events","type":"Organization","site_admin":false},"repo":{"id":51313024,"name":"project-mercury-blade","full_name":"MobilityLabs/project-mercury-blade","owner":{"login":"MobilityLabs","id":6536866,"avatar_url":"https://avatars.githubusercontent.com/u/6536866?v=3","gravatar_id":"","url":"https://api.github.com/users/MobilityLabs","html_url":"https://github.com/MobilityLabs","followers_url":"https://api.github.com/users/MobilityLabs/followers","following_url":"https://api.github.com/users/MobilityLabs/following{/other_user}","gists_url":"https://api.github.com/users/MobilityLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/MobilityLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MobilityLabs/subscriptions","organizations_url":"https://api.github.com/users/MobilityLabs/orgs","repos_url":"https://api.github.com/users/MobilityLabs/repos","events_url":"https://api.github.com/users/MobilityLabs/events{/privacy}","received_events_url":"https://api.github.com/users/MobilityLabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MobilityLabs/project-mercury-blade","description":"A Rails service to upload and comment on images.","fork":false,"url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade","forks_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/forks","keys_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/teams","hooks_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/hooks","issue_events_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/issues/events{/number}","events_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/events","assignees_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/assignees{/user}","branches_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/branches{/branch}","tags_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/tags","blobs_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/git/refs{/sha}","trees_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/statuses/{sha}","languages_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/languages","stargazers_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/stargazers","contributors_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/contributors","subscribers_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/subscribers","subscription_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/subscription","commits_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/commits{/sha}","git_commits_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/git/commits{/sha}","comments_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/comments{/number}","issue_comment_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/issues/comments{/number}","contents_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/contents/{+path}","compare_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/merges","archive_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/downloads","issues_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/issues{/number}","pulls_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/pulls{/number}","milestones_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/milestones{/number}","notifications_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/labels{/name}","releases_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/releases{/id}","deployments_url":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/deployments","created_at":"2016-02-08T17:18:28Z","updated_at":"2016-02-12T17:24:50Z","pushed_at":"2016-02-12T21:21:19Z","git_url":"git://github.com/MobilityLabs/project-mercury-blade.git","ssh_url":"git@github.com:MobilityLabs/project-mercury-blade.git","clone_url":"https://github.com/MobilityLabs/project-mercury-blade.git","svn_url":"https://github.com/MobilityLabs/project-mercury-blade","homepage":null,"size":769,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/pulls/11"},"html":{"href":"https://github.com/MobilityLabs/project-mercury-blade/pull/11"},"issue":{"href":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/issues/11"},"comments":{"href":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/MobilityLabs/project-mercury-blade/statuses/cde6d2fc3ef3f487df39d8588eff339c3ba565f0"}}}}