{"action":"closed","number":37,"pull_request":{"url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/pulls/37","id":42269628,"html_url":"https://github.com/brittinator/C3Projects--SeeMore/pull/37","diff_url":"https://github.com/brittinator/C3Projects--SeeMore/pull/37.diff","patch_url":"https://github.com/brittinator/C3Projects--SeeMore/pull/37.patch","issue_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/issues/37","number":37,"state":"closed","locked":false,"title":"Ka/follow buttons","user":{"login":"lo-k","id":11022193,"avatar_url":"https://avatars.githubusercontent.com/u/11022193?v=3","gravatar_id":"","url":"https://api.github.com/users/lo-k","html_url":"https://github.com/lo-k","followers_url":"https://api.github.com/users/lo-k/followers","following_url":"https://api.github.com/users/lo-k/following{/other_user}","gists_url":"https://api.github.com/users/lo-k/gists{/gist_id}","starred_url":"https://api.github.com/users/lo-k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lo-k/subscriptions","organizations_url":"https://api.github.com/users/lo-k/orgs","repos_url":"https://api.github.com/users/lo-k/repos","events_url":"https://api.github.com/users/lo-k/events{/privacy}","received_events_url":"https://api.github.com/users/lo-k/received_events","type":"User","site_admin":false},"body":"Added conditionals to search results view to render different buttons based on aspects of the followee:\r\n\r\n- if the followee is a private Instagram user, then it renders a disabled 'private user' button that you cannot click on (since you can't follow their posts)\r\n- else if the current_user is already following a followee, then it render an 'unsubscribe' button by their name\r\n- else it renders the normal 'subscribe' button\r\n\r\nAlso made buttons consistently formatted.\r\n\r\n*Still need to enable the 'unsubscribe' functionality to that button though.","created_at":"2015-08-12T18:06:45Z","updated_at":"2015-08-12T18:07:24Z","closed_at":"2015-08-12T18:07:24Z","merged_at":"2015-08-12T18:07:24Z","merge_commit_sha":"a3f1fbccbadd62e3a19798b89678400c3a8ab8c7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/pulls/37/commits","review_comments_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/pulls/37/comments","review_comment_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/pulls/comments{/number}","comments_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/issues/37/comments","statuses_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/statuses/5878202f583458452ec5bfed4c16ae2f2d75106b","head":{"label":"brittinator:ka/follow-buttons","ref":"ka/follow-buttons","sha":"5878202f583458452ec5bfed4c16ae2f2d75106b","user":{"login":"brittinator","id":11141513,"avatar_url":"https://avatars.githubusercontent.com/u/11141513?v=3","gravatar_id":"","url":"https://api.github.com/users/brittinator","html_url":"https://github.com/brittinator","followers_url":"https://api.github.com/users/brittinator/followers","following_url":"https://api.github.com/users/brittinator/following{/other_user}","gists_url":"https://api.github.com/users/brittinator/gists{/gist_id}","starred_url":"https://api.github.com/users/brittinator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brittinator/subscriptions","organizations_url":"https://api.github.com/users/brittinator/orgs","repos_url":"https://api.github.com/users/brittinator/repos","events_url":"https://api.github.com/users/brittinator/events{/privacy}","received_events_url":"https://api.github.com/users/brittinator/received_events","type":"User","site_admin":false},"repo":{"id":40206863,"name":"C3Projects--SeeMore","full_name":"brittinator/C3Projects--SeeMore","owner":{"login":"brittinator","id":11141513,"avatar_url":"https://avatars.githubusercontent.com/u/11141513?v=3","gravatar_id":"","url":"https://api.github.com/users/brittinator","html_url":"https://github.com/brittinator","followers_url":"https://api.github.com/users/brittinator/followers","following_url":"https://api.github.com/users/brittinator/following{/other_user}","gists_url":"https://api.github.com/users/brittinator/gists{/gist_id}","starred_url":"https://api.github.com/users/brittinator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brittinator/subscriptions","organizations_url":"https://api.github.com/users/brittinator/orgs","repos_url":"https://api.github.com/users/brittinator/repos","events_url":"https://api.github.com/users/brittinator/events{/privacy}","received_events_url":"https://api.github.com/users/brittinator/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brittinator/C3Projects--SeeMore","description":"","fork":true,"url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore","forks_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/forks","keys_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/teams","hooks_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/hooks","issue_events_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/issues/events{/number}","events_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/events","assignees_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/assignees{/user}","branches_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/branches{/branch}","tags_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/tags","blobs_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/git/refs{/sha}","trees_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/statuses/{sha}","languages_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/languages","stargazers_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/stargazers","contributors_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/contributors","subscribers_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/subscribers","subscription_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/subscription","commits_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/commits{/sha}","git_commits_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/git/commits{/sha}","comments_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/comments{/number}","issue_comment_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/issues/comments{/number}","contents_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/contents/{+path}","compare_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/merges","archive_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/downloads","issues_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/issues{/number}","pulls_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/pulls{/number}","milestones_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/milestones{/number}","notifications_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/labels{/name}","releases_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/releases{/id}","created_at":"2015-08-04T20:14:46Z","updated_at":"2015-07-30T21:52:10Z","pushed_at":"2015-08-12T18:07:24Z","git_url":"git://github.com/brittinator/C3Projects--SeeMore.git","ssh_url":"git@github.com:brittinator/C3Projects--SeeMore.git","clone_url":"https://github.com/brittinator/C3Projects--SeeMore.git","svn_url":"https://github.com/brittinator/C3Projects--SeeMore","homepage":null,"size":2989,"stargazers_count":0,"watchers_count":0,"language":null,"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":"brittinator:FeedMe","ref":"FeedMe","sha":"bdcc15f37676f3f8d2193b11d1227253fa4e4177","user":{"login":"brittinator","id":11141513,"avatar_url":"https://avatars.githubusercontent.com/u/11141513?v=3","gravatar_id":"","url":"https://api.github.com/users/brittinator","html_url":"https://github.com/brittinator","followers_url":"https://api.github.com/users/brittinator/followers","following_url":"https://api.github.com/users/brittinator/following{/other_user}","gists_url":"https://api.github.com/users/brittinator/gists{/gist_id}","starred_url":"https://api.github.com/users/brittinator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brittinator/subscriptions","organizations_url":"https://api.github.com/users/brittinator/orgs","repos_url":"https://api.github.com/users/brittinator/repos","events_url":"https://api.github.com/users/brittinator/events{/privacy}","received_events_url":"https://api.github.com/users/brittinator/received_events","type":"User","site_admin":false},"repo":{"id":40206863,"name":"C3Projects--SeeMore","full_name":"brittinator/C3Projects--SeeMore","owner":{"login":"brittinator","id":11141513,"avatar_url":"https://avatars.githubusercontent.com/u/11141513?v=3","gravatar_id":"","url":"https://api.github.com/users/brittinator","html_url":"https://github.com/brittinator","followers_url":"https://api.github.com/users/brittinator/followers","following_url":"https://api.github.com/users/brittinator/following{/other_user}","gists_url":"https://api.github.com/users/brittinator/gists{/gist_id}","starred_url":"https://api.github.com/users/brittinator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brittinator/subscriptions","organizations_url":"https://api.github.com/users/brittinator/orgs","repos_url":"https://api.github.com/users/brittinator/repos","events_url":"https://api.github.com/users/brittinator/events{/privacy}","received_events_url":"https://api.github.com/users/brittinator/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brittinator/C3Projects--SeeMore","description":"","fork":true,"url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore","forks_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/forks","keys_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/teams","hooks_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/hooks","issue_events_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/issues/events{/number}","events_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/events","assignees_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/assignees{/user}","branches_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/branches{/branch}","tags_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/tags","blobs_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/git/refs{/sha}","trees_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/statuses/{sha}","languages_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/languages","stargazers_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/stargazers","contributors_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/contributors","subscribers_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/subscribers","subscription_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/subscription","commits_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/commits{/sha}","git_commits_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/git/commits{/sha}","comments_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/comments{/number}","issue_comment_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/issues/comments{/number}","contents_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/contents/{+path}","compare_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/merges","archive_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/downloads","issues_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/issues{/number}","pulls_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/pulls{/number}","milestones_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/milestones{/number}","notifications_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/labels{/name}","releases_url":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/releases{/id}","created_at":"2015-08-04T20:14:46Z","updated_at":"2015-07-30T21:52:10Z","pushed_at":"2015-08-12T18:07:24Z","git_url":"git://github.com/brittinator/C3Projects--SeeMore.git","ssh_url":"git@github.com:brittinator/C3Projects--SeeMore.git","clone_url":"https://github.com/brittinator/C3Projects--SeeMore.git","svn_url":"https://github.com/brittinator/C3Projects--SeeMore","homepage":null,"size":2989,"stargazers_count":0,"watchers_count":0,"language":null,"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"}},"_links":{"self":{"href":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/pulls/37"},"html":{"href":"https://github.com/brittinator/C3Projects--SeeMore/pull/37"},"issue":{"href":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/issues/37"},"comments":{"href":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/brittinator/C3Projects--SeeMore/statuses/5878202f583458452ec5bfed4c16ae2f2d75106b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"lo-k","id":11022193,"avatar_url":"https://avatars.githubusercontent.com/u/11022193?v=3","gravatar_id":"","url":"https://api.github.com/users/lo-k","html_url":"https://github.com/lo-k","followers_url":"https://api.github.com/users/lo-k/followers","following_url":"https://api.github.com/users/lo-k/following{/other_user}","gists_url":"https://api.github.com/users/lo-k/gists{/gist_id}","starred_url":"https://api.github.com/users/lo-k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lo-k/subscriptions","organizations_url":"https://api.github.com/users/lo-k/orgs","repos_url":"https://api.github.com/users/lo-k/repos","events_url":"https://api.github.com/users/lo-k/events{/privacy}","received_events_url":"https://api.github.com/users/lo-k/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":8,"additions":108,"deletions":61,"changed_files":4}}