{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/fts_73/pulls/comments/89936010","pull_request_review_id":10463773,"id":89936010,"diff_hunk":"@@ -0,0 +1,42 @@\n+<div class=\"col-md-12 admin-exams\">\n+\n+  <h2 class=\"text-left\"><%= t \".list_exams\" %></h2>\n+  <div id=\"table-exams\">\n+    <table class=\"cart table table-hover new-order\">\n+      <thead>\n+        <tr class=\"info row\">\n+          <th class=\"col-md-2\"><%= t \".created_date\" %></th>\n+          <th class=\"col-md-2\"><%= t \".subject\" %></th>\n+          <th class=\"col-md-1\"><%= t \".status\" %></th>\n+          <th class=\"col-md-1\"><%= t \".duration\" %></th>\n+          <th class=\"col-md-1\"><%= t \".question_number\" %></th>\n+          <th class=\"col-md-1\"><%= t \".spent_time\" %></th>\n+          <th class=\"col-md-2\"><%= t \".user_name\" %></th>\n+          <th class=\"col-md-2\"></th>\n+        </tr>\n+      </thead>\n+      <tbody>\n+        <% @exams.each do |exam| %>\n+          <tr class=\"row\">\n+            <td class=\"col-md-2\"><%= exam.created_at.strftime(Settings.format_date) %></td>\n+            <td class=\"col-md-2\"><%= exam.subject.name %></td>\n+            <td class=\"col-md-1\"><%= exam.status %></td>\n+            <td class=\"col-md-1\"><%= exam.subject.duration %></td>\n+            <td class=\"col-md-1\"><%= exam.subject.question_number %></td>\n+            <td class=\"col-md-1\">\n+              <%= format_spent_time exam.spent_time %>\n+            </td>\n+            <td class=\"col-md-2\"><%= exam.user.name %></td>\n+            <th class=\"col-md-2 option-product-admin\">\n+                <%= link_to admin_exam_path(exam),\n+                  class: \"btn btn-default button-1\" do %>\n+                    <i class=\"fa fa-eye\"><%= t(\".view\") %></i>\n+                  <% end %>","path":"app/views/admin/exams/index.html.erb","position":34,"original_position":34,"commit_id":"ec818d0142c3a98ce1e02f214d286eb6df38818c","original_commit_id":"ec818d0142c3a98ce1e02f214d286eb6df38818c","user":{"login":"nhunght","id":14239703,"avatar_url":"https://avatars.githubusercontent.com/u/14239703?v=3","gravatar_id":"","url":"https://api.github.com/users/nhunght","html_url":"https://github.com/nhunght","followers_url":"https://api.github.com/users/nhunght/followers","following_url":"https://api.github.com/users/nhunght/following{/other_user}","gists_url":"https://api.github.com/users/nhunght/gists{/gist_id}","starred_url":"https://api.github.com/users/nhunght/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhunght/subscriptions","organizations_url":"https://api.github.com/users/nhunght/orgs","repos_url":"https://api.github.com/users/nhunght/repos","events_url":"https://api.github.com/users/nhunght/events{/privacy}","received_events_url":"https://api.github.com/users/nhunght/received_events","type":"User","site_admin":false},"body":"indent","created_at":"2016-11-29T03:40:32Z","updated_at":"2016-11-29T03:40:32Z","html_url":"https://github.com/framgia/fts_73/pull/9#discussion_r89936010","pull_request_url":"https://api.github.com/repos/framgia/fts_73/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/framgia/fts_73/pulls/comments/89936010"},"html":{"href":"https://github.com/framgia/fts_73/pull/9#discussion_r89936010"},"pull_request":{"href":"https://api.github.com/repos/framgia/fts_73/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/fts_73/pulls/9","id":95618561,"html_url":"https://github.com/framgia/fts_73/pull/9","diff_url":"https://github.com/framgia/fts_73/pull/9.diff","patch_url":"https://github.com/framgia/fts_73/pull/9.patch","issue_url":"https://api.github.com/repos/framgia/fts_73/issues/9","number":9,"state":"open","locked":false,"title":"Add admin check exam result with using kaminari gem","user":{"login":"tranvantuanb","id":22876933,"avatar_url":"https://avatars.githubusercontent.com/u/22876933?v=3","gravatar_id":"","url":"https://api.github.com/users/tranvantuanb","html_url":"https://github.com/tranvantuanb","followers_url":"https://api.github.com/users/tranvantuanb/followers","following_url":"https://api.github.com/users/tranvantuanb/following{/other_user}","gists_url":"https://api.github.com/users/tranvantuanb/gists{/gist_id}","starred_url":"https://api.github.com/users/tranvantuanb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tranvantuanb/subscriptions","organizations_url":"https://api.github.com/users/tranvantuanb/orgs","repos_url":"https://api.github.com/users/tranvantuanb/repos","events_url":"https://api.github.com/users/tranvantuanb/events{/privacy}","received_events_url":"https://api.github.com/users/tranvantuanb/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-29T03:05:47Z","updated_at":"2016-11-29T03:40:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c579d7f2dd295199ed66ab377c6fe79f9433c8e3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/fts_73/pulls/9/commits","review_comments_url":"https://api.github.com/repos/framgia/fts_73/pulls/9/comments","review_comment_url":"https://api.github.com/repos/framgia/fts_73/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/fts_73/issues/9/comments","statuses_url":"https://api.github.com/repos/framgia/fts_73/statuses/ec818d0142c3a98ce1e02f214d286eb6df38818c","head":{"label":"tranvantuanb:check-exam-result","ref":"check-exam-result","sha":"ec818d0142c3a98ce1e02f214d286eb6df38818c","user":{"login":"tranvantuanb","id":22876933,"avatar_url":"https://avatars.githubusercontent.com/u/22876933?v=3","gravatar_id":"","url":"https://api.github.com/users/tranvantuanb","html_url":"https://github.com/tranvantuanb","followers_url":"https://api.github.com/users/tranvantuanb/followers","following_url":"https://api.github.com/users/tranvantuanb/following{/other_user}","gists_url":"https://api.github.com/users/tranvantuanb/gists{/gist_id}","starred_url":"https://api.github.com/users/tranvantuanb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tranvantuanb/subscriptions","organizations_url":"https://api.github.com/users/tranvantuanb/orgs","repos_url":"https://api.github.com/users/tranvantuanb/repos","events_url":"https://api.github.com/users/tranvantuanb/events{/privacy}","received_events_url":"https://api.github.com/users/tranvantuanb/received_events","type":"User","site_admin":false},"repo":{"id":74536271,"name":"fts_73","full_name":"tranvantuanb/fts_73","owner":{"login":"tranvantuanb","id":22876933,"avatar_url":"https://avatars.githubusercontent.com/u/22876933?v=3","gravatar_id":"","url":"https://api.github.com/users/tranvantuanb","html_url":"https://github.com/tranvantuanb","followers_url":"https://api.github.com/users/tranvantuanb/followers","following_url":"https://api.github.com/users/tranvantuanb/following{/other_user}","gists_url":"https://api.github.com/users/tranvantuanb/gists{/gist_id}","starred_url":"https://api.github.com/users/tranvantuanb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tranvantuanb/subscriptions","organizations_url":"https://api.github.com/users/tranvantuanb/orgs","repos_url":"https://api.github.com/users/tranvantuanb/repos","events_url":"https://api.github.com/users/tranvantuanb/events{/privacy}","received_events_url":"https://api.github.com/users/tranvantuanb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tranvantuanb/fts_73","description":"Framgia Test System (training)","fork":true,"url":"https://api.github.com/repos/tranvantuanb/fts_73","forks_url":"https://api.github.com/repos/tranvantuanb/fts_73/forks","keys_url":"https://api.github.com/repos/tranvantuanb/fts_73/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tranvantuanb/fts_73/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tranvantuanb/fts_73/teams","hooks_url":"https://api.github.com/repos/tranvantuanb/fts_73/hooks","issue_events_url":"https://api.github.com/repos/tranvantuanb/fts_73/issues/events{/number}","events_url":"https://api.github.com/repos/tranvantuanb/fts_73/events","assignees_url":"https://api.github.com/repos/tranvantuanb/fts_73/assignees{/user}","branches_url":"https://api.github.com/repos/tranvantuanb/fts_73/branches{/branch}","tags_url":"https://api.github.com/repos/tranvantuanb/fts_73/tags","blobs_url":"https://api.github.com/repos/tranvantuanb/fts_73/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tranvantuanb/fts_73/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tranvantuanb/fts_73/git/refs{/sha}","trees_url":"https://api.github.com/repos/tranvantuanb/fts_73/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tranvantuanb/fts_73/statuses/{sha}","languages_url":"https://api.github.com/repos/tranvantuanb/fts_73/languages","stargazers_url":"https://api.github.com/repos/tranvantuanb/fts_73/stargazers","contributors_url":"https://api.github.com/repos/tranvantuanb/fts_73/contributors","subscribers_url":"https://api.github.com/repos/tranvantuanb/fts_73/subscribers","subscription_url":"https://api.github.com/repos/tranvantuanb/fts_73/subscription","commits_url":"https://api.github.com/repos/tranvantuanb/fts_73/commits{/sha}","git_commits_url":"https://api.github.com/repos/tranvantuanb/fts_73/git/commits{/sha}","comments_url":"https://api.github.com/repos/tranvantuanb/fts_73/comments{/number}","issue_comment_url":"https://api.github.com/repos/tranvantuanb/fts_73/issues/comments{/number}","contents_url":"https://api.github.com/repos/tranvantuanb/fts_73/contents/{+path}","compare_url":"https://api.github.com/repos/tranvantuanb/fts_73/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tranvantuanb/fts_73/merges","archive_url":"https://api.github.com/repos/tranvantuanb/fts_73/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tranvantuanb/fts_73/downloads","issues_url":"https://api.github.com/repos/tranvantuanb/fts_73/issues{/number}","pulls_url":"https://api.github.com/repos/tranvantuanb/fts_73/pulls{/number}","milestones_url":"https://api.github.com/repos/tranvantuanb/fts_73/milestones{/number}","notifications_url":"https://api.github.com/repos/tranvantuanb/fts_73/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tranvantuanb/fts_73/labels{/name}","releases_url":"https://api.github.com/repos/tranvantuanb/fts_73/releases{/id}","deployments_url":"https://api.github.com/repos/tranvantuanb/fts_73/deployments","created_at":"2016-11-23T03:17:20Z","updated_at":"2016-11-22T08:51:24Z","pushed_at":"2016-11-29T03:29:16Z","git_url":"git://github.com/tranvantuanb/fts_73.git","ssh_url":"git@github.com:tranvantuanb/fts_73.git","clone_url":"https://github.com/tranvantuanb/fts_73.git","svn_url":"https://github.com/tranvantuanb/fts_73","homepage":null,"size":74,"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":"bd1baaab224ff7cfbfe9ac0c711383b2d046c1e0","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":74452867,"name":"fts_73","full_name":"framgia/fts_73","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/fts_73","description":"Framgia Test System (training)","fork":false,"url":"https://api.github.com/repos/framgia/fts_73","forks_url":"https://api.github.com/repos/framgia/fts_73/forks","keys_url":"https://api.github.com/repos/framgia/fts_73/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/fts_73/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/fts_73/teams","hooks_url":"https://api.github.com/repos/framgia/fts_73/hooks","issue_events_url":"https://api.github.com/repos/framgia/fts_73/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/fts_73/events","assignees_url":"https://api.github.com/repos/framgia/fts_73/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/fts_73/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/fts_73/tags","blobs_url":"https://api.github.com/repos/framgia/fts_73/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/fts_73/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/fts_73/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/fts_73/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/fts_73/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/fts_73/languages","stargazers_url":"https://api.github.com/repos/framgia/fts_73/stargazers","contributors_url":"https://api.github.com/repos/framgia/fts_73/contributors","subscribers_url":"https://api.github.com/repos/framgia/fts_73/subscribers","subscription_url":"https://api.github.com/repos/framgia/fts_73/subscription","commits_url":"https://api.github.com/repos/framgia/fts_73/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/fts_73/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/fts_73/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/fts_73/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/fts_73/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/fts_73/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/fts_73/merges","archive_url":"https://api.github.com/repos/framgia/fts_73/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/fts_73/downloads","issues_url":"https://api.github.com/repos/framgia/fts_73/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/fts_73/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/fts_73/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/fts_73/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/fts_73/labels{/name}","releases_url":"https://api.github.com/repos/framgia/fts_73/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/fts_73/deployments","created_at":"2016-11-22T08:51:24Z","updated_at":"2016-11-22T08:51:24Z","pushed_at":"2016-11-29T03:29:17Z","git_url":"git://github.com/framgia/fts_73.git","ssh_url":"git@github.com:framgia/fts_73.git","clone_url":"https://github.com/framgia/fts_73.git","svn_url":"https://github.com/framgia/fts_73","homepage":null,"size":65,"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":2,"forks":2,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/fts_73/pulls/9"},"html":{"href":"https://github.com/framgia/fts_73/pull/9"},"issue":{"href":"https://api.github.com/repos/framgia/fts_73/issues/9"},"comments":{"href":"https://api.github.com/repos/framgia/fts_73/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/fts_73/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/fts_73/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/fts_73/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/fts_73/statuses/ec818d0142c3a98ce1e02f214d286eb6df38818c"}}}}
{"actor":{"display_login":"nhunght"}}