{"action":"created","comment":{"url":"https://api.github.com/repos/netguru-training/meecon/pulls/comments/25426095","id":25426095,"diff_hunk":"@@ -10,14 +10,14 @@\n             New event\n         %li\n           %p.navbar-text\n+            = image_tag current_user.image, size: '20x20', alt: \"Profile image\"\n             = current_user.name\n-            \n-            = link_to logout_path do\n-              %i.fa.fa-sign-out\n-              Sign out\n+        %li\n+          = link_to logout_path do\n+            %i.fa.fa-sign-out","path":"app/views/application/_navbar.haml","position":21,"original_position":21,"commit_id":"4ae94b606cd79e9d5e8ad8114dc91a9228032428","original_commit_id":"4ae94b606cd79e9d5e8ad8114dc91a9228032428","user":{"login":"neosb","id":3619403,"avatar_url":"https://avatars.githubusercontent.com/u/3619403?v=3","gravatar_id":"","url":"https://api.github.com/users/neosb","html_url":"https://github.com/neosb","followers_url":"https://api.github.com/users/neosb/followers","following_url":"https://api.github.com/users/neosb/following{/other_user}","gists_url":"https://api.github.com/users/neosb/gists{/gist_id}","starred_url":"https://api.github.com/users/neosb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neosb/subscriptions","organizations_url":"https://api.github.com/users/neosb/orgs","repos_url":"https://api.github.com/users/neosb/repos","events_url":"https://api.github.com/users/neosb/events{/privacy}","received_events_url":"https://api.github.com/users/neosb/received_events","type":"User","site_admin":false},"body":"In gem `font-awesome-sass` there is a helper method `icon 'plus', 'Add something', class: 'my-class', id: 'my-id'` which will output icon with text. You could omit the `'Add something'` string to output just icon in your view.","created_at":"2015-02-26T13:32:50Z","updated_at":"2015-02-26T13:32:50Z","html_url":"https://github.com/netguru-training/meecon/pull/2#discussion_r25426095","pull_request_url":"https://api.github.com/repos/netguru-training/meecon/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/netguru-training/meecon/pulls/comments/25426095"},"html":{"href":"https://github.com/netguru-training/meecon/pull/2#discussion_r25426095"},"pull_request":{"href":"https://api.github.com/repos/netguru-training/meecon/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/netguru-training/meecon/pulls/2","id":30038402,"html_url":"https://github.com/netguru-training/meecon/pull/2","diff_url":"https://github.com/netguru-training/meecon/pull/2.diff","patch_url":"https://github.com/netguru-training/meecon/pull/2.patch","issue_url":"https://api.github.com/repos/netguru-training/meecon/issues/2","number":2,"state":"open","locked":false,"title":"Feature: profile picture in navbar for logged in users","user":{"login":"neosb","id":3619403,"avatar_url":"https://avatars.githubusercontent.com/u/3619403?v=3","gravatar_id":"","url":"https://api.github.com/users/neosb","html_url":"https://github.com/neosb","followers_url":"https://api.github.com/users/neosb/followers","following_url":"https://api.github.com/users/neosb/following{/other_user}","gists_url":"https://api.github.com/users/neosb/gists{/gist_id}","starred_url":"https://api.github.com/users/neosb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neosb/subscriptions","organizations_url":"https://api.github.com/users/neosb/orgs","repos_url":"https://api.github.com/users/neosb/repos","events_url":"https://api.github.com/users/neosb/events{/privacy}","received_events_url":"https://api.github.com/users/neosb/received_events","type":"User","site_admin":false},"body":"For users that logs in, for their convenience, there is now a Facebook profile picture in navbar next to their Facebook name. Avatar is 20 pixel high and 20 pixels wide, thus rather small, but it doesn't stand out beetween list items. I have added a css class to `ul` making the list look horizontally aligned. This changes apply to `_navbar.haml`.\r\n\r\nI have also changed `layout.scss` stylesheet to display text better using 15 pixel font size for part on the left and 500 font-weight for all elements of navbar, so that they are more readable.\r\n\r\nThere are also changes added bootstrap classes to `_event.haml` partial and `events#show` action.","created_at":"2015-02-26T00:00:18Z","updated_at":"2015-02-26T13:32:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4cca8ea9a1aa34d08f8dfaf261dfe3f2285bd3ce","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/netguru-training/meecon/pulls/2/commits","review_comments_url":"https://api.github.com/repos/netguru-training/meecon/pulls/2/comments","review_comment_url":"https://api.github.com/repos/netguru-training/meecon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/netguru-training/meecon/issues/2/comments","statuses_url":"https://api.github.com/repos/netguru-training/meecon/statuses/4ae94b606cd79e9d5e8ad8114dc91a9228032428","head":{"label":"netguru-training:feature/profile-picture-navbar","ref":"feature/profile-picture-navbar","sha":"4ae94b606cd79e9d5e8ad8114dc91a9228032428","user":{"login":"netguru-training","id":6738508,"avatar_url":"https://avatars.githubusercontent.com/u/6738508?v=3","gravatar_id":"","url":"https://api.github.com/users/netguru-training","html_url":"https://github.com/netguru-training","followers_url":"https://api.github.com/users/netguru-training/followers","following_url":"https://api.github.com/users/netguru-training/following{/other_user}","gists_url":"https://api.github.com/users/netguru-training/gists{/gist_id}","starred_url":"https://api.github.com/users/netguru-training/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netguru-training/subscriptions","organizations_url":"https://api.github.com/users/netguru-training/orgs","repos_url":"https://api.github.com/users/netguru-training/repos","events_url":"https://api.github.com/users/netguru-training/events{/privacy}","received_events_url":"https://api.github.com/users/netguru-training/received_events","type":"Organization","site_admin":false},"repo":{"id":31120021,"name":"meecon","full_name":"netguru-training/meecon","owner":{"login":"netguru-training","id":6738508,"avatar_url":"https://avatars.githubusercontent.com/u/6738508?v=3","gravatar_id":"","url":"https://api.github.com/users/netguru-training","html_url":"https://github.com/netguru-training","followers_url":"https://api.github.com/users/netguru-training/followers","following_url":"https://api.github.com/users/netguru-training/following{/other_user}","gists_url":"https://api.github.com/users/netguru-training/gists{/gist_id}","starred_url":"https://api.github.com/users/netguru-training/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netguru-training/subscriptions","organizations_url":"https://api.github.com/users/netguru-training/orgs","repos_url":"https://api.github.com/users/netguru-training/repos","events_url":"https://api.github.com/users/netguru-training/events{/privacy}","received_events_url":"https://api.github.com/users/netguru-training/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/netguru-training/meecon","description":"","fork":false,"url":"https://api.github.com/repos/netguru-training/meecon","forks_url":"https://api.github.com/repos/netguru-training/meecon/forks","keys_url":"https://api.github.com/repos/netguru-training/meecon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/netguru-training/meecon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/netguru-training/meecon/teams","hooks_url":"https://api.github.com/repos/netguru-training/meecon/hooks","issue_events_url":"https://api.github.com/repos/netguru-training/meecon/issues/events{/number}","events_url":"https://api.github.com/repos/netguru-training/meecon/events","assignees_url":"https://api.github.com/repos/netguru-training/meecon/assignees{/user}","branches_url":"https://api.github.com/repos/netguru-training/meecon/branches{/branch}","tags_url":"https://api.github.com/repos/netguru-training/meecon/tags","blobs_url":"https://api.github.com/repos/netguru-training/meecon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/netguru-training/meecon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/netguru-training/meecon/git/refs{/sha}","trees_url":"https://api.github.com/repos/netguru-training/meecon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/netguru-training/meecon/statuses/{sha}","languages_url":"https://api.github.com/repos/netguru-training/meecon/languages","stargazers_url":"https://api.github.com/repos/netguru-training/meecon/stargazers","contributors_url":"https://api.github.com/repos/netguru-training/meecon/contributors","subscribers_url":"https://api.github.com/repos/netguru-training/meecon/subscribers","subscription_url":"https://api.github.com/repos/netguru-training/meecon/subscription","commits_url":"https://api.github.com/repos/netguru-training/meecon/commits{/sha}","git_commits_url":"https://api.github.com/repos/netguru-training/meecon/git/commits{/sha}","comments_url":"https://api.github.com/repos/netguru-training/meecon/comments{/number}","issue_comment_url":"https://api.github.com/repos/netguru-training/meecon/issues/comments{/number}","contents_url":"https://api.github.com/repos/netguru-training/meecon/contents/{+path}","compare_url":"https://api.github.com/repos/netguru-training/meecon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/netguru-training/meecon/merges","archive_url":"https://api.github.com/repos/netguru-training/meecon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/netguru-training/meecon/downloads","issues_url":"https://api.github.com/repos/netguru-training/meecon/issues{/number}","pulls_url":"https://api.github.com/repos/netguru-training/meecon/pulls{/number}","milestones_url":"https://api.github.com/repos/netguru-training/meecon/milestones{/number}","notifications_url":"https://api.github.com/repos/netguru-training/meecon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/netguru-training/meecon/labels{/name}","releases_url":"https://api.github.com/repos/netguru-training/meecon/releases{/id}","created_at":"2015-02-21T08:48:02Z","updated_at":"2015-02-26T13:01:29Z","pushed_at":"2015-02-26T13:09:46Z","git_url":"git://github.com/netguru-training/meecon.git","ssh_url":"git@github.com:netguru-training/meecon.git","clone_url":"https://github.com/netguru-training/meecon.git","svn_url":"https://github.com/netguru-training/meecon","homepage":null,"size":348,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"netguru-training:master","ref":"master","sha":"b7365fe2c9ba63b1bc63044b18bb32558bd14341","user":{"login":"netguru-training","id":6738508,"avatar_url":"https://avatars.githubusercontent.com/u/6738508?v=3","gravatar_id":"","url":"https://api.github.com/users/netguru-training","html_url":"https://github.com/netguru-training","followers_url":"https://api.github.com/users/netguru-training/followers","following_url":"https://api.github.com/users/netguru-training/following{/other_user}","gists_url":"https://api.github.com/users/netguru-training/gists{/gist_id}","starred_url":"https://api.github.com/users/netguru-training/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netguru-training/subscriptions","organizations_url":"https://api.github.com/users/netguru-training/orgs","repos_url":"https://api.github.com/users/netguru-training/repos","events_url":"https://api.github.com/users/netguru-training/events{/privacy}","received_events_url":"https://api.github.com/users/netguru-training/received_events","type":"Organization","site_admin":false},"repo":{"id":31120021,"name":"meecon","full_name":"netguru-training/meecon","owner":{"login":"netguru-training","id":6738508,"avatar_url":"https://avatars.githubusercontent.com/u/6738508?v=3","gravatar_id":"","url":"https://api.github.com/users/netguru-training","html_url":"https://github.com/netguru-training","followers_url":"https://api.github.com/users/netguru-training/followers","following_url":"https://api.github.com/users/netguru-training/following{/other_user}","gists_url":"https://api.github.com/users/netguru-training/gists{/gist_id}","starred_url":"https://api.github.com/users/netguru-training/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netguru-training/subscriptions","organizations_url":"https://api.github.com/users/netguru-training/orgs","repos_url":"https://api.github.com/users/netguru-training/repos","events_url":"https://api.github.com/users/netguru-training/events{/privacy}","received_events_url":"https://api.github.com/users/netguru-training/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/netguru-training/meecon","description":"","fork":false,"url":"https://api.github.com/repos/netguru-training/meecon","forks_url":"https://api.github.com/repos/netguru-training/meecon/forks","keys_url":"https://api.github.com/repos/netguru-training/meecon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/netguru-training/meecon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/netguru-training/meecon/teams","hooks_url":"https://api.github.com/repos/netguru-training/meecon/hooks","issue_events_url":"https://api.github.com/repos/netguru-training/meecon/issues/events{/number}","events_url":"https://api.github.com/repos/netguru-training/meecon/events","assignees_url":"https://api.github.com/repos/netguru-training/meecon/assignees{/user}","branches_url":"https://api.github.com/repos/netguru-training/meecon/branches{/branch}","tags_url":"https://api.github.com/repos/netguru-training/meecon/tags","blobs_url":"https://api.github.com/repos/netguru-training/meecon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/netguru-training/meecon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/netguru-training/meecon/git/refs{/sha}","trees_url":"https://api.github.com/repos/netguru-training/meecon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/netguru-training/meecon/statuses/{sha}","languages_url":"https://api.github.com/repos/netguru-training/meecon/languages","stargazers_url":"https://api.github.com/repos/netguru-training/meecon/stargazers","contributors_url":"https://api.github.com/repos/netguru-training/meecon/contributors","subscribers_url":"https://api.github.com/repos/netguru-training/meecon/subscribers","subscription_url":"https://api.github.com/repos/netguru-training/meecon/subscription","commits_url":"https://api.github.com/repos/netguru-training/meecon/commits{/sha}","git_commits_url":"https://api.github.com/repos/netguru-training/meecon/git/commits{/sha}","comments_url":"https://api.github.com/repos/netguru-training/meecon/comments{/number}","issue_comment_url":"https://api.github.com/repos/netguru-training/meecon/issues/comments{/number}","contents_url":"https://api.github.com/repos/netguru-training/meecon/contents/{+path}","compare_url":"https://api.github.com/repos/netguru-training/meecon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/netguru-training/meecon/merges","archive_url":"https://api.github.com/repos/netguru-training/meecon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/netguru-training/meecon/downloads","issues_url":"https://api.github.com/repos/netguru-training/meecon/issues{/number}","pulls_url":"https://api.github.com/repos/netguru-training/meecon/pulls{/number}","milestones_url":"https://api.github.com/repos/netguru-training/meecon/milestones{/number}","notifications_url":"https://api.github.com/repos/netguru-training/meecon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/netguru-training/meecon/labels{/name}","releases_url":"https://api.github.com/repos/netguru-training/meecon/releases{/id}","created_at":"2015-02-21T08:48:02Z","updated_at":"2015-02-26T13:01:29Z","pushed_at":"2015-02-26T13:09:46Z","git_url":"git://github.com/netguru-training/meecon.git","ssh_url":"git@github.com:netguru-training/meecon.git","clone_url":"https://github.com/netguru-training/meecon.git","svn_url":"https://github.com/netguru-training/meecon","homepage":null,"size":348,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/netguru-training/meecon/pulls/2"},"html":{"href":"https://github.com/netguru-training/meecon/pull/2"},"issue":{"href":"https://api.github.com/repos/netguru-training/meecon/issues/2"},"comments":{"href":"https://api.github.com/repos/netguru-training/meecon/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/netguru-training/meecon/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/netguru-training/meecon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/netguru-training/meecon/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/netguru-training/meecon/statuses/4ae94b606cd79e9d5e8ad8114dc91a9228032428"}}}}