{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/cwsb_01/pulls/comments/95096089","pull_request_review_id":15639855,"id":95096089,"diff_hunk":"@@ -0,0 +1,54 @@\n+<%= provide :title, t(\"admin.new_statistics.title\") %>\n+<%= javascript_include_tag \"admin/new_statistics.js\" %>\n+\n+<div class=\"row new_statistics\">\n+  <div class=\"col-md-10 col-md-offset-1\">\n+    <h1 class=\"new_statistics_title\">\n+      <%= t \"admin.new_statistics.new_statistics_title\" %>\n+    </h1>\n+    <div>\n+      <%= form_for :new_statistics, url: admin_new_statistics_path, \n+        html: {id: \"new_statistics_form\"}, remote: true do |f| %>\n+        <div class=\"form-group\">\n+          <div class=\"row\">\n+            <div class=\"col-md-1\">\n+              <%= f.label :choosen %>\n+            </div>\n+            <div class=\"col-md-4\">\n+              <%= f.select :choosen, @choosen.collect{|c| [c[:value], c[:id]]},\n+                {}, {class: \"form-control\"} %>\n+            </div>\n+            <div class=\"col-md-1\">\n+              <%= f.label :select_time %>\n+            </div>\n+            <div class=\"col-md-4\">\n+              <%= f.select :times, @times.collect{|t| [t[:value], t[:id]]},\n+                {}, {class: \"form-control\"} %>\n+            </div>\n+          </div>\n+          <div id=\"date_duration\" class=\"row\">\n+            <div class=\"col-md-1\">\n+              <%= f.label :from %>\n+            </div>\n+            <div class=\"col-md-4\">\n+              <%= f.date_field :date_from, class: \"form-control\" %>\n+            </div>\n+            <div class=\"col-md-1\">\n+              <%= f.label :to %>\n+            </div>\n+            <div class=\"col-md-4\">\n+              <%= f.date_field :date_to, class: \"form-control\" %>\n+            </div>\n+            <div class=\"col-md-1\">\n+              <%= f.submit t(\"admin.new_statistics.show\"), class: \"btn btn-success\" %>\n+            </div>\n+          </div>\n+          ","path":"app/views/admin/new_statistics/index.html.erb","position":46,"original_position":46,"commit_id":"ae0131f394a4aae95b953eb5d6c763b20c54e300","original_commit_id":"ae0131f394a4aae95b953eb5d6c763b20c54e300","user":{"login":"ledinhdoan","id":22004676,"avatar_url":"https://avatars.githubusercontent.com/u/22004676?v=3","gravatar_id":"","url":"https://api.github.com/users/ledinhdoan","html_url":"https://github.com/ledinhdoan","followers_url":"https://api.github.com/users/ledinhdoan/followers","following_url":"https://api.github.com/users/ledinhdoan/following{/other_user}","gists_url":"https://api.github.com/users/ledinhdoan/gists{/gist_id}","starred_url":"https://api.github.com/users/ledinhdoan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ledinhdoan/subscriptions","organizations_url":"https://api.github.com/users/ledinhdoan/orgs","repos_url":"https://api.github.com/users/ledinhdoan/repos","events_url":"https://api.github.com/users/ledinhdoan/events{/privacy}","received_events_url":"https://api.github.com/users/ledinhdoan/received_events","type":"User","site_admin":false},"body":"xóa này","created_at":"2017-01-09T02:04:10Z","updated_at":"2017-01-09T02:05:28Z","html_url":"https://github.com/framgia/cwsb_01/pull/103#discussion_r95096089","pull_request_url":"https://api.github.com/repos/framgia/cwsb_01/pulls/103","_links":{"self":{"href":"https://api.github.com/repos/framgia/cwsb_01/pulls/comments/95096089"},"html":{"href":"https://github.com/framgia/cwsb_01/pull/103#discussion_r95096089"},"pull_request":{"href":"https://api.github.com/repos/framgia/cwsb_01/pulls/103"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/cwsb_01/pulls/103","id":100597906,"html_url":"https://github.com/framgia/cwsb_01/pull/103","diff_url":"https://github.com/framgia/cwsb_01/pull/103.diff","patch_url":"https://github.com/framgia/cwsb_01/pull/103.patch","issue_url":"https://api.github.com/repos/framgia/cwsb_01/issues/103","number":103,"state":"open","locked":false,"title":"Statistics for new users, venues, spaces","user":{"login":"lequangcanh","id":19974244,"avatar_url":"https://avatars.githubusercontent.com/u/19974244?v=3","gravatar_id":"","url":"https://api.github.com/users/lequangcanh","html_url":"https://github.com/lequangcanh","followers_url":"https://api.github.com/users/lequangcanh/followers","following_url":"https://api.github.com/users/lequangcanh/following{/other_user}","gists_url":"https://api.github.com/users/lequangcanh/gists{/gist_id}","starred_url":"https://api.github.com/users/lequangcanh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lequangcanh/subscriptions","organizations_url":"https://api.github.com/users/lequangcanh/orgs","repos_url":"https://api.github.com/users/lequangcanh/repos","events_url":"https://api.github.com/users/lequangcanh/events{/privacy}","received_events_url":"https://api.github.com/users/lequangcanh/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-01-08T10:00:41Z","updated_at":"2017-01-09T02:05:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d583392f4636a96bfe9e00dff722c12f2a355d65","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/cwsb_01/pulls/103/commits","review_comments_url":"https://api.github.com/repos/framgia/cwsb_01/pulls/103/comments","review_comment_url":"https://api.github.com/repos/framgia/cwsb_01/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/cwsb_01/issues/103/comments","statuses_url":"https://api.github.com/repos/framgia/cwsb_01/statuses/ae0131f394a4aae95b953eb5d6c763b20c54e300","head":{"label":"lequangcanh:new_users_statistics","ref":"new_users_statistics","sha":"ae0131f394a4aae95b953eb5d6c763b20c54e300","user":{"login":"lequangcanh","id":19974244,"avatar_url":"https://avatars.githubusercontent.com/u/19974244?v=3","gravatar_id":"","url":"https://api.github.com/users/lequangcanh","html_url":"https://github.com/lequangcanh","followers_url":"https://api.github.com/users/lequangcanh/followers","following_url":"https://api.github.com/users/lequangcanh/following{/other_user}","gists_url":"https://api.github.com/users/lequangcanh/gists{/gist_id}","starred_url":"https://api.github.com/users/lequangcanh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lequangcanh/subscriptions","organizations_url":"https://api.github.com/users/lequangcanh/orgs","repos_url":"https://api.github.com/users/lequangcanh/repos","events_url":"https://api.github.com/users/lequangcanh/events{/privacy}","received_events_url":"https://api.github.com/users/lequangcanh/received_events","type":"User","site_admin":false},"repo":{"id":77010148,"name":"cwsb_01","full_name":"lequangcanh/cwsb_01","owner":{"login":"lequangcanh","id":19974244,"avatar_url":"https://avatars.githubusercontent.com/u/19974244?v=3","gravatar_id":"","url":"https://api.github.com/users/lequangcanh","html_url":"https://github.com/lequangcanh","followers_url":"https://api.github.com/users/lequangcanh/followers","following_url":"https://api.github.com/users/lequangcanh/following{/other_user}","gists_url":"https://api.github.com/users/lequangcanh/gists{/gist_id}","starred_url":"https://api.github.com/users/lequangcanh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lequangcanh/subscriptions","organizations_url":"https://api.github.com/users/lequangcanh/orgs","repos_url":"https://api.github.com/users/lequangcanh/repos","events_url":"https://api.github.com/users/lequangcanh/events{/privacy}","received_events_url":"https://api.github.com/users/lequangcanh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lequangcanh/cwsb_01","description":"Co-working space booking system - Danang Education's project","fork":true,"url":"https://api.github.com/repos/lequangcanh/cwsb_01","forks_url":"https://api.github.com/repos/lequangcanh/cwsb_01/forks","keys_url":"https://api.github.com/repos/lequangcanh/cwsb_01/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lequangcanh/cwsb_01/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lequangcanh/cwsb_01/teams","hooks_url":"https://api.github.com/repos/lequangcanh/cwsb_01/hooks","issue_events_url":"https://api.github.com/repos/lequangcanh/cwsb_01/issues/events{/number}","events_url":"https://api.github.com/repos/lequangcanh/cwsb_01/events","assignees_url":"https://api.github.com/repos/lequangcanh/cwsb_01/assignees{/user}","branches_url":"https://api.github.com/repos/lequangcanh/cwsb_01/branches{/branch}","tags_url":"https://api.github.com/repos/lequangcanh/cwsb_01/tags","blobs_url":"https://api.github.com/repos/lequangcanh/cwsb_01/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lequangcanh/cwsb_01/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lequangcanh/cwsb_01/git/refs{/sha}","trees_url":"https://api.github.com/repos/lequangcanh/cwsb_01/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lequangcanh/cwsb_01/statuses/{sha}","languages_url":"https://api.github.com/repos/lequangcanh/cwsb_01/languages","stargazers_url":"https://api.github.com/repos/lequangcanh/cwsb_01/stargazers","contributors_url":"https://api.github.com/repos/lequangcanh/cwsb_01/contributors","subscribers_url":"https://api.github.com/repos/lequangcanh/cwsb_01/subscribers","subscription_url":"https://api.github.com/repos/lequangcanh/cwsb_01/subscription","commits_url":"https://api.github.com/repos/lequangcanh/cwsb_01/commits{/sha}","git_commits_url":"https://api.github.com/repos/lequangcanh/cwsb_01/git/commits{/sha}","comments_url":"https://api.github.com/repos/lequangcanh/cwsb_01/comments{/number}","issue_comment_url":"https://api.github.com/repos/lequangcanh/cwsb_01/issues/comments{/number}","contents_url":"https://api.github.com/repos/lequangcanh/cwsb_01/contents/{+path}","compare_url":"https://api.github.com/repos/lequangcanh/cwsb_01/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lequangcanh/cwsb_01/merges","archive_url":"https://api.github.com/repos/lequangcanh/cwsb_01/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lequangcanh/cwsb_01/downloads","issues_url":"https://api.github.com/repos/lequangcanh/cwsb_01/issues{/number}","pulls_url":"https://api.github.com/repos/lequangcanh/cwsb_01/pulls{/number}","milestones_url":"https://api.github.com/repos/lequangcanh/cwsb_01/milestones{/number}","notifications_url":"https://api.github.com/repos/lequangcanh/cwsb_01/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lequangcanh/cwsb_01/labels{/name}","releases_url":"https://api.github.com/repos/lequangcanh/cwsb_01/releases{/id}","deployments_url":"https://api.github.com/repos/lequangcanh/cwsb_01/deployments","created_at":"2016-12-21T02:54:03Z","updated_at":"2016-12-21T02:54:05Z","pushed_at":"2017-01-09T01:38:26Z","git_url":"git://github.com/lequangcanh/cwsb_01.git","ssh_url":"git@github.com:lequangcanh/cwsb_01.git","clone_url":"https://github.com/lequangcanh/cwsb_01.git","svn_url":"https://github.com/lequangcanh/cwsb_01","homepage":null,"size":5217,"stargazers_count":0,"watchers_count":0,"language":"CSS","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":"develop"}},"base":{"label":"framgia:develop","ref":"develop","sha":"57f777a39e21f57396ca2eb1c03a11daca07a26c","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":69932509,"name":"cwsb_01","full_name":"framgia/cwsb_01","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/cwsb_01","description":"Co-working space booking system - Danang Education's project","fork":false,"url":"https://api.github.com/repos/framgia/cwsb_01","forks_url":"https://api.github.com/repos/framgia/cwsb_01/forks","keys_url":"https://api.github.com/repos/framgia/cwsb_01/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/cwsb_01/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/cwsb_01/teams","hooks_url":"https://api.github.com/repos/framgia/cwsb_01/hooks","issue_events_url":"https://api.github.com/repos/framgia/cwsb_01/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/cwsb_01/events","assignees_url":"https://api.github.com/repos/framgia/cwsb_01/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/cwsb_01/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/cwsb_01/tags","blobs_url":"https://api.github.com/repos/framgia/cwsb_01/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/cwsb_01/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/cwsb_01/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/cwsb_01/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/cwsb_01/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/cwsb_01/languages","stargazers_url":"https://api.github.com/repos/framgia/cwsb_01/stargazers","contributors_url":"https://api.github.com/repos/framgia/cwsb_01/contributors","subscribers_url":"https://api.github.com/repos/framgia/cwsb_01/subscribers","subscription_url":"https://api.github.com/repos/framgia/cwsb_01/subscription","commits_url":"https://api.github.com/repos/framgia/cwsb_01/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/cwsb_01/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/cwsb_01/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/cwsb_01/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/cwsb_01/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/cwsb_01/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/cwsb_01/merges","archive_url":"https://api.github.com/repos/framgia/cwsb_01/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/cwsb_01/downloads","issues_url":"https://api.github.com/repos/framgia/cwsb_01/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/cwsb_01/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/cwsb_01/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/cwsb_01/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/cwsb_01/labels{/name}","releases_url":"https://api.github.com/repos/framgia/cwsb_01/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/cwsb_01/deployments","created_at":"2016-10-04T03:49:56Z","updated_at":"2016-11-23T06:06:40Z","pushed_at":"2017-01-09T01:56:11Z","git_url":"git://github.com/framgia/cwsb_01.git","ssh_url":"git@github.com:framgia/cwsb_01.git","clone_url":"https://github.com/framgia/cwsb_01.git","svn_url":"https://github.com/framgia/cwsb_01","homepage":null,"size":5199,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":5,"forks":14,"open_issues":5,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/cwsb_01/pulls/103"},"html":{"href":"https://github.com/framgia/cwsb_01/pull/103"},"issue":{"href":"https://api.github.com/repos/framgia/cwsb_01/issues/103"},"comments":{"href":"https://api.github.com/repos/framgia/cwsb_01/issues/103/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/cwsb_01/pulls/103/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/cwsb_01/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/cwsb_01/pulls/103/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/cwsb_01/statuses/ae0131f394a4aae95b953eb5d6c763b20c54e300"}}}}
{"actor":{"display_login":"ledinhdoan"}}