{"action":"created","comment":{"url":"https://api.github.com/repos/cbitstech/social_networking/pulls/comments/34516919","id":34516919,"diff_hunk":"@@ -59,65 +59,90 @@\n         class=\"list-group-item\"\n         id=\"{{ item.className }}-{{ item.id }}\">\n       <p>\n-        <div ng-if=\"!item.data.summary.length\">\n-          <img width=\"40px;\" ng-src=\"{{ home.profileIconSrcFor(item) }}\"> {{ item.summary }}\n+        <div class=\"media feed-item-displayname\" ng-if=\"!item.data.summary.length\">\n+          <div ng-if=\"item.isAdmin\" class=\"media-left\">\n+            <img width=\"40px\" src=\"{{ home.profileIconSrcFor(item) }}\">","path":"app/views/social_networking/homes/show.html.erb","position":17,"original_position":17,"commit_id":"4b87e3274f1adf3df8bf931720b8aaa222ca3b92","original_commit_id":"4b87e3274f1adf3df8bf931720b8aaa222ca3b92","user":{"login":"ericcf","id":58693,"avatar_url":"https://avatars.githubusercontent.com/u/58693?v=3","gravatar_id":"","url":"https://api.github.com/users/ericcf","html_url":"https://github.com/ericcf","followers_url":"https://api.github.com/users/ericcf/followers","following_url":"https://api.github.com/users/ericcf/following{/other_user}","gists_url":"https://api.github.com/users/ericcf/gists{/gist_id}","starred_url":"https://api.github.com/users/ericcf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericcf/subscriptions","organizations_url":"https://api.github.com/users/ericcf/orgs","repos_url":"https://api.github.com/users/ericcf/repos","events_url":"https://api.github.com/users/ericcf/events{/privacy}","received_events_url":"https://api.github.com/users/ericcf/received_events","type":"User","site_admin":false},"body":"What do you think about adding a CSS class for images with width=40px?","created_at":"2015-07-13T21:57:05Z","updated_at":"2015-07-13T21:57:05Z","html_url":"https://github.com/cbitstech/social_networking/pull/44#discussion_r34516919","pull_request_url":"https://api.github.com/repos/cbitstech/social_networking/pulls/44","_links":{"self":{"href":"https://api.github.com/repos/cbitstech/social_networking/pulls/comments/34516919"},"html":{"href":"https://github.com/cbitstech/social_networking/pull/44#discussion_r34516919"},"pull_request":{"href":"https://api.github.com/repos/cbitstech/social_networking/pulls/44"}}},"pull_request":{"url":"https://api.github.com/repos/cbitstech/social_networking/pulls/44","id":39825257,"html_url":"https://github.com/cbitstech/social_networking/pull/44","diff_url":"https://github.com/cbitstech/social_networking/pull/44.diff","patch_url":"https://github.com/cbitstech/social_networking/pull/44.patch","issue_url":"https://api.github.com/repos/cbitstech/social_networking/issues/44","number":44,"state":"open","locked":false,"title":"Cl 98682348 implement mobile feed layout change","user":{"login":"Wrenderer","id":5312425,"avatar_url":"https://avatars.githubusercontent.com/u/5312425?v=3","gravatar_id":"","url":"https://api.github.com/users/Wrenderer","html_url":"https://github.com/Wrenderer","followers_url":"https://api.github.com/users/Wrenderer/followers","following_url":"https://api.github.com/users/Wrenderer/following{/other_user}","gists_url":"https://api.github.com/users/Wrenderer/gists{/gist_id}","starred_url":"https://api.github.com/users/Wrenderer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wrenderer/subscriptions","organizations_url":"https://api.github.com/users/Wrenderer/orgs","repos_url":"https://api.github.com/users/Wrenderer/repos","events_url":"https://api.github.com/users/Wrenderer/events{/privacy}","received_events_url":"https://api.github.com/users/Wrenderer/received_events","type":"User","site_admin":false},"body":"Implement feed design changes based on mockups\r\n * Implement design change of feed based on mockups - icons to words\r\n * Modify feeds to only show icons of admins/moderators\r\n * Feed functionality modifications to match mockup design\r\n    * Add `isAdmin` property to multiple serializer classes; returns if author is admin\r\n    * Merge \"add comment\" and \"view comment\" buttons into one.\r\n    * Copy comment form from main page feed to profile page feed where it was missing\r\n    * Modify new comment button/implementation so that one click will both show comments and allow commenting\r\n    * Modify new like button/implementation to be able to show current likes and add a like without multiple tags\r\n * Add css class `.pipespace` for the separating pipes in feed text\r\n * Add css class `.feed_action_btn` to re-add pointer cursor to like/comment links in feed\r\n * Add css class `.post_extra_info` which indents likes, comments, etc. inside feed item\r\n * Add `.feed-item-displayname` class back to feed item titles\r\nMerge branch 'master' into cl_98682348_implement_mobile_feed_layout_change\r\n * Add blank href to all non-navigation feed `a` tags\r\n * Merge master\r\n * Remove commented out code\r\n * Add new `is_admin` and `participant` variables to controller specs to get them passing again.","created_at":"2015-07-13T15:39:44Z","updated_at":"2015-07-13T21:57:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0360d30e36afcf4e02a24ff2eec75eb774567bbb","assignee":{"login":"ericcf","id":58693,"avatar_url":"https://avatars.githubusercontent.com/u/58693?v=3","gravatar_id":"","url":"https://api.github.com/users/ericcf","html_url":"https://github.com/ericcf","followers_url":"https://api.github.com/users/ericcf/followers","following_url":"https://api.github.com/users/ericcf/following{/other_user}","gists_url":"https://api.github.com/users/ericcf/gists{/gist_id}","starred_url":"https://api.github.com/users/ericcf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericcf/subscriptions","organizations_url":"https://api.github.com/users/ericcf/orgs","repos_url":"https://api.github.com/users/ericcf/repos","events_url":"https://api.github.com/users/ericcf/events{/privacy}","received_events_url":"https://api.github.com/users/ericcf/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/cbitstech/social_networking/pulls/44/commits","review_comments_url":"https://api.github.com/repos/cbitstech/social_networking/pulls/44/comments","review_comment_url":"https://api.github.com/repos/cbitstech/social_networking/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cbitstech/social_networking/issues/44/comments","statuses_url":"https://api.github.com/repos/cbitstech/social_networking/statuses/4b87e3274f1adf3df8bf931720b8aaa222ca3b92","head":{"label":"cbitstech:cl_98682348_implement_mobile_feed_layout_change","ref":"cl_98682348_implement_mobile_feed_layout_change","sha":"4b87e3274f1adf3df8bf931720b8aaa222ca3b92","user":{"login":"cbitstech","id":864362,"avatar_url":"https://avatars.githubusercontent.com/u/864362?v=3","gravatar_id":"","url":"https://api.github.com/users/cbitstech","html_url":"https://github.com/cbitstech","followers_url":"https://api.github.com/users/cbitstech/followers","following_url":"https://api.github.com/users/cbitstech/following{/other_user}","gists_url":"https://api.github.com/users/cbitstech/gists{/gist_id}","starred_url":"https://api.github.com/users/cbitstech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbitstech/subscriptions","organizations_url":"https://api.github.com/users/cbitstech/orgs","repos_url":"https://api.github.com/users/cbitstech/repos","events_url":"https://api.github.com/users/cbitstech/events{/privacy}","received_events_url":"https://api.github.com/users/cbitstech/received_events","type":"User","site_admin":false},"repo":{"id":23404675,"name":"social_networking","full_name":"cbitstech/social_networking","owner":{"login":"cbitstech","id":864362,"avatar_url":"https://avatars.githubusercontent.com/u/864362?v=3","gravatar_id":"","url":"https://api.github.com/users/cbitstech","html_url":"https://github.com/cbitstech","followers_url":"https://api.github.com/users/cbitstech/followers","following_url":"https://api.github.com/users/cbitstech/following{/other_user}","gists_url":"https://api.github.com/users/cbitstech/gists{/gist_id}","starred_url":"https://api.github.com/users/cbitstech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbitstech/subscriptions","organizations_url":"https://api.github.com/users/cbitstech/orgs","repos_url":"https://api.github.com/users/cbitstech/repos","events_url":"https://api.github.com/users/cbitstech/events{/privacy}","received_events_url":"https://api.github.com/users/cbitstech/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cbitstech/social_networking","description":"","fork":false,"url":"https://api.github.com/repos/cbitstech/social_networking","forks_url":"https://api.github.com/repos/cbitstech/social_networking/forks","keys_url":"https://api.github.com/repos/cbitstech/social_networking/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cbitstech/social_networking/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cbitstech/social_networking/teams","hooks_url":"https://api.github.com/repos/cbitstech/social_networking/hooks","issue_events_url":"https://api.github.com/repos/cbitstech/social_networking/issues/events{/number}","events_url":"https://api.github.com/repos/cbitstech/social_networking/events","assignees_url":"https://api.github.com/repos/cbitstech/social_networking/assignees{/user}","branches_url":"https://api.github.com/repos/cbitstech/social_networking/branches{/branch}","tags_url":"https://api.github.com/repos/cbitstech/social_networking/tags","blobs_url":"https://api.github.com/repos/cbitstech/social_networking/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cbitstech/social_networking/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cbitstech/social_networking/git/refs{/sha}","trees_url":"https://api.github.com/repos/cbitstech/social_networking/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cbitstech/social_networking/statuses/{sha}","languages_url":"https://api.github.com/repos/cbitstech/social_networking/languages","stargazers_url":"https://api.github.com/repos/cbitstech/social_networking/stargazers","contributors_url":"https://api.github.com/repos/cbitstech/social_networking/contributors","subscribers_url":"https://api.github.com/repos/cbitstech/social_networking/subscribers","subscription_url":"https://api.github.com/repos/cbitstech/social_networking/subscription","commits_url":"https://api.github.com/repos/cbitstech/social_networking/commits{/sha}","git_commits_url":"https://api.github.com/repos/cbitstech/social_networking/git/commits{/sha}","comments_url":"https://api.github.com/repos/cbitstech/social_networking/comments{/number}","issue_comment_url":"https://api.github.com/repos/cbitstech/social_networking/issues/comments{/number}","contents_url":"https://api.github.com/repos/cbitstech/social_networking/contents/{+path}","compare_url":"https://api.github.com/repos/cbitstech/social_networking/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cbitstech/social_networking/merges","archive_url":"https://api.github.com/repos/cbitstech/social_networking/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cbitstech/social_networking/downloads","issues_url":"https://api.github.com/repos/cbitstech/social_networking/issues{/number}","pulls_url":"https://api.github.com/repos/cbitstech/social_networking/pulls{/number}","milestones_url":"https://api.github.com/repos/cbitstech/social_networking/milestones{/number}","notifications_url":"https://api.github.com/repos/cbitstech/social_networking/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cbitstech/social_networking/labels{/name}","releases_url":"https://api.github.com/repos/cbitstech/social_networking/releases{/id}","created_at":"2014-08-27T20:38:20Z","updated_at":"2015-07-07T19:27:40Z","pushed_at":"2015-07-13T19:29:45Z","git_url":"git://github.com/cbitstech/social_networking.git","ssh_url":"git@github.com:cbitstech/social_networking.git","clone_url":"https://github.com/cbitstech/social_networking.git","svn_url":"https://github.com/cbitstech/social_networking","homepage":null,"size":3124,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"cbitstech:master","ref":"master","sha":"dce75e5e5bd6e7770ea998739d4a8a0edcd70b6c","user":{"login":"cbitstech","id":864362,"avatar_url":"https://avatars.githubusercontent.com/u/864362?v=3","gravatar_id":"","url":"https://api.github.com/users/cbitstech","html_url":"https://github.com/cbitstech","followers_url":"https://api.github.com/users/cbitstech/followers","following_url":"https://api.github.com/users/cbitstech/following{/other_user}","gists_url":"https://api.github.com/users/cbitstech/gists{/gist_id}","starred_url":"https://api.github.com/users/cbitstech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbitstech/subscriptions","organizations_url":"https://api.github.com/users/cbitstech/orgs","repos_url":"https://api.github.com/users/cbitstech/repos","events_url":"https://api.github.com/users/cbitstech/events{/privacy}","received_events_url":"https://api.github.com/users/cbitstech/received_events","type":"User","site_admin":false},"repo":{"id":23404675,"name":"social_networking","full_name":"cbitstech/social_networking","owner":{"login":"cbitstech","id":864362,"avatar_url":"https://avatars.githubusercontent.com/u/864362?v=3","gravatar_id":"","url":"https://api.github.com/users/cbitstech","html_url":"https://github.com/cbitstech","followers_url":"https://api.github.com/users/cbitstech/followers","following_url":"https://api.github.com/users/cbitstech/following{/other_user}","gists_url":"https://api.github.com/users/cbitstech/gists{/gist_id}","starred_url":"https://api.github.com/users/cbitstech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbitstech/subscriptions","organizations_url":"https://api.github.com/users/cbitstech/orgs","repos_url":"https://api.github.com/users/cbitstech/repos","events_url":"https://api.github.com/users/cbitstech/events{/privacy}","received_events_url":"https://api.github.com/users/cbitstech/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cbitstech/social_networking","description":"","fork":false,"url":"https://api.github.com/repos/cbitstech/social_networking","forks_url":"https://api.github.com/repos/cbitstech/social_networking/forks","keys_url":"https://api.github.com/repos/cbitstech/social_networking/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cbitstech/social_networking/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cbitstech/social_networking/teams","hooks_url":"https://api.github.com/repos/cbitstech/social_networking/hooks","issue_events_url":"https://api.github.com/repos/cbitstech/social_networking/issues/events{/number}","events_url":"https://api.github.com/repos/cbitstech/social_networking/events","assignees_url":"https://api.github.com/repos/cbitstech/social_networking/assignees{/user}","branches_url":"https://api.github.com/repos/cbitstech/social_networking/branches{/branch}","tags_url":"https://api.github.com/repos/cbitstech/social_networking/tags","blobs_url":"https://api.github.com/repos/cbitstech/social_networking/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cbitstech/social_networking/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cbitstech/social_networking/git/refs{/sha}","trees_url":"https://api.github.com/repos/cbitstech/social_networking/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cbitstech/social_networking/statuses/{sha}","languages_url":"https://api.github.com/repos/cbitstech/social_networking/languages","stargazers_url":"https://api.github.com/repos/cbitstech/social_networking/stargazers","contributors_url":"https://api.github.com/repos/cbitstech/social_networking/contributors","subscribers_url":"https://api.github.com/repos/cbitstech/social_networking/subscribers","subscription_url":"https://api.github.com/repos/cbitstech/social_networking/subscription","commits_url":"https://api.github.com/repos/cbitstech/social_networking/commits{/sha}","git_commits_url":"https://api.github.com/repos/cbitstech/social_networking/git/commits{/sha}","comments_url":"https://api.github.com/repos/cbitstech/social_networking/comments{/number}","issue_comment_url":"https://api.github.com/repos/cbitstech/social_networking/issues/comments{/number}","contents_url":"https://api.github.com/repos/cbitstech/social_networking/contents/{+path}","compare_url":"https://api.github.com/repos/cbitstech/social_networking/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cbitstech/social_networking/merges","archive_url":"https://api.github.com/repos/cbitstech/social_networking/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cbitstech/social_networking/downloads","issues_url":"https://api.github.com/repos/cbitstech/social_networking/issues{/number}","pulls_url":"https://api.github.com/repos/cbitstech/social_networking/pulls{/number}","milestones_url":"https://api.github.com/repos/cbitstech/social_networking/milestones{/number}","notifications_url":"https://api.github.com/repos/cbitstech/social_networking/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cbitstech/social_networking/labels{/name}","releases_url":"https://api.github.com/repos/cbitstech/social_networking/releases{/id}","created_at":"2014-08-27T20:38:20Z","updated_at":"2015-07-07T19:27:40Z","pushed_at":"2015-07-13T19:29:45Z","git_url":"git://github.com/cbitstech/social_networking.git","ssh_url":"git@github.com:cbitstech/social_networking.git","clone_url":"https://github.com/cbitstech/social_networking.git","svn_url":"https://github.com/cbitstech/social_networking","homepage":null,"size":3124,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cbitstech/social_networking/pulls/44"},"html":{"href":"https://github.com/cbitstech/social_networking/pull/44"},"issue":{"href":"https://api.github.com/repos/cbitstech/social_networking/issues/44"},"comments":{"href":"https://api.github.com/repos/cbitstech/social_networking/issues/44/comments"},"review_comments":{"href":"https://api.github.com/repos/cbitstech/social_networking/pulls/44/comments"},"review_comment":{"href":"https://api.github.com/repos/cbitstech/social_networking/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cbitstech/social_networking/pulls/44/commits"},"statuses":{"href":"https://api.github.com/repos/cbitstech/social_networking/statuses/4b87e3274f1adf3df8bf931720b8aaa222ca3b92"}}}}