{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/brs_35/pulls/comments/82550110","pull_request_review_id":3449737,"id":82550110,"diff_hunk":"@@ -0,0 +1,177 @@\n+<section id=\"aa-book-details\">\n+  <div class=\"container\">\n+    <div class=\"row\">\n+      <div class=\"col-md-12\">\n+        <div class=\"aa-book-details-area\">\n+          <div class=\"aa-book-details-content\">\n+            <div class=\"row\">\n+              <div class=\"col-md-5 col-sm-5 col-xs-12\">\n+                <div class=\"aa-book-view-slider\">\n+                  <%= image_tag @book.image, class: \"img-thumbnail\" %>\n+                </div>\n+              </div>\n+              <div class=\"col-md-7 col-sm-7 col-xs-12\">\n+                <div class=\"aa-book-view-content\">\n+                  <h3><%= @book.name %></h3>\n+                  <div class=\"aa-price-block\">\n+                    <p class=\"aa-book-avilability\">\n+                      <span>\n+                        <strong><%= t \"book_category\" %>: </strong>\n+                        <%= @book.category.name %>\n+                      </span>\n+                    </p>\n+                    <p class=\"aa-book-avilability\">\n+                      <span>\n+                        <strong><%= t \"book_author\" %>: </strong>\n+                        <%= @book.author %>\n+                      </span>\n+                    </p>\n+                    <p class=\"aa-book-avilability\">\n+                      <span>\n+                        <strong><%= t \"book_publish_date\" %>: </strong>\n+                        <%= l @book.publish_date, format: :default %>\n+                      </span>\n+                    </p>\n+                    <p class=\"aa-book-avilability\">\n+                      <span>\n+                        <strong><%= t \"book_description\" %>: </strong>\n+                        <p class = \"book_description\">\n+                          <%= @book.description %>\n+                        </p>\n+                      </span>\n+                    </p>\n+                    <p class=\"aa-book-avilability\">\n+                      <span>\n+                        <strong><%= t \"book_rating\" %>: </strong>\n+                        <%= @book.rating %>\n+                      </span>\n+                    </p>\n+                    <div class=\"aa-product-rating rating\">\n+                      <% i = 1 %>\n+                      <% while i <= @book.rating.floor do %>\n+                        <span class = \"star-active\">☆</span>\n+                        <% i += 1 %>\n+                      <% end %>\n+                      <% while i <= 5 do %>\n+                        <span>☆</span>\n+                        <% i += 1 %>\n+                      <% end %>\n+                    </div>\n+                    <% if logged_in? %>\n+                      <div class=\"aa-product-rating rating\">\n+                        <%= form_for [@book, @rate],\n+                          remote: true do |f| %>","path":"app/views/books/show.html.erb","position":63,"original_position":63,"commit_id":"697ffebd5eddd341ee72fbef7d8a1dad051ae352","original_commit_id":"697ffebd5eddd341ee72fbef7d8a1dad051ae352","user":{"login":"nvtanh","id":5591946,"avatar_url":"https://avatars.githubusercontent.com/u/5591946?v=3","gravatar_id":"","url":"https://api.github.com/users/nvtanh","html_url":"https://github.com/nvtanh","followers_url":"https://api.github.com/users/nvtanh/followers","following_url":"https://api.github.com/users/nvtanh/following{/other_user}","gists_url":"https://api.github.com/users/nvtanh/gists{/gist_id}","starred_url":"https://api.github.com/users/nvtanh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nvtanh/subscriptions","organizations_url":"https://api.github.com/users/nvtanh/orgs","repos_url":"https://api.github.com/users/nvtanh/repos","events_url":"https://api.github.com/users/nvtanh/events{/privacy}","received_events_url":"https://api.github.com/users/nvtanh/received_events","type":"User","site_admin":false},"body":"cái này ngắn mà cho lên hàng lên","created_at":"2016-10-10T06:50:15Z","updated_at":"2016-10-10T07:02:05Z","html_url":"https://github.com/framgia/brs_35/pull/22#discussion_r82550110","pull_request_url":"https://api.github.com/repos/framgia/brs_35/pulls/22","_links":{"self":{"href":"https://api.github.com/repos/framgia/brs_35/pulls/comments/82550110"},"html":{"href":"https://github.com/framgia/brs_35/pull/22#discussion_r82550110"},"pull_request":{"href":"https://api.github.com/repos/framgia/brs_35/pulls/22"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/brs_35/pulls/22","id":88501787,"html_url":"https://github.com/framgia/brs_35/pull/22","diff_url":"https://github.com/framgia/brs_35/pull/22.diff","patch_url":"https://github.com/framgia/brs_35/pull/22.patch","issue_url":"https://api.github.com/repos/framgia/brs_35/issues/22","number":22,"state":"open","locked":false,"title":"detail-book-user-section","user":{"login":"quyenguyengoc","id":22010913,"avatar_url":"https://avatars.githubusercontent.com/u/22010913?v=3","gravatar_id":"","url":"https://api.github.com/users/quyenguyengoc","html_url":"https://github.com/quyenguyengoc","followers_url":"https://api.github.com/users/quyenguyengoc/followers","following_url":"https://api.github.com/users/quyenguyengoc/following{/other_user}","gists_url":"https://api.github.com/users/quyenguyengoc/gists{/gist_id}","starred_url":"https://api.github.com/users/quyenguyengoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quyenguyengoc/subscriptions","organizations_url":"https://api.github.com/users/quyenguyengoc/orgs","repos_url":"https://api.github.com/users/quyenguyengoc/repos","events_url":"https://api.github.com/users/quyenguyengoc/events{/privacy}","received_events_url":"https://api.github.com/users/quyenguyengoc/received_events","type":"User","site_admin":false},"body":"OK","created_at":"2016-10-07T20:21:20Z","updated_at":"2016-10-10T07:02:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aa2d60b8942036c653c915b4ae962c357c673616","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/brs_35/pulls/22/commits","review_comments_url":"https://api.github.com/repos/framgia/brs_35/pulls/22/comments","review_comment_url":"https://api.github.com/repos/framgia/brs_35/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/brs_35/issues/22/comments","statuses_url":"https://api.github.com/repos/framgia/brs_35/statuses/697ffebd5eddd341ee72fbef7d8a1dad051ae352","head":{"label":"quyenguyengoc:review-book-user-section","ref":"review-book-user-section","sha":"697ffebd5eddd341ee72fbef7d8a1dad051ae352","user":{"login":"quyenguyengoc","id":22010913,"avatar_url":"https://avatars.githubusercontent.com/u/22010913?v=3","gravatar_id":"","url":"https://api.github.com/users/quyenguyengoc","html_url":"https://github.com/quyenguyengoc","followers_url":"https://api.github.com/users/quyenguyengoc/followers","following_url":"https://api.github.com/users/quyenguyengoc/following{/other_user}","gists_url":"https://api.github.com/users/quyenguyengoc/gists{/gist_id}","starred_url":"https://api.github.com/users/quyenguyengoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quyenguyengoc/subscriptions","organizations_url":"https://api.github.com/users/quyenguyengoc/orgs","repos_url":"https://api.github.com/users/quyenguyengoc/repos","events_url":"https://api.github.com/users/quyenguyengoc/events{/privacy}","received_events_url":"https://api.github.com/users/quyenguyengoc/received_events","type":"User","site_admin":false},"repo":{"id":69517298,"name":"brs_35","full_name":"quyenguyengoc/brs_35","owner":{"login":"quyenguyengoc","id":22010913,"avatar_url":"https://avatars.githubusercontent.com/u/22010913?v=3","gravatar_id":"","url":"https://api.github.com/users/quyenguyengoc","html_url":"https://github.com/quyenguyengoc","followers_url":"https://api.github.com/users/quyenguyengoc/followers","following_url":"https://api.github.com/users/quyenguyengoc/following{/other_user}","gists_url":"https://api.github.com/users/quyenguyengoc/gists{/gist_id}","starred_url":"https://api.github.com/users/quyenguyengoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quyenguyengoc/subscriptions","organizations_url":"https://api.github.com/users/quyenguyengoc/orgs","repos_url":"https://api.github.com/users/quyenguyengoc/repos","events_url":"https://api.github.com/users/quyenguyengoc/events{/privacy}","received_events_url":"https://api.github.com/users/quyenguyengoc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/quyenguyengoc/brs_35","description":"Framgia Book Reviewing System (training)","fork":true,"url":"https://api.github.com/repos/quyenguyengoc/brs_35","forks_url":"https://api.github.com/repos/quyenguyengoc/brs_35/forks","keys_url":"https://api.github.com/repos/quyenguyengoc/brs_35/keys{/key_id}","collaborators_url":"https://api.github.com/repos/quyenguyengoc/brs_35/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/quyenguyengoc/brs_35/teams","hooks_url":"https://api.github.com/repos/quyenguyengoc/brs_35/hooks","issue_events_url":"https://api.github.com/repos/quyenguyengoc/brs_35/issues/events{/number}","events_url":"https://api.github.com/repos/quyenguyengoc/brs_35/events","assignees_url":"https://api.github.com/repos/quyenguyengoc/brs_35/assignees{/user}","branches_url":"https://api.github.com/repos/quyenguyengoc/brs_35/branches{/branch}","tags_url":"https://api.github.com/repos/quyenguyengoc/brs_35/tags","blobs_url":"https://api.github.com/repos/quyenguyengoc/brs_35/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/quyenguyengoc/brs_35/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/quyenguyengoc/brs_35/git/refs{/sha}","trees_url":"https://api.github.com/repos/quyenguyengoc/brs_35/git/trees{/sha}","statuses_url":"https://api.github.com/repos/quyenguyengoc/brs_35/statuses/{sha}","languages_url":"https://api.github.com/repos/quyenguyengoc/brs_35/languages","stargazers_url":"https://api.github.com/repos/quyenguyengoc/brs_35/stargazers","contributors_url":"https://api.github.com/repos/quyenguyengoc/brs_35/contributors","subscribers_url":"https://api.github.com/repos/quyenguyengoc/brs_35/subscribers","subscription_url":"https://api.github.com/repos/quyenguyengoc/brs_35/subscription","commits_url":"https://api.github.com/repos/quyenguyengoc/brs_35/commits{/sha}","git_commits_url":"https://api.github.com/repos/quyenguyengoc/brs_35/git/commits{/sha}","comments_url":"https://api.github.com/repos/quyenguyengoc/brs_35/comments{/number}","issue_comment_url":"https://api.github.com/repos/quyenguyengoc/brs_35/issues/comments{/number}","contents_url":"https://api.github.com/repos/quyenguyengoc/brs_35/contents/{+path}","compare_url":"https://api.github.com/repos/quyenguyengoc/brs_35/compare/{base}...{head}","merges_url":"https://api.github.com/repos/quyenguyengoc/brs_35/merges","archive_url":"https://api.github.com/repos/quyenguyengoc/brs_35/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/quyenguyengoc/brs_35/downloads","issues_url":"https://api.github.com/repos/quyenguyengoc/brs_35/issues{/number}","pulls_url":"https://api.github.com/repos/quyenguyengoc/brs_35/pulls{/number}","milestones_url":"https://api.github.com/repos/quyenguyengoc/brs_35/milestones{/number}","notifications_url":"https://api.github.com/repos/quyenguyengoc/brs_35/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/quyenguyengoc/brs_35/labels{/name}","releases_url":"https://api.github.com/repos/quyenguyengoc/brs_35/releases{/id}","deployments_url":"https://api.github.com/repos/quyenguyengoc/brs_35/deployments","created_at":"2016-09-29T01:10:03Z","updated_at":"2016-09-27T09:08:04Z","pushed_at":"2016-10-10T04:43:42Z","git_url":"git://github.com/quyenguyengoc/brs_35.git","ssh_url":"git@github.com:quyenguyengoc/brs_35.git","clone_url":"https://github.com/quyenguyengoc/brs_35.git","svn_url":"https://github.com/quyenguyengoc/brs_35","homepage":null,"size":1269,"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":"8faa54d01ae79a03495237ed2316bef7a632d591","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":69338924,"name":"brs_35","full_name":"framgia/brs_35","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/brs_35","description":"Framgia Book Reviewing System (training)","fork":false,"url":"https://api.github.com/repos/framgia/brs_35","forks_url":"https://api.github.com/repos/framgia/brs_35/forks","keys_url":"https://api.github.com/repos/framgia/brs_35/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/brs_35/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/brs_35/teams","hooks_url":"https://api.github.com/repos/framgia/brs_35/hooks","issue_events_url":"https://api.github.com/repos/framgia/brs_35/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/brs_35/events","assignees_url":"https://api.github.com/repos/framgia/brs_35/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/brs_35/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/brs_35/tags","blobs_url":"https://api.github.com/repos/framgia/brs_35/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/brs_35/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/brs_35/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/brs_35/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/brs_35/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/brs_35/languages","stargazers_url":"https://api.github.com/repos/framgia/brs_35/stargazers","contributors_url":"https://api.github.com/repos/framgia/brs_35/contributors","subscribers_url":"https://api.github.com/repos/framgia/brs_35/subscribers","subscription_url":"https://api.github.com/repos/framgia/brs_35/subscription","commits_url":"https://api.github.com/repos/framgia/brs_35/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/brs_35/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/brs_35/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/brs_35/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/brs_35/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/brs_35/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/brs_35/merges","archive_url":"https://api.github.com/repos/framgia/brs_35/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/brs_35/downloads","issues_url":"https://api.github.com/repos/framgia/brs_35/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/brs_35/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/brs_35/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/brs_35/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/brs_35/labels{/name}","releases_url":"https://api.github.com/repos/framgia/brs_35/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/brs_35/deployments","created_at":"2016-09-27T09:08:04Z","updated_at":"2016-09-27T09:08:04Z","pushed_at":"2016-10-10T04:43:43Z","git_url":"git://github.com/framgia/brs_35.git","ssh_url":"git@github.com:framgia/brs_35.git","clone_url":"https://github.com/framgia/brs_35.git","svn_url":"https://github.com/framgia/brs_35","homepage":null,"size":2194,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/brs_35/pulls/22"},"html":{"href":"https://github.com/framgia/brs_35/pull/22"},"issue":{"href":"https://api.github.com/repos/framgia/brs_35/issues/22"},"comments":{"href":"https://api.github.com/repos/framgia/brs_35/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/brs_35/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/brs_35/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/brs_35/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/brs_35/statuses/697ffebd5eddd341ee72fbef7d8a1dad051ae352"}}}}
{"actor":{"display_login":"nvtanh"}}