{"action":"created","comment":{"url":"https://api.github.com/repos/catarse/catarse/pulls/comments/25368821","id":25368821,"diff_hunk":"@@ -17,7 +17,7 @@\n         div class=\"w-col #{(@project.already_deployed?) ? 'w-col-12' : 'w-col-9'}\"\n           = link_to '#home', id: 'dashboard_home_link', class: 'dashboard-nav-link ' , data: {target: '#dashboard_home', tab_group: 'edit'} do\n             = t('.start_tab')\n-          - unless @project.already_deployed? || @project.approved?\n+          - if (!@project.already_deployed? || !@project.approved?) || (current_user && current_user.admin?)","path":"app/views/catarse_bootstrap/projects/edit.html.slim","position":5,"original_position":5,"commit_id":"099d011a47534685803721ac0a78056076c4ccd5","original_commit_id":"099d011a47534685803721ac0a78056076c4ccd5","user":{"login":"adrianob","id":2192093,"avatar_url":"https://avatars.githubusercontent.com/u/2192093?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianob","html_url":"https://github.com/adrianob","followers_url":"https://api.github.com/users/adrianob/followers","following_url":"https://api.github.com/users/adrianob/following{/other_user}","gists_url":"https://api.github.com/users/adrianob/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianob/subscriptions","organizations_url":"https://api.github.com/users/adrianob/orgs","repos_url":"https://api.github.com/users/adrianob/repos","events_url":"https://api.github.com/users/adrianob/events{/privacy}","received_events_url":"https://api.github.com/users/adrianob/received_events","type":"User","site_admin":false},"body":"I think this should be  if (!@project.already_deployed? && !@project.approved?) || (current_user && current_user.admin?)","created_at":"2015-02-25T19:11:46Z","updated_at":"2015-02-25T19:11:46Z","html_url":"https://github.com/catarse/catarse/pull/1197#discussion_r25368821","pull_request_url":"https://api.github.com/repos/catarse/catarse/pulls/1197","_links":{"self":{"href":"https://api.github.com/repos/catarse/catarse/pulls/comments/25368821"},"html":{"href":"https://github.com/catarse/catarse/pull/1197#discussion_r25368821"},"pull_request":{"href":"https://api.github.com/repos/catarse/catarse/pulls/1197"}}},"pull_request":{"url":"https://api.github.com/repos/catarse/catarse/pulls/1197","id":30014717,"html_url":"https://github.com/catarse/catarse/pull/1197","diff_url":"https://github.com/catarse/catarse/pull/1197.diff","patch_url":"https://github.com/catarse/catarse/pull/1197.patch","issue_url":"https://api.github.com/repos/catarse/catarse/issues/1197","number":1197,"state":"open","locked":false,"title":"admin can see and edit data on basics, user_settings tab","user":{"login":"devton","id":154595,"avatar_url":"https://avatars.githubusercontent.com/u/154595?v=3","gravatar_id":"","url":"https://api.github.com/users/devton","html_url":"https://github.com/devton","followers_url":"https://api.github.com/users/devton/followers","following_url":"https://api.github.com/users/devton/following{/other_user}","gists_url":"https://api.github.com/users/devton/gists{/gist_id}","starred_url":"https://api.github.com/users/devton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devton/subscriptions","organizations_url":"https://api.github.com/users/devton/orgs","repos_url":"https://api.github.com/users/devton/repos","events_url":"https://api.github.com/users/devton/events{/privacy}","received_events_url":"https://api.github.com/users/devton/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-25T18:58:02Z","updated_at":"2015-02-25T19:11:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3a6320141d442b52a4b3ebda98e0e3bf0d98d66c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/catarse/catarse/pulls/1197/commits","review_comments_url":"https://api.github.com/repos/catarse/catarse/pulls/1197/comments","review_comment_url":"https://api.github.com/repos/catarse/catarse/pulls/comments{/number}","comments_url":"https://api.github.com/repos/catarse/catarse/issues/1197/comments","statuses_url":"https://api.github.com/repos/catarse/catarse/statuses/099d011a47534685803721ac0a78056076c4ccd5","head":{"label":"devton:admin_tabs","ref":"admin_tabs","sha":"099d011a47534685803721ac0a78056076c4ccd5","user":{"login":"devton","id":154595,"avatar_url":"https://avatars.githubusercontent.com/u/154595?v=3","gravatar_id":"","url":"https://api.github.com/users/devton","html_url":"https://github.com/devton","followers_url":"https://api.github.com/users/devton/followers","following_url":"https://api.github.com/users/devton/following{/other_user}","gists_url":"https://api.github.com/users/devton/gists{/gist_id}","starred_url":"https://api.github.com/users/devton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devton/subscriptions","organizations_url":"https://api.github.com/users/devton/orgs","repos_url":"https://api.github.com/users/devton/repos","events_url":"https://api.github.com/users/devton/events{/privacy}","received_events_url":"https://api.github.com/users/devton/received_events","type":"User","site_admin":false},"repo":{"id":12146712,"name":"catarse","full_name":"devton/catarse","owner":{"login":"devton","id":154595,"avatar_url":"https://avatars.githubusercontent.com/u/154595?v=3","gravatar_id":"","url":"https://api.github.com/users/devton","html_url":"https://github.com/devton","followers_url":"https://api.github.com/users/devton/followers","following_url":"https://api.github.com/users/devton/following{/other_user}","gists_url":"https://api.github.com/users/devton/gists{/gist_id}","starred_url":"https://api.github.com/users/devton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devton/subscriptions","organizations_url":"https://api.github.com/users/devton/orgs","repos_url":"https://api.github.com/users/devton/repos","events_url":"https://api.github.com/users/devton/events{/privacy}","received_events_url":"https://api.github.com/users/devton/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/devton/catarse","description":"The first open source crowdfunding platform for creative projects in the world","fork":true,"url":"https://api.github.com/repos/devton/catarse","forks_url":"https://api.github.com/repos/devton/catarse/forks","keys_url":"https://api.github.com/repos/devton/catarse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/devton/catarse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/devton/catarse/teams","hooks_url":"https://api.github.com/repos/devton/catarse/hooks","issue_events_url":"https://api.github.com/repos/devton/catarse/issues/events{/number}","events_url":"https://api.github.com/repos/devton/catarse/events","assignees_url":"https://api.github.com/repos/devton/catarse/assignees{/user}","branches_url":"https://api.github.com/repos/devton/catarse/branches{/branch}","tags_url":"https://api.github.com/repos/devton/catarse/tags","blobs_url":"https://api.github.com/repos/devton/catarse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/devton/catarse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/devton/catarse/git/refs{/sha}","trees_url":"https://api.github.com/repos/devton/catarse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/devton/catarse/statuses/{sha}","languages_url":"https://api.github.com/repos/devton/catarse/languages","stargazers_url":"https://api.github.com/repos/devton/catarse/stargazers","contributors_url":"https://api.github.com/repos/devton/catarse/contributors","subscribers_url":"https://api.github.com/repos/devton/catarse/subscribers","subscription_url":"https://api.github.com/repos/devton/catarse/subscription","commits_url":"https://api.github.com/repos/devton/catarse/commits{/sha}","git_commits_url":"https://api.github.com/repos/devton/catarse/git/commits{/sha}","comments_url":"https://api.github.com/repos/devton/catarse/comments{/number}","issue_comment_url":"https://api.github.com/repos/devton/catarse/issues/comments{/number}","contents_url":"https://api.github.com/repos/devton/catarse/contents/{+path}","compare_url":"https://api.github.com/repos/devton/catarse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/devton/catarse/merges","archive_url":"https://api.github.com/repos/devton/catarse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/devton/catarse/downloads","issues_url":"https://api.github.com/repos/devton/catarse/issues{/number}","pulls_url":"https://api.github.com/repos/devton/catarse/pulls{/number}","milestones_url":"https://api.github.com/repos/devton/catarse/milestones{/number}","notifications_url":"https://api.github.com/repos/devton/catarse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/devton/catarse/labels{/name}","releases_url":"https://api.github.com/repos/devton/catarse/releases{/id}","created_at":"2013-08-16T00:00:41Z","updated_at":"2015-02-04T16:27:44Z","pushed_at":"2015-02-25T18:54:59Z","git_url":"git://github.com/devton/catarse.git","ssh_url":"git@github.com:devton/catarse.git","clone_url":"https://github.com/devton/catarse.git","svn_url":"https://github.com/devton/catarse","homepage":"http://catarse.me","size":49506,"stargazers_count":2,"watchers_count":2,"language":"Ruby","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":2,"default_branch":"master"}},"base":{"label":"catarse:master","ref":"master","sha":"45fff53a8fa15e5c82d4c5522e8948a2d3c67e69","user":{"login":"catarse","id":721161,"avatar_url":"https://avatars.githubusercontent.com/u/721161?v=3","gravatar_id":"","url":"https://api.github.com/users/catarse","html_url":"https://github.com/catarse","followers_url":"https://api.github.com/users/catarse/followers","following_url":"https://api.github.com/users/catarse/following{/other_user}","gists_url":"https://api.github.com/users/catarse/gists{/gist_id}","starred_url":"https://api.github.com/users/catarse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catarse/subscriptions","organizations_url":"https://api.github.com/users/catarse/orgs","repos_url":"https://api.github.com/users/catarse/repos","events_url":"https://api.github.com/users/catarse/events{/privacy}","received_events_url":"https://api.github.com/users/catarse/received_events","type":"Organization","site_admin":false},"repo":{"id":1071489,"name":"catarse","full_name":"catarse/catarse","owner":{"login":"catarse","id":721161,"avatar_url":"https://avatars.githubusercontent.com/u/721161?v=3","gravatar_id":"","url":"https://api.github.com/users/catarse","html_url":"https://github.com/catarse","followers_url":"https://api.github.com/users/catarse/followers","following_url":"https://api.github.com/users/catarse/following{/other_user}","gists_url":"https://api.github.com/users/catarse/gists{/gist_id}","starred_url":"https://api.github.com/users/catarse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catarse/subscriptions","organizations_url":"https://api.github.com/users/catarse/orgs","repos_url":"https://api.github.com/users/catarse/repos","events_url":"https://api.github.com/users/catarse/events{/privacy}","received_events_url":"https://api.github.com/users/catarse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/catarse/catarse","description":"The first open source crowdfunding platform for creative projects in the world","fork":false,"url":"https://api.github.com/repos/catarse/catarse","forks_url":"https://api.github.com/repos/catarse/catarse/forks","keys_url":"https://api.github.com/repos/catarse/catarse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/catarse/catarse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/catarse/catarse/teams","hooks_url":"https://api.github.com/repos/catarse/catarse/hooks","issue_events_url":"https://api.github.com/repos/catarse/catarse/issues/events{/number}","events_url":"https://api.github.com/repos/catarse/catarse/events","assignees_url":"https://api.github.com/repos/catarse/catarse/assignees{/user}","branches_url":"https://api.github.com/repos/catarse/catarse/branches{/branch}","tags_url":"https://api.github.com/repos/catarse/catarse/tags","blobs_url":"https://api.github.com/repos/catarse/catarse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/catarse/catarse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/catarse/catarse/git/refs{/sha}","trees_url":"https://api.github.com/repos/catarse/catarse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/catarse/catarse/statuses/{sha}","languages_url":"https://api.github.com/repos/catarse/catarse/languages","stargazers_url":"https://api.github.com/repos/catarse/catarse/stargazers","contributors_url":"https://api.github.com/repos/catarse/catarse/contributors","subscribers_url":"https://api.github.com/repos/catarse/catarse/subscribers","subscription_url":"https://api.github.com/repos/catarse/catarse/subscription","commits_url":"https://api.github.com/repos/catarse/catarse/commits{/sha}","git_commits_url":"https://api.github.com/repos/catarse/catarse/git/commits{/sha}","comments_url":"https://api.github.com/repos/catarse/catarse/comments{/number}","issue_comment_url":"https://api.github.com/repos/catarse/catarse/issues/comments{/number}","contents_url":"https://api.github.com/repos/catarse/catarse/contents/{+path}","compare_url":"https://api.github.com/repos/catarse/catarse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/catarse/catarse/merges","archive_url":"https://api.github.com/repos/catarse/catarse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/catarse/catarse/downloads","issues_url":"https://api.github.com/repos/catarse/catarse/issues{/number}","pulls_url":"https://api.github.com/repos/catarse/catarse/pulls{/number}","milestones_url":"https://api.github.com/repos/catarse/catarse/milestones{/number}","notifications_url":"https://api.github.com/repos/catarse/catarse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/catarse/catarse/labels{/name}","releases_url":"https://api.github.com/repos/catarse/catarse/releases{/id}","created_at":"2010-11-11T13:37:03Z","updated_at":"2015-02-25T17:42:05Z","pushed_at":"2015-02-25T17:42:05Z","git_url":"git://github.com/catarse/catarse.git","ssh_url":"git@github.com:catarse/catarse.git","clone_url":"https://github.com/catarse/catarse.git","svn_url":"https://github.com/catarse/catarse","homepage":"http://catarse.me","size":99120,"stargazers_count":751,"watchers_count":751,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":512,"mirror_url":null,"open_issues_count":11,"forks":512,"open_issues":11,"watchers":751,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/catarse/catarse/pulls/1197"},"html":{"href":"https://github.com/catarse/catarse/pull/1197"},"issue":{"href":"https://api.github.com/repos/catarse/catarse/issues/1197"},"comments":{"href":"https://api.github.com/repos/catarse/catarse/issues/1197/comments"},"review_comments":{"href":"https://api.github.com/repos/catarse/catarse/pulls/1197/comments"},"review_comment":{"href":"https://api.github.com/repos/catarse/catarse/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/catarse/catarse/pulls/1197/commits"},"statuses":{"href":"https://api.github.com/repos/catarse/catarse/statuses/099d011a47534685803721ac0a78056076c4ccd5"}}}}