{"action":"created","comment":{"url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/pulls/comments/53909834","id":53909834,"diff_hunk":"@@ -1,12 +1,29 @@\n-.row\n-  h2.show My profile\n-  .small-5.small-offset-2.columns\n+.row.main-content\n+  div\n     = image_tag @user.avatar.url(:medium)\n-  .small-5.columns.profile\n-    strong Name: \n-    = @user.first_name + ' ' + @user.last_name\n-    br\n-    strong E-mail: \n-    = @user.email\n+  .profile\n+    h2 #{@user.first_name + ' ' + @user.last_name}\n+    - if @user.try(:speaker?)\n+      .speaker-label Speaker\n+    .info\n+      - unless @user.title.nil?\n+        p #{@user.title}\n+      - unless @user.work_since.nil?\n+        p Started working #{distance_of_time_in_words(@user.work_since, DateTime.now.utc, include_seconds: false)} ago\n     br\n+    div.container\n+      h4 About\n+      - unless @user.desc.empty?\n+        p #{@user.desc}\n+      - else\n+        p No information yet\n     = link_to 'Edit profile', edit_user_path(current_user)\n+  div\n+    .container.info\n+      h3 Contacts\n+      = image_tag \"mail.png\"\n+      = @user.email\n+      - unless @user.phone.nil?\n+      br\n+        = image_tag \"phone.png\"","path":"app/views/users/show.html.slim","position":37,"original_position":37,"commit_id":"e82c8d60710c2eba4c71d8c45ef51788ca23797d","original_commit_id":"e82c8d60710c2eba4c71d8c45ef51788ca23797d","user":{"login":"brytannia","id":5286652,"avatar_url":"https://avatars.githubusercontent.com/u/5286652?v=3","gravatar_id":"","url":"https://api.github.com/users/brytannia","html_url":"https://github.com/brytannia","followers_url":"https://api.github.com/users/brytannia/followers","following_url":"https://api.github.com/users/brytannia/following{/other_user}","gists_url":"https://api.github.com/users/brytannia/gists{/gist_id}","starred_url":"https://api.github.com/users/brytannia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brytannia/subscriptions","organizations_url":"https://api.github.com/users/brytannia/orgs","repos_url":"https://api.github.com/users/brytannia/repos","events_url":"https://api.github.com/users/brytannia/events{/privacy}","received_events_url":"https://api.github.com/users/brytannia/received_events","type":"User","site_admin":false},"body":"in such cases you can use some icon fonts such as https://design.google.com/icons/ or https://fortawesome.github.io/Font-Awesome/","created_at":"2016-02-24T08:59:02Z","updated_at":"2016-02-24T08:59:02Z","html_url":"https://github.com/brytannia/sloboda-edu-dashboard/pull/39#discussion_r53909834","pull_request_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/pulls/39","_links":{"self":{"href":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/pulls/comments/53909834"},"html":{"href":"https://github.com/brytannia/sloboda-edu-dashboard/pull/39#discussion_r53909834"},"pull_request":{"href":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/pulls/39"}}},"pull_request":{"url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/pulls/39","id":60369047,"html_url":"https://github.com/brytannia/sloboda-edu-dashboard/pull/39","diff_url":"https://github.com/brytannia/sloboda-edu-dashboard/pull/39.diff","patch_url":"https://github.com/brytannia/sloboda-edu-dashboard/pull/39.patch","issue_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/issues/39","number":39,"state":"open","locked":false,"title":"Users improvements","user":{"login":"sparksofl","id":11320398,"avatar_url":"https://avatars.githubusercontent.com/u/11320398?v=3","gravatar_id":"","url":"https://api.github.com/users/sparksofl","html_url":"https://github.com/sparksofl","followers_url":"https://api.github.com/users/sparksofl/followers","following_url":"https://api.github.com/users/sparksofl/following{/other_user}","gists_url":"https://api.github.com/users/sparksofl/gists{/gist_id}","starred_url":"https://api.github.com/users/sparksofl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sparksofl/subscriptions","organizations_url":"https://api.github.com/users/sparksofl/orgs","repos_url":"https://api.github.com/users/sparksofl/repos","events_url":"https://api.github.com/users/sparksofl/events{/privacy}","received_events_url":"https://api.github.com/users/sparksofl/received_events","type":"User","site_admin":false},"body":"Added all of requested features\r\nProbably later there will be design improvements (depends on the comments)","created_at":"2016-02-23T16:38:52Z","updated_at":"2016-02-24T08:59:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0f537e72fbd2583215129eedd4501d20de4e269f","assignee":{"login":"brytannia","id":5286652,"avatar_url":"https://avatars.githubusercontent.com/u/5286652?v=3","gravatar_id":"","url":"https://api.github.com/users/brytannia","html_url":"https://github.com/brytannia","followers_url":"https://api.github.com/users/brytannia/followers","following_url":"https://api.github.com/users/brytannia/following{/other_user}","gists_url":"https://api.github.com/users/brytannia/gists{/gist_id}","starred_url":"https://api.github.com/users/brytannia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brytannia/subscriptions","organizations_url":"https://api.github.com/users/brytannia/orgs","repos_url":"https://api.github.com/users/brytannia/repos","events_url":"https://api.github.com/users/brytannia/events{/privacy}","received_events_url":"https://api.github.com/users/brytannia/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/pulls/39/commits","review_comments_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/pulls/39/comments","review_comment_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/pulls/comments{/number}","comments_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/issues/39/comments","statuses_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/statuses/e82c8d60710c2eba4c71d8c45ef51788ca23797d","head":{"label":"brytannia:users-improvements","ref":"users-improvements","sha":"e82c8d60710c2eba4c71d8c45ef51788ca23797d","user":{"login":"brytannia","id":5286652,"avatar_url":"https://avatars.githubusercontent.com/u/5286652?v=3","gravatar_id":"","url":"https://api.github.com/users/brytannia","html_url":"https://github.com/brytannia","followers_url":"https://api.github.com/users/brytannia/followers","following_url":"https://api.github.com/users/brytannia/following{/other_user}","gists_url":"https://api.github.com/users/brytannia/gists{/gist_id}","starred_url":"https://api.github.com/users/brytannia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brytannia/subscriptions","organizations_url":"https://api.github.com/users/brytannia/orgs","repos_url":"https://api.github.com/users/brytannia/repos","events_url":"https://api.github.com/users/brytannia/events{/privacy}","received_events_url":"https://api.github.com/users/brytannia/received_events","type":"User","site_admin":false},"repo":{"id":51135610,"name":"sloboda-edu-dashboard","full_name":"brytannia/sloboda-edu-dashboard","owner":{"login":"brytannia","id":5286652,"avatar_url":"https://avatars.githubusercontent.com/u/5286652?v=3","gravatar_id":"","url":"https://api.github.com/users/brytannia","html_url":"https://github.com/brytannia","followers_url":"https://api.github.com/users/brytannia/followers","following_url":"https://api.github.com/users/brytannia/following{/other_user}","gists_url":"https://api.github.com/users/brytannia/gists{/gist_id}","starred_url":"https://api.github.com/users/brytannia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brytannia/subscriptions","organizations_url":"https://api.github.com/users/brytannia/orgs","repos_url":"https://api.github.com/users/brytannia/repos","events_url":"https://api.github.com/users/brytannia/events{/privacy}","received_events_url":"https://api.github.com/users/brytannia/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brytannia/sloboda-edu-dashboard","description":"The front-page of Sloboda EDU project","fork":false,"url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard","forks_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/forks","keys_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/teams","hooks_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/hooks","issue_events_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/issues/events{/number}","events_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/events","assignees_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/assignees{/user}","branches_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/branches{/branch}","tags_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/tags","blobs_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/git/refs{/sha}","trees_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/statuses/{sha}","languages_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/languages","stargazers_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/stargazers","contributors_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/contributors","subscribers_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/subscribers","subscription_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/subscription","commits_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/commits{/sha}","git_commits_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/git/commits{/sha}","comments_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/comments{/number}","issue_comment_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/issues/comments{/number}","contents_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/contents/{+path}","compare_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/merges","archive_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/downloads","issues_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/issues{/number}","pulls_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/pulls{/number}","milestones_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/milestones{/number}","notifications_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/labels{/name}","releases_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/releases{/id}","deployments_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/deployments","created_at":"2016-02-05T08:43:25Z","updated_at":"2016-02-22T09:30:03Z","pushed_at":"2016-02-24T07:47:17Z","git_url":"git://github.com/brytannia/sloboda-edu-dashboard.git","ssh_url":"git@github.com:brytannia/sloboda-edu-dashboard.git","clone_url":"https://github.com/brytannia/sloboda-edu-dashboard.git","svn_url":"https://github.com/brytannia/sloboda-edu-dashboard","homepage":"https://sloboda-edu-dashboard.herokuapp.com","size":569,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":1,"default_branch":"master"}},"base":{"label":"brytannia:master","ref":"master","sha":"16428a48d81f39f7e10a6113f48c439f3c4f8434","user":{"login":"brytannia","id":5286652,"avatar_url":"https://avatars.githubusercontent.com/u/5286652?v=3","gravatar_id":"","url":"https://api.github.com/users/brytannia","html_url":"https://github.com/brytannia","followers_url":"https://api.github.com/users/brytannia/followers","following_url":"https://api.github.com/users/brytannia/following{/other_user}","gists_url":"https://api.github.com/users/brytannia/gists{/gist_id}","starred_url":"https://api.github.com/users/brytannia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brytannia/subscriptions","organizations_url":"https://api.github.com/users/brytannia/orgs","repos_url":"https://api.github.com/users/brytannia/repos","events_url":"https://api.github.com/users/brytannia/events{/privacy}","received_events_url":"https://api.github.com/users/brytannia/received_events","type":"User","site_admin":false},"repo":{"id":51135610,"name":"sloboda-edu-dashboard","full_name":"brytannia/sloboda-edu-dashboard","owner":{"login":"brytannia","id":5286652,"avatar_url":"https://avatars.githubusercontent.com/u/5286652?v=3","gravatar_id":"","url":"https://api.github.com/users/brytannia","html_url":"https://github.com/brytannia","followers_url":"https://api.github.com/users/brytannia/followers","following_url":"https://api.github.com/users/brytannia/following{/other_user}","gists_url":"https://api.github.com/users/brytannia/gists{/gist_id}","starred_url":"https://api.github.com/users/brytannia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brytannia/subscriptions","organizations_url":"https://api.github.com/users/brytannia/orgs","repos_url":"https://api.github.com/users/brytannia/repos","events_url":"https://api.github.com/users/brytannia/events{/privacy}","received_events_url":"https://api.github.com/users/brytannia/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brytannia/sloboda-edu-dashboard","description":"The front-page of Sloboda EDU project","fork":false,"url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard","forks_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/forks","keys_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/teams","hooks_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/hooks","issue_events_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/issues/events{/number}","events_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/events","assignees_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/assignees{/user}","branches_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/branches{/branch}","tags_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/tags","blobs_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/git/refs{/sha}","trees_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/statuses/{sha}","languages_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/languages","stargazers_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/stargazers","contributors_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/contributors","subscribers_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/subscribers","subscription_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/subscription","commits_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/commits{/sha}","git_commits_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/git/commits{/sha}","comments_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/comments{/number}","issue_comment_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/issues/comments{/number}","contents_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/contents/{+path}","compare_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/merges","archive_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/downloads","issues_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/issues{/number}","pulls_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/pulls{/number}","milestones_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/milestones{/number}","notifications_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/labels{/name}","releases_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/releases{/id}","deployments_url":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/deployments","created_at":"2016-02-05T08:43:25Z","updated_at":"2016-02-22T09:30:03Z","pushed_at":"2016-02-24T07:47:17Z","git_url":"git://github.com/brytannia/sloboda-edu-dashboard.git","ssh_url":"git@github.com:brytannia/sloboda-edu-dashboard.git","clone_url":"https://github.com/brytannia/sloboda-edu-dashboard.git","svn_url":"https://github.com/brytannia/sloboda-edu-dashboard","homepage":"https://sloboda-edu-dashboard.herokuapp.com","size":569,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/pulls/39"},"html":{"href":"https://github.com/brytannia/sloboda-edu-dashboard/pull/39"},"issue":{"href":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/issues/39"},"comments":{"href":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/issues/39/comments"},"review_comments":{"href":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/pulls/39/comments"},"review_comment":{"href":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/pulls/39/commits"},"statuses":{"href":"https://api.github.com/repos/brytannia/sloboda-edu-dashboard/statuses/e82c8d60710c2eba4c71d8c45ef51788ca23797d"}}}}