{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/fels_192/pulls/comments/83531016","pull_request_review_id":4371439,"id":83531016,"diff_hunk":"@@ -0,0 +1,34 @@\n+<% provide :title, t(\"all_user_title\") %>\n+<div id=\"wrapper\" >\n+  <%= render \"layouts/admin/menu.html.erb\" %>\n+  <div id=\"page-content-wrapper\">\n+    <div class=\"container-fluid\">\n+      <div class=\"row\">\n+        <div class=\"col-lg-12\">\n+          <h1><%= t \"all_user_index\" %></h1>\n+          <div class=\"w3-container\">\n+            <%= will_paginate %>\n+            <ul class=\"w3-ul w3-card-4\">\n+              <% @users.each do |user| %>\n+                <li class=\"w3-padding-16\">\n+                  <img class=\"w3-left w3-circle w3-margin-right\"\n+                    style=\"width:60px\"><%= gravatar_for user, size: 50 %></img>\n+                  <span class=\"w3-xlarge\"><%= link_to user.name, user %></span>\n+                  <br>\n+                  <span><%= t \"name_user_member\" %></span>\n+                  <% if current_user.is_admin? && !user.is_user?(user) %>\n+                    | <%= link_to t(:delete_user), user, method: :delete,\n+                    data: { confirm: t(:\"sure_delete\") } %>\n+                  <% end %>\n+                </li>\n+              <% end %>\n+            </ul>\n+            <%= will_paginate %>\n+          </div>\n+        </div>\n+      </div>\n+    </div>\n+  </div>\n+</div>\n+\n+","path":"app/views/users/index.html.erb","position":34,"original_position":34,"commit_id":"58fea614b0ed321fab47fc842103b6bb26aa232e","original_commit_id":"58fea614b0ed321fab47fc842103b6bb26aa232e","user":{"login":"phamvanbk11","id":10772245,"avatar_url":"https://avatars.githubusercontent.com/u/10772245?v=3","gravatar_id":"","url":"https://api.github.com/users/phamvanbk11","html_url":"https://github.com/phamvanbk11","followers_url":"https://api.github.com/users/phamvanbk11/followers","following_url":"https://api.github.com/users/phamvanbk11/following{/other_user}","gists_url":"https://api.github.com/users/phamvanbk11/gists{/gist_id}","starred_url":"https://api.github.com/users/phamvanbk11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phamvanbk11/subscriptions","organizations_url":"https://api.github.com/users/phamvanbk11/orgs","repos_url":"https://api.github.com/users/phamvanbk11/repos","events_url":"https://api.github.com/users/phamvanbk11/events{/privacy}","received_events_url":"https://api.github.com/users/phamvanbk11/received_events","type":"User","site_admin":false},"body":"xóa bớt dòng trống","created_at":"2016-10-15T12:12:50Z","updated_at":"2016-10-15T12:16:29Z","html_url":"https://github.com/framgia/fels_192/pull/6#discussion_r83531016","pull_request_url":"https://api.github.com/repos/framgia/fels_192/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_192/pulls/comments/83531016"},"html":{"href":"https://github.com/framgia/fels_192/pull/6#discussion_r83531016"},"pull_request":{"href":"https://api.github.com/repos/framgia/fels_192/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/fels_192/pulls/6","id":89129395,"html_url":"https://github.com/framgia/fels_192/pull/6","diff_url":"https://github.com/framgia/fels_192/pull/6.diff","patch_url":"https://github.com/framgia/fels_192/pull/6.patch","issue_url":"https://api.github.com/repos/framgia/fels_192/issues/6","number":6,"state":"open","locked":false,"title":"Admin-manage-user","user":{"login":"NgoVanTien","id":22016701,"avatar_url":"https://avatars.githubusercontent.com/u/22016701?v=3","gravatar_id":"","url":"https://api.github.com/users/NgoVanTien","html_url":"https://github.com/NgoVanTien","followers_url":"https://api.github.com/users/NgoVanTien/followers","following_url":"https://api.github.com/users/NgoVanTien/following{/other_user}","gists_url":"https://api.github.com/users/NgoVanTien/gists{/gist_id}","starred_url":"https://api.github.com/users/NgoVanTien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NgoVanTien/subscriptions","organizations_url":"https://api.github.com/users/NgoVanTien/orgs","repos_url":"https://api.github.com/users/NgoVanTien/repos","events_url":"https://api.github.com/users/NgoVanTien/events{/privacy}","received_events_url":"https://api.github.com/users/NgoVanTien/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-13T03:04:35Z","updated_at":"2016-10-15T12:16:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9d30b9e879098927e74c25d88e54872d1c7fbc10","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/fels_192/pulls/6/commits","review_comments_url":"https://api.github.com/repos/framgia/fels_192/pulls/6/comments","review_comment_url":"https://api.github.com/repos/framgia/fels_192/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/fels_192/issues/6/comments","statuses_url":"https://api.github.com/repos/framgia/fels_192/statuses/58fea614b0ed321fab47fc842103b6bb26aa232e","head":{"label":"NgoVanTien:admin_manage_user","ref":"admin_manage_user","sha":"58fea614b0ed321fab47fc842103b6bb26aa232e","user":{"login":"NgoVanTien","id":22016701,"avatar_url":"https://avatars.githubusercontent.com/u/22016701?v=3","gravatar_id":"","url":"https://api.github.com/users/NgoVanTien","html_url":"https://github.com/NgoVanTien","followers_url":"https://api.github.com/users/NgoVanTien/followers","following_url":"https://api.github.com/users/NgoVanTien/following{/other_user}","gists_url":"https://api.github.com/users/NgoVanTien/gists{/gist_id}","starred_url":"https://api.github.com/users/NgoVanTien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NgoVanTien/subscriptions","organizations_url":"https://api.github.com/users/NgoVanTien/orgs","repos_url":"https://api.github.com/users/NgoVanTien/repos","events_url":"https://api.github.com/users/NgoVanTien/events{/privacy}","received_events_url":"https://api.github.com/users/NgoVanTien/received_events","type":"User","site_admin":false},"repo":{"id":70296914,"name":"fels_192","full_name":"NgoVanTien/fels_192","owner":{"login":"NgoVanTien","id":22016701,"avatar_url":"https://avatars.githubusercontent.com/u/22016701?v=3","gravatar_id":"","url":"https://api.github.com/users/NgoVanTien","html_url":"https://github.com/NgoVanTien","followers_url":"https://api.github.com/users/NgoVanTien/followers","following_url":"https://api.github.com/users/NgoVanTien/following{/other_user}","gists_url":"https://api.github.com/users/NgoVanTien/gists{/gist_id}","starred_url":"https://api.github.com/users/NgoVanTien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NgoVanTien/subscriptions","organizations_url":"https://api.github.com/users/NgoVanTien/orgs","repos_url":"https://api.github.com/users/NgoVanTien/repos","events_url":"https://api.github.com/users/NgoVanTien/events{/privacy}","received_events_url":"https://api.github.com/users/NgoVanTien/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NgoVanTien/fels_192","description":"Framgia E-Learning System (training)","fork":true,"url":"https://api.github.com/repos/NgoVanTien/fels_192","forks_url":"https://api.github.com/repos/NgoVanTien/fels_192/forks","keys_url":"https://api.github.com/repos/NgoVanTien/fels_192/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NgoVanTien/fels_192/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NgoVanTien/fels_192/teams","hooks_url":"https://api.github.com/repos/NgoVanTien/fels_192/hooks","issue_events_url":"https://api.github.com/repos/NgoVanTien/fels_192/issues/events{/number}","events_url":"https://api.github.com/repos/NgoVanTien/fels_192/events","assignees_url":"https://api.github.com/repos/NgoVanTien/fels_192/assignees{/user}","branches_url":"https://api.github.com/repos/NgoVanTien/fels_192/branches{/branch}","tags_url":"https://api.github.com/repos/NgoVanTien/fels_192/tags","blobs_url":"https://api.github.com/repos/NgoVanTien/fels_192/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NgoVanTien/fels_192/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NgoVanTien/fels_192/git/refs{/sha}","trees_url":"https://api.github.com/repos/NgoVanTien/fels_192/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NgoVanTien/fels_192/statuses/{sha}","languages_url":"https://api.github.com/repos/NgoVanTien/fels_192/languages","stargazers_url":"https://api.github.com/repos/NgoVanTien/fels_192/stargazers","contributors_url":"https://api.github.com/repos/NgoVanTien/fels_192/contributors","subscribers_url":"https://api.github.com/repos/NgoVanTien/fels_192/subscribers","subscription_url":"https://api.github.com/repos/NgoVanTien/fels_192/subscription","commits_url":"https://api.github.com/repos/NgoVanTien/fels_192/commits{/sha}","git_commits_url":"https://api.github.com/repos/NgoVanTien/fels_192/git/commits{/sha}","comments_url":"https://api.github.com/repos/NgoVanTien/fels_192/comments{/number}","issue_comment_url":"https://api.github.com/repos/NgoVanTien/fels_192/issues/comments{/number}","contents_url":"https://api.github.com/repos/NgoVanTien/fels_192/contents/{+path}","compare_url":"https://api.github.com/repos/NgoVanTien/fels_192/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NgoVanTien/fels_192/merges","archive_url":"https://api.github.com/repos/NgoVanTien/fels_192/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NgoVanTien/fels_192/downloads","issues_url":"https://api.github.com/repos/NgoVanTien/fels_192/issues{/number}","pulls_url":"https://api.github.com/repos/NgoVanTien/fels_192/pulls{/number}","milestones_url":"https://api.github.com/repos/NgoVanTien/fels_192/milestones{/number}","notifications_url":"https://api.github.com/repos/NgoVanTien/fels_192/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NgoVanTien/fels_192/labels{/name}","releases_url":"https://api.github.com/repos/NgoVanTien/fels_192/releases{/id}","deployments_url":"https://api.github.com/repos/NgoVanTien/fels_192/deployments","created_at":"2016-10-08T02:17:38Z","updated_at":"2016-10-03T06:01:34Z","pushed_at":"2016-10-14T10:48:07Z","git_url":"git://github.com/NgoVanTien/fels_192.git","ssh_url":"git@github.com:NgoVanTien/fels_192.git","clone_url":"https://github.com/NgoVanTien/fels_192.git","svn_url":"https://github.com/NgoVanTien/fels_192","homepage":null,"size":1661,"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":"framgia:develop","ref":"develop","sha":"b4c799c8d57d8c58f655b354294b5a56e4eddc7b","user":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"repo":{"id":69844892,"name":"fels_192","full_name":"framgia/fels_192","owner":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/framgia/fels_192","description":"Framgia E-Learning System (training)","fork":false,"url":"https://api.github.com/repos/framgia/fels_192","forks_url":"https://api.github.com/repos/framgia/fels_192/forks","keys_url":"https://api.github.com/repos/framgia/fels_192/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/fels_192/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/fels_192/teams","hooks_url":"https://api.github.com/repos/framgia/fels_192/hooks","issue_events_url":"https://api.github.com/repos/framgia/fels_192/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/fels_192/events","assignees_url":"https://api.github.com/repos/framgia/fels_192/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/fels_192/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/fels_192/tags","blobs_url":"https://api.github.com/repos/framgia/fels_192/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/fels_192/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/fels_192/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/fels_192/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/fels_192/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/fels_192/languages","stargazers_url":"https://api.github.com/repos/framgia/fels_192/stargazers","contributors_url":"https://api.github.com/repos/framgia/fels_192/contributors","subscribers_url":"https://api.github.com/repos/framgia/fels_192/subscribers","subscription_url":"https://api.github.com/repos/framgia/fels_192/subscription","commits_url":"https://api.github.com/repos/framgia/fels_192/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/fels_192/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/fels_192/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/fels_192/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/fels_192/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/fels_192/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/fels_192/merges","archive_url":"https://api.github.com/repos/framgia/fels_192/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/fels_192/downloads","issues_url":"https://api.github.com/repos/framgia/fels_192/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/fels_192/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/fels_192/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/fels_192/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/fels_192/labels{/name}","releases_url":"https://api.github.com/repos/framgia/fels_192/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/fels_192/deployments","created_at":"2016-10-03T06:01:34Z","updated_at":"2016-10-03T06:01:34Z","pushed_at":"2016-10-14T10:48:07Z","git_url":"git://github.com/framgia/fels_192.git","ssh_url":"git@github.com:framgia/fels_192.git","clone_url":"https://github.com/framgia/fels_192.git","svn_url":"https://github.com/framgia/fels_192","homepage":null,"size":1660,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_192/pulls/6"},"html":{"href":"https://github.com/framgia/fels_192/pull/6"},"issue":{"href":"https://api.github.com/repos/framgia/fels_192/issues/6"},"comments":{"href":"https://api.github.com/repos/framgia/fels_192/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/fels_192/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/fels_192/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/fels_192/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/fels_192/statuses/58fea614b0ed321fab47fc842103b6bb26aa232e"}}}}
{"actor":{"display_login":"phamvanbk11"}}