{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/fels_166/pulls/comments/72397003","id":72397003,"diff_hunk":"@@ -0,0 +1,32 @@\n+<% provide :title, t(\"category.title_index\") %>\n+<h2><%= t \"category.title_index\" %></h2>\n+<div class=\"search-form\">\n+  <%= form_tag users_path, method: :get do %>\n+    <%= text_field_tag :search, params[:search], placeholder: t(\"search_text\")  %>\n+    <%= submit_tag t(\"search_btn\"), id: \"searchbtn\" %>\n+  <% end %>\n+</div>\n+<div class=\"table-responsive table-condensed\">\n+  <table class=\"table\">\n+    <thead>\n+      <tr>\n+        <th class=\"index\"></th>\n+        <th><%= t \"admin.category.index.name\" %></th>\n+        <th><%= t \"category.total_word\" %></th>\n+        <th><%= t \"category.total_lesson\" %></th>\n+      </tr>\n+    </thead>\n+    <tbody>\n+      <% @categories.each_with_index do |category, index | %>\n+        <tr>\n+          <td><%= index.to_i + 1 %></td>\n+          <td><%= category.name %></td>\n+          <td><%=  %></td>\n+          <td><%=  %></td>","path":"app/views/categories/index.html.erb","position":25,"original_position":25,"commit_id":"a563f1c5e3955faa8319b0a3c3fc69200ea2b715","original_commit_id":"a563f1c5e3955faa8319b0a3c3fc69200ea2b715","user":{"login":"TrangVuUet","id":10094381,"avatar_url":"https://avatars.githubusercontent.com/u/10094381?v=3","gravatar_id":"","url":"https://api.github.com/users/TrangVuUet","html_url":"https://github.com/TrangVuUet","followers_url":"https://api.github.com/users/TrangVuUet/followers","following_url":"https://api.github.com/users/TrangVuUet/following{/other_user}","gists_url":"https://api.github.com/users/TrangVuUet/gists{/gist_id}","starred_url":"https://api.github.com/users/TrangVuUet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TrangVuUet/subscriptions","organizations_url":"https://api.github.com/users/TrangVuUet/orgs","repos_url":"https://api.github.com/users/TrangVuUet/repos","events_url":"https://api.github.com/users/TrangVuUet/events{/privacy}","received_events_url":"https://api.github.com/users/TrangVuUet/received_events","type":"User","site_admin":false},"body":"Đó là gía trị để em sau này chèn total_word và total_lession trong index của category ạ","created_at":"2016-07-27T08:06:08Z","updated_at":"2016-07-27T08:06:08Z","html_url":"https://github.com/framgia/fels_166/pull/16#discussion_r72397003","pull_request_url":"https://api.github.com/repos/framgia/fels_166/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_166/pulls/comments/72397003"},"html":{"href":"https://github.com/framgia/fels_166/pull/16#discussion_r72397003"},"pull_request":{"href":"https://api.github.com/repos/framgia/fels_166/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/fels_166/pulls/16","id":78979485,"html_url":"https://github.com/framgia/fels_166/pull/16","diff_url":"https://github.com/framgia/fels_166/pull/16.diff","patch_url":"https://github.com/framgia/fels_166/pull/16.patch","issue_url":"https://api.github.com/repos/framgia/fels_166/issues/16","number":16,"state":"open","locked":false,"title":"69883-user show category","user":{"login":"TrangVuUet","id":10094381,"avatar_url":"https://avatars.githubusercontent.com/u/10094381?v=3","gravatar_id":"","url":"https://api.github.com/users/TrangVuUet","html_url":"https://github.com/TrangVuUet","followers_url":"https://api.github.com/users/TrangVuUet/followers","following_url":"https://api.github.com/users/TrangVuUet/following{/other_user}","gists_url":"https://api.github.com/users/TrangVuUet/gists{/gist_id}","starred_url":"https://api.github.com/users/TrangVuUet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TrangVuUet/subscriptions","organizations_url":"https://api.github.com/users/TrangVuUet/orgs","repos_url":"https://api.github.com/users/TrangVuUet/repos","events_url":"https://api.github.com/users/TrangVuUet/events{/privacy}","received_events_url":"https://api.github.com/users/TrangVuUet/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-27T07:50:29Z","updated_at":"2016-07-27T08:06:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0b06351a8f6d0490d1f7a948ecac767bc3d56841","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/fels_166/pulls/16/commits","review_comments_url":"https://api.github.com/repos/framgia/fels_166/pulls/16/comments","review_comment_url":"https://api.github.com/repos/framgia/fels_166/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/fels_166/issues/16/comments","statuses_url":"https://api.github.com/repos/framgia/fels_166/statuses/a563f1c5e3955faa8319b0a3c3fc69200ea2b715","head":{"label":"TrangVuUet:user-show-categor","ref":"user-show-categor","sha":"a563f1c5e3955faa8319b0a3c3fc69200ea2b715","user":{"login":"TrangVuUet","id":10094381,"avatar_url":"https://avatars.githubusercontent.com/u/10094381?v=3","gravatar_id":"","url":"https://api.github.com/users/TrangVuUet","html_url":"https://github.com/TrangVuUet","followers_url":"https://api.github.com/users/TrangVuUet/followers","following_url":"https://api.github.com/users/TrangVuUet/following{/other_user}","gists_url":"https://api.github.com/users/TrangVuUet/gists{/gist_id}","starred_url":"https://api.github.com/users/TrangVuUet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TrangVuUet/subscriptions","organizations_url":"https://api.github.com/users/TrangVuUet/orgs","repos_url":"https://api.github.com/users/TrangVuUet/repos","events_url":"https://api.github.com/users/TrangVuUet/events{/privacy}","received_events_url":"https://api.github.com/users/TrangVuUet/received_events","type":"User","site_admin":false},"repo":{"id":63771320,"name":"fels_166","full_name":"TrangVuUet/fels_166","owner":{"login":"TrangVuUet","id":10094381,"avatar_url":"https://avatars.githubusercontent.com/u/10094381?v=3","gravatar_id":"","url":"https://api.github.com/users/TrangVuUet","html_url":"https://github.com/TrangVuUet","followers_url":"https://api.github.com/users/TrangVuUet/followers","following_url":"https://api.github.com/users/TrangVuUet/following{/other_user}","gists_url":"https://api.github.com/users/TrangVuUet/gists{/gist_id}","starred_url":"https://api.github.com/users/TrangVuUet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TrangVuUet/subscriptions","organizations_url":"https://api.github.com/users/TrangVuUet/orgs","repos_url":"https://api.github.com/users/TrangVuUet/repos","events_url":"https://api.github.com/users/TrangVuUet/events{/privacy}","received_events_url":"https://api.github.com/users/TrangVuUet/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TrangVuUet/fels_166","description":"Framgia Elearning System (Training)","fork":true,"url":"https://api.github.com/repos/TrangVuUet/fels_166","forks_url":"https://api.github.com/repos/TrangVuUet/fels_166/forks","keys_url":"https://api.github.com/repos/TrangVuUet/fels_166/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TrangVuUet/fels_166/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TrangVuUet/fels_166/teams","hooks_url":"https://api.github.com/repos/TrangVuUet/fels_166/hooks","issue_events_url":"https://api.github.com/repos/TrangVuUet/fels_166/issues/events{/number}","events_url":"https://api.github.com/repos/TrangVuUet/fels_166/events","assignees_url":"https://api.github.com/repos/TrangVuUet/fels_166/assignees{/user}","branches_url":"https://api.github.com/repos/TrangVuUet/fels_166/branches{/branch}","tags_url":"https://api.github.com/repos/TrangVuUet/fels_166/tags","blobs_url":"https://api.github.com/repos/TrangVuUet/fels_166/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TrangVuUet/fels_166/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TrangVuUet/fels_166/git/refs{/sha}","trees_url":"https://api.github.com/repos/TrangVuUet/fels_166/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TrangVuUet/fels_166/statuses/{sha}","languages_url":"https://api.github.com/repos/TrangVuUet/fels_166/languages","stargazers_url":"https://api.github.com/repos/TrangVuUet/fels_166/stargazers","contributors_url":"https://api.github.com/repos/TrangVuUet/fels_166/contributors","subscribers_url":"https://api.github.com/repos/TrangVuUet/fels_166/subscribers","subscription_url":"https://api.github.com/repos/TrangVuUet/fels_166/subscription","commits_url":"https://api.github.com/repos/TrangVuUet/fels_166/commits{/sha}","git_commits_url":"https://api.github.com/repos/TrangVuUet/fels_166/git/commits{/sha}","comments_url":"https://api.github.com/repos/TrangVuUet/fels_166/comments{/number}","issue_comment_url":"https://api.github.com/repos/TrangVuUet/fels_166/issues/comments{/number}","contents_url":"https://api.github.com/repos/TrangVuUet/fels_166/contents/{+path}","compare_url":"https://api.github.com/repos/TrangVuUet/fels_166/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TrangVuUet/fels_166/merges","archive_url":"https://api.github.com/repos/TrangVuUet/fels_166/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TrangVuUet/fels_166/downloads","issues_url":"https://api.github.com/repos/TrangVuUet/fels_166/issues{/number}","pulls_url":"https://api.github.com/repos/TrangVuUet/fels_166/pulls{/number}","milestones_url":"https://api.github.com/repos/TrangVuUet/fels_166/milestones{/number}","notifications_url":"https://api.github.com/repos/TrangVuUet/fels_166/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TrangVuUet/fels_166/labels{/name}","releases_url":"https://api.github.com/repos/TrangVuUet/fels_166/releases{/id}","deployments_url":"https://api.github.com/repos/TrangVuUet/fels_166/deployments","created_at":"2016-07-20T10:06:20Z","updated_at":"2016-07-20T06:21:10Z","pushed_at":"2016-07-27T07:59:01Z","git_url":"git://github.com/TrangVuUet/fels_166.git","ssh_url":"git@github.com:TrangVuUet/fels_166.git","clone_url":"https://github.com/TrangVuUet/fels_166.git","svn_url":"https://github.com/TrangVuUet/fels_166","homepage":null,"size":299,"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":"600c1deeb47c1bd7f11fde95058f9de1a78d9482","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":63755793,"name":"fels_166","full_name":"framgia/fels_166","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_166","description":"Framgia Elearning System (Training)","fork":false,"url":"https://api.github.com/repos/framgia/fels_166","forks_url":"https://api.github.com/repos/framgia/fels_166/forks","keys_url":"https://api.github.com/repos/framgia/fels_166/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/fels_166/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/fels_166/teams","hooks_url":"https://api.github.com/repos/framgia/fels_166/hooks","issue_events_url":"https://api.github.com/repos/framgia/fels_166/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/fels_166/events","assignees_url":"https://api.github.com/repos/framgia/fels_166/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/fels_166/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/fels_166/tags","blobs_url":"https://api.github.com/repos/framgia/fels_166/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/fels_166/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/fels_166/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/fels_166/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/fels_166/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/fels_166/languages","stargazers_url":"https://api.github.com/repos/framgia/fels_166/stargazers","contributors_url":"https://api.github.com/repos/framgia/fels_166/contributors","subscribers_url":"https://api.github.com/repos/framgia/fels_166/subscribers","subscription_url":"https://api.github.com/repos/framgia/fels_166/subscription","commits_url":"https://api.github.com/repos/framgia/fels_166/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/fels_166/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/fels_166/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/fels_166/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/fels_166/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/fels_166/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/fels_166/merges","archive_url":"https://api.github.com/repos/framgia/fels_166/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/fels_166/downloads","issues_url":"https://api.github.com/repos/framgia/fels_166/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/fels_166/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/fels_166/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/fels_166/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/fels_166/labels{/name}","releases_url":"https://api.github.com/repos/framgia/fels_166/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/fels_166/deployments","created_at":"2016-07-20T06:21:10Z","updated_at":"2016-07-20T06:21:10Z","pushed_at":"2016-07-27T07:59:02Z","git_url":"git://github.com/framgia/fels_166.git","ssh_url":"git@github.com:framgia/fels_166.git","clone_url":"https://github.com/framgia/fels_166.git","svn_url":"https://github.com/framgia/fels_166","homepage":null,"size":304,"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_166/pulls/16"},"html":{"href":"https://github.com/framgia/fels_166/pull/16"},"issue":{"href":"https://api.github.com/repos/framgia/fels_166/issues/16"},"comments":{"href":"https://api.github.com/repos/framgia/fels_166/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/fels_166/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/fels_166/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/fels_166/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/fels_166/statuses/a563f1c5e3955faa8319b0a3c3fc69200ea2b715"}}}}
{"actor":{"display_login":"TrangVuUet"}}