{"action":"created","comment":{"url":"https://api.github.com/repos/greenfox-academy/huli-selection/pulls/comments/173159779","pull_request_review_id":102300445,"id":173159779,"diff_hunk":"@@ -2,9 +2,8 @@\n   %h1 Welcome!\n   - unless current_user\n     %p.start-instruction To start please hit the login button!\n-  - if current_user && current_user.admin\n-    %p.test-text Unused drt hashes:\n-    %ul\n-      - @drt.each do |a|\n-        - if a.status == 'created'\n-          %li '#{(a.drt_hash).to_str}'\n\\ No newline at end of file\n+  - if current_user.admin\n+    %p.start-instruction Number of unused DRT hashes: #{@drt.length}\n+    - if @drt.length < 5\n+      %p.test-text You have less than 5 DRT hashes, please create at least #{5 - @drt.length} new one(s):","path":"app/views/welcome/index.html.haml","position":14,"original_position":14,"commit_id":"3873dfb28d037a66559920bb6979e7c94d787e26","original_commit_id":"3873dfb28d037a66559920bb6979e7c94d787e26","user":{"login":"HerrNorbert","id":23465126,"avatar_url":"https://avatars1.githubusercontent.com/u/23465126?v=4","gravatar_id":"","url":"https://api.github.com/users/HerrNorbert","html_url":"https://github.com/HerrNorbert","followers_url":"https://api.github.com/users/HerrNorbert/followers","following_url":"https://api.github.com/users/HerrNorbert/following{/other_user}","gists_url":"https://api.github.com/users/HerrNorbert/gists{/gist_id}","starred_url":"https://api.github.com/users/HerrNorbert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HerrNorbert/subscriptions","organizations_url":"https://api.github.com/users/HerrNorbert/orgs","repos_url":"https://api.github.com/users/HerrNorbert/repos","events_url":"https://api.github.com/users/HerrNorbert/events{/privacy}","received_events_url":"https://api.github.com/users/HerrNorbert/received_events","type":"User","site_admin":false},"body":"`test-text`? It needs a proper meaningful name","created_at":"2018-03-08T13:42:12Z","updated_at":"2018-03-08T13:48:38Z","html_url":"https://github.com/greenfox-academy/huli-selection/pull/153#discussion_r173159779","pull_request_url":"https://api.github.com/repos/greenfox-academy/huli-selection/pulls/153","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/greenfox-academy/huli-selection/pulls/comments/173159779"},"html":{"href":"https://github.com/greenfox-academy/huli-selection/pull/153#discussion_r173159779"},"pull_request":{"href":"https://api.github.com/repos/greenfox-academy/huli-selection/pulls/153"}}},"pull_request":{"url":"https://api.github.com/repos/greenfox-academy/huli-selection/pulls/153","id":172929332,"html_url":"https://github.com/greenfox-academy/huli-selection/pull/153","diff_url":"https://github.com/greenfox-academy/huli-selection/pull/153.diff","patch_url":"https://github.com/greenfox-academy/huli-selection/pull/153.patch","issue_url":"https://api.github.com/repos/greenfox-academy/huli-selection/issues/153","number":153,"state":"open","locked":false,"title":"Balint drt display on admin","user":{"login":"busaaa","id":32491477,"avatar_url":"https://avatars1.githubusercontent.com/u/32491477?v=4","gravatar_id":"","url":"https://api.github.com/users/busaaa","html_url":"https://github.com/busaaa","followers_url":"https://api.github.com/users/busaaa/followers","following_url":"https://api.github.com/users/busaaa/following{/other_user}","gists_url":"https://api.github.com/users/busaaa/gists{/gist_id}","starred_url":"https://api.github.com/users/busaaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/busaaa/subscriptions","organizations_url":"https://api.github.com/users/busaaa/orgs","repos_url":"https://api.github.com/users/busaaa/repos","events_url":"https://api.github.com/users/busaaa/events{/privacy}","received_events_url":"https://api.github.com/users/busaaa/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-05T17:09:19Z","updated_at":"2018-03-08T13:48:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7d98fead5334b32fc178e77f68bd08079d3f7402","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/greenfox-academy/huli-selection/pulls/153/commits","review_comments_url":"https://api.github.com/repos/greenfox-academy/huli-selection/pulls/153/comments","review_comment_url":"https://api.github.com/repos/greenfox-academy/huli-selection/pulls/comments{/number}","comments_url":"https://api.github.com/repos/greenfox-academy/huli-selection/issues/153/comments","statuses_url":"https://api.github.com/repos/greenfox-academy/huli-selection/statuses/3873dfb28d037a66559920bb6979e7c94d787e26","head":{"label":"greenfox-academy:BalintDRTDisplayOnAdmin","ref":"BalintDRTDisplayOnAdmin","sha":"3873dfb28d037a66559920bb6979e7c94d787e26","user":{"login":"greenfox-academy","id":14247612,"avatar_url":"https://avatars2.githubusercontent.com/u/14247612?v=4","gravatar_id":"","url":"https://api.github.com/users/greenfox-academy","html_url":"https://github.com/greenfox-academy","followers_url":"https://api.github.com/users/greenfox-academy/followers","following_url":"https://api.github.com/users/greenfox-academy/following{/other_user}","gists_url":"https://api.github.com/users/greenfox-academy/gists{/gist_id}","starred_url":"https://api.github.com/users/greenfox-academy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenfox-academy/subscriptions","organizations_url":"https://api.github.com/users/greenfox-academy/orgs","repos_url":"https://api.github.com/users/greenfox-academy/repos","events_url":"https://api.github.com/users/greenfox-academy/events{/privacy}","received_events_url":"https://api.github.com/users/greenfox-academy/received_events","type":"Organization","site_admin":false},"repo":{"id":110685691,"name":"huli-selection","full_name":"greenfox-academy/huli-selection","owner":{"login":"greenfox-academy","id":14247612,"avatar_url":"https://avatars2.githubusercontent.com/u/14247612?v=4","gravatar_id":"","url":"https://api.github.com/users/greenfox-academy","html_url":"https://github.com/greenfox-academy","followers_url":"https://api.github.com/users/greenfox-academy/followers","following_url":"https://api.github.com/users/greenfox-academy/following{/other_user}","gists_url":"https://api.github.com/users/greenfox-academy/gists{/gist_id}","starred_url":"https://api.github.com/users/greenfox-academy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenfox-academy/subscriptions","organizations_url":"https://api.github.com/users/greenfox-academy/orgs","repos_url":"https://api.github.com/users/greenfox-academy/repos","events_url":"https://api.github.com/users/greenfox-academy/events{/privacy}","received_events_url":"https://api.github.com/users/greenfox-academy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/greenfox-academy/huli-selection","description":"Selection tool of Green Fox Academy","fork":false,"url":"https://api.github.com/repos/greenfox-academy/huli-selection","forks_url":"https://api.github.com/repos/greenfox-academy/huli-selection/forks","keys_url":"https://api.github.com/repos/greenfox-academy/huli-selection/keys{/key_id}","collaborators_url":"https://api.github.com/repos/greenfox-academy/huli-selection/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/greenfox-academy/huli-selection/teams","hooks_url":"https://api.github.com/repos/greenfox-academy/huli-selection/hooks","issue_events_url":"https://api.github.com/repos/greenfox-academy/huli-selection/issues/events{/number}","events_url":"https://api.github.com/repos/greenfox-academy/huli-selection/events","assignees_url":"https://api.github.com/repos/greenfox-academy/huli-selection/assignees{/user}","branches_url":"https://api.github.com/repos/greenfox-academy/huli-selection/branches{/branch}","tags_url":"https://api.github.com/repos/greenfox-academy/huli-selection/tags","blobs_url":"https://api.github.com/repos/greenfox-academy/huli-selection/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/greenfox-academy/huli-selection/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/greenfox-academy/huli-selection/git/refs{/sha}","trees_url":"https://api.github.com/repos/greenfox-academy/huli-selection/git/trees{/sha}","statuses_url":"https://api.github.com/repos/greenfox-academy/huli-selection/statuses/{sha}","languages_url":"https://api.github.com/repos/greenfox-academy/huli-selection/languages","stargazers_url":"https://api.github.com/repos/greenfox-academy/huli-selection/stargazers","contributors_url":"https://api.github.com/repos/greenfox-academy/huli-selection/contributors","subscribers_url":"https://api.github.com/repos/greenfox-academy/huli-selection/subscribers","subscription_url":"https://api.github.com/repos/greenfox-academy/huli-selection/subscription","commits_url":"https://api.github.com/repos/greenfox-academy/huli-selection/commits{/sha}","git_commits_url":"https://api.github.com/repos/greenfox-academy/huli-selection/git/commits{/sha}","comments_url":"https://api.github.com/repos/greenfox-academy/huli-selection/comments{/number}","issue_comment_url":"https://api.github.com/repos/greenfox-academy/huli-selection/issues/comments{/number}","contents_url":"https://api.github.com/repos/greenfox-academy/huli-selection/contents/{+path}","compare_url":"https://api.github.com/repos/greenfox-academy/huli-selection/compare/{base}...{head}","merges_url":"https://api.github.com/repos/greenfox-academy/huli-selection/merges","archive_url":"https://api.github.com/repos/greenfox-academy/huli-selection/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/greenfox-academy/huli-selection/downloads","issues_url":"https://api.github.com/repos/greenfox-academy/huli-selection/issues{/number}","pulls_url":"https://api.github.com/repos/greenfox-academy/huli-selection/pulls{/number}","milestones_url":"https://api.github.com/repos/greenfox-academy/huli-selection/milestones{/number}","notifications_url":"https://api.github.com/repos/greenfox-academy/huli-selection/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/greenfox-academy/huli-selection/labels{/name}","releases_url":"https://api.github.com/repos/greenfox-academy/huli-selection/releases{/id}","deployments_url":"https://api.github.com/repos/greenfox-academy/huli-selection/deployments","created_at":"2017-11-14T12:10:53Z","updated_at":"2017-11-30T19:10:01Z","pushed_at":"2018-03-08T10:49:40Z","git_url":"git://github.com/greenfox-academy/huli-selection.git","ssh_url":"git@github.com:greenfox-academy/huli-selection.git","clone_url":"https://github.com/greenfox-academy/huli-selection.git","svn_url":"https://github.com/greenfox-academy/huli-selection","homepage":null,"size":3994,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":9,"license":null,"forks":0,"open_issues":9,"watchers":0,"default_branch":"master"}},"base":{"label":"greenfox-academy:develop","ref":"develop","sha":"52413f004359f45f03a556ab503a7a2237a35cbb","user":{"login":"greenfox-academy","id":14247612,"avatar_url":"https://avatars2.githubusercontent.com/u/14247612?v=4","gravatar_id":"","url":"https://api.github.com/users/greenfox-academy","html_url":"https://github.com/greenfox-academy","followers_url":"https://api.github.com/users/greenfox-academy/followers","following_url":"https://api.github.com/users/greenfox-academy/following{/other_user}","gists_url":"https://api.github.com/users/greenfox-academy/gists{/gist_id}","starred_url":"https://api.github.com/users/greenfox-academy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenfox-academy/subscriptions","organizations_url":"https://api.github.com/users/greenfox-academy/orgs","repos_url":"https://api.github.com/users/greenfox-academy/repos","events_url":"https://api.github.com/users/greenfox-academy/events{/privacy}","received_events_url":"https://api.github.com/users/greenfox-academy/received_events","type":"Organization","site_admin":false},"repo":{"id":110685691,"name":"huli-selection","full_name":"greenfox-academy/huli-selection","owner":{"login":"greenfox-academy","id":14247612,"avatar_url":"https://avatars2.githubusercontent.com/u/14247612?v=4","gravatar_id":"","url":"https://api.github.com/users/greenfox-academy","html_url":"https://github.com/greenfox-academy","followers_url":"https://api.github.com/users/greenfox-academy/followers","following_url":"https://api.github.com/users/greenfox-academy/following{/other_user}","gists_url":"https://api.github.com/users/greenfox-academy/gists{/gist_id}","starred_url":"https://api.github.com/users/greenfox-academy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenfox-academy/subscriptions","organizations_url":"https://api.github.com/users/greenfox-academy/orgs","repos_url":"https://api.github.com/users/greenfox-academy/repos","events_url":"https://api.github.com/users/greenfox-academy/events{/privacy}","received_events_url":"https://api.github.com/users/greenfox-academy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/greenfox-academy/huli-selection","description":"Selection tool of Green Fox Academy","fork":false,"url":"https://api.github.com/repos/greenfox-academy/huli-selection","forks_url":"https://api.github.com/repos/greenfox-academy/huli-selection/forks","keys_url":"https://api.github.com/repos/greenfox-academy/huli-selection/keys{/key_id}","collaborators_url":"https://api.github.com/repos/greenfox-academy/huli-selection/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/greenfox-academy/huli-selection/teams","hooks_url":"https://api.github.com/repos/greenfox-academy/huli-selection/hooks","issue_events_url":"https://api.github.com/repos/greenfox-academy/huli-selection/issues/events{/number}","events_url":"https://api.github.com/repos/greenfox-academy/huli-selection/events","assignees_url":"https://api.github.com/repos/greenfox-academy/huli-selection/assignees{/user}","branches_url":"https://api.github.com/repos/greenfox-academy/huli-selection/branches{/branch}","tags_url":"https://api.github.com/repos/greenfox-academy/huli-selection/tags","blobs_url":"https://api.github.com/repos/greenfox-academy/huli-selection/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/greenfox-academy/huli-selection/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/greenfox-academy/huli-selection/git/refs{/sha}","trees_url":"https://api.github.com/repos/greenfox-academy/huli-selection/git/trees{/sha}","statuses_url":"https://api.github.com/repos/greenfox-academy/huli-selection/statuses/{sha}","languages_url":"https://api.github.com/repos/greenfox-academy/huli-selection/languages","stargazers_url":"https://api.github.com/repos/greenfox-academy/huli-selection/stargazers","contributors_url":"https://api.github.com/repos/greenfox-academy/huli-selection/contributors","subscribers_url":"https://api.github.com/repos/greenfox-academy/huli-selection/subscribers","subscription_url":"https://api.github.com/repos/greenfox-academy/huli-selection/subscription","commits_url":"https://api.github.com/repos/greenfox-academy/huli-selection/commits{/sha}","git_commits_url":"https://api.github.com/repos/greenfox-academy/huli-selection/git/commits{/sha}","comments_url":"https://api.github.com/repos/greenfox-academy/huli-selection/comments{/number}","issue_comment_url":"https://api.github.com/repos/greenfox-academy/huli-selection/issues/comments{/number}","contents_url":"https://api.github.com/repos/greenfox-academy/huli-selection/contents/{+path}","compare_url":"https://api.github.com/repos/greenfox-academy/huli-selection/compare/{base}...{head}","merges_url":"https://api.github.com/repos/greenfox-academy/huli-selection/merges","archive_url":"https://api.github.com/repos/greenfox-academy/huli-selection/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/greenfox-academy/huli-selection/downloads","issues_url":"https://api.github.com/repos/greenfox-academy/huli-selection/issues{/number}","pulls_url":"https://api.github.com/repos/greenfox-academy/huli-selection/pulls{/number}","milestones_url":"https://api.github.com/repos/greenfox-academy/huli-selection/milestones{/number}","notifications_url":"https://api.github.com/repos/greenfox-academy/huli-selection/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/greenfox-academy/huli-selection/labels{/name}","releases_url":"https://api.github.com/repos/greenfox-academy/huli-selection/releases{/id}","deployments_url":"https://api.github.com/repos/greenfox-academy/huli-selection/deployments","created_at":"2017-11-14T12:10:53Z","updated_at":"2017-11-30T19:10:01Z","pushed_at":"2018-03-08T10:49:40Z","git_url":"git://github.com/greenfox-academy/huli-selection.git","ssh_url":"git@github.com:greenfox-academy/huli-selection.git","clone_url":"https://github.com/greenfox-academy/huli-selection.git","svn_url":"https://github.com/greenfox-academy/huli-selection","homepage":null,"size":3994,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":9,"license":null,"forks":0,"open_issues":9,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/greenfox-academy/huli-selection/pulls/153"},"html":{"href":"https://github.com/greenfox-academy/huli-selection/pull/153"},"issue":{"href":"https://api.github.com/repos/greenfox-academy/huli-selection/issues/153"},"comments":{"href":"https://api.github.com/repos/greenfox-academy/huli-selection/issues/153/comments"},"review_comments":{"href":"https://api.github.com/repos/greenfox-academy/huli-selection/pulls/153/comments"},"review_comment":{"href":"https://api.github.com/repos/greenfox-academy/huli-selection/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/greenfox-academy/huli-selection/pulls/153/commits"},"statuses":{"href":"https://api.github.com/repos/greenfox-academy/huli-selection/statuses/3873dfb28d037a66559920bb6979e7c94d787e26"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"HerrNorbert"}}