{"action":"created","comment":{"url":"https://api.github.com/repos/codex-team/codex.media/pulls/comments/202648671","pull_request_review_id":137384805,"id":202648671,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMjY0ODY3MQ==","diff_hunk":"@@ -6,40 +6,53 @@\n             $page = new Model_Page();\n         }\n \n-    /** Name of object's type in genitive declension */\n+        /** Name of object's type in genitive declension */\n         // $object_name = $page->is_news_page ? 'новости' : 'страницы';\n+\n+        $newsFeedKey = Model_Feed_Pages::MAIN;","path":"www/application/views/templates/pages/form.php","position":8,"original_position":8,"commit_id":"d963bdcaeb62f4c246b2edce3e9d4f5120f86b78","original_commit_id":"d963bdcaeb62f4c246b2edce3e9d4f5120f86b78","user":{"login":"neSpecc","id":3684889,"node_id":"MDQ6VXNlcjM2ODQ4ODk=","avatar_url":"https://avatars0.githubusercontent.com/u/3684889?v=4","gravatar_id":"","url":"https://api.github.com/users/neSpecc","html_url":"https://github.com/neSpecc","followers_url":"https://api.github.com/users/neSpecc/followers","following_url":"https://api.github.com/users/neSpecc/following{/other_user}","gists_url":"https://api.github.com/users/neSpecc/gists{/gist_id}","starred_url":"https://api.github.com/users/neSpecc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neSpecc/subscriptions","organizations_url":"https://api.github.com/users/neSpecc/orgs","repos_url":"https://api.github.com/users/neSpecc/repos","events_url":"https://api.github.com/users/neSpecc/events{/privacy}","received_events_url":"https://api.github.com/users/neSpecc/received_events","type":"User","site_admin":false},"body":"лишние переменные, можно использовать константы на месте — так понятнее","created_at":"2018-07-16T11:24:45Z","updated_at":"2018-07-16T11:31:05Z","html_url":"https://github.com/codex-team/codex.media/pull/454#discussion_r202648671","pull_request_url":"https://api.github.com/repos/codex-team/codex.media/pulls/454","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/codex-team/codex.media/pulls/comments/202648671"},"html":{"href":"https://github.com/codex-team/codex.media/pull/454#discussion_r202648671"},"pull_request":{"href":"https://api.github.com/repos/codex-team/codex.media/pulls/454"}}},"pull_request":{"url":"https://api.github.com/repos/codex-team/codex.media/pulls/454","id":200182341,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwMTgyMzQx","html_url":"https://github.com/codex-team/codex.media/pull/454","diff_url":"https://github.com/codex-team/codex.media/pull/454.diff","patch_url":"https://github.com/codex-team/codex.media/pull/454.patch","issue_url":"https://api.github.com/repos/codex-team/codex.media/issues/454","number":454,"state":"open","locked":false,"title":"Select page type","user":{"login":"PolinaShneider","id":15448200,"node_id":"MDQ6VXNlcjE1NDQ4MjAw","avatar_url":"https://avatars3.githubusercontent.com/u/15448200?v=4","gravatar_id":"","url":"https://api.github.com/users/PolinaShneider","html_url":"https://github.com/PolinaShneider","followers_url":"https://api.github.com/users/PolinaShneider/followers","following_url":"https://api.github.com/users/PolinaShneider/following{/other_user}","gists_url":"https://api.github.com/users/PolinaShneider/gists{/gist_id}","starred_url":"https://api.github.com/users/PolinaShneider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PolinaShneider/subscriptions","organizations_url":"https://api.github.com/users/PolinaShneider/orgs","repos_url":"https://api.github.com/users/PolinaShneider/repos","events_url":"https://api.github.com/users/PolinaShneider/events{/privacy}","received_events_url":"https://api.github.com/users/PolinaShneider/received_events","type":"User","site_admin":false},"body":"* Add JavaScript and styles","created_at":"2018-07-09T18:27:38Z","updated_at":"2018-07-16T11:31:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"96f92bf6245bc84d9b9f5ddb15042a2afc4c7d4c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/codex-team/codex.media/pulls/454/commits","review_comments_url":"https://api.github.com/repos/codex-team/codex.media/pulls/454/comments","review_comment_url":"https://api.github.com/repos/codex-team/codex.media/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codex-team/codex.media/issues/454/comments","statuses_url":"https://api.github.com/repos/codex-team/codex.media/statuses/d963bdcaeb62f4c246b2edce3e9d4f5120f86b78","head":{"label":"codex-team:select-type-of-page","ref":"select-type-of-page","sha":"d963bdcaeb62f4c246b2edce3e9d4f5120f86b78","user":{"login":"codex-team","id":16060815,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MDYwODE1","avatar_url":"https://avatars0.githubusercontent.com/u/16060815?v=4","gravatar_id":"","url":"https://api.github.com/users/codex-team","html_url":"https://github.com/codex-team","followers_url":"https://api.github.com/users/codex-team/followers","following_url":"https://api.github.com/users/codex-team/following{/other_user}","gists_url":"https://api.github.com/users/codex-team/gists{/gist_id}","starred_url":"https://api.github.com/users/codex-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codex-team/subscriptions","organizations_url":"https://api.github.com/users/codex-team/orgs","repos_url":"https://api.github.com/users/codex-team/repos","events_url":"https://api.github.com/users/codex-team/events{/privacy}","received_events_url":"https://api.github.com/users/codex-team/received_events","type":"Organization","site_admin":false},"repo":{"id":46662693,"node_id":"MDEwOlJlcG9zaXRvcnk0NjY2MjY5Mw==","name":"codex.media","full_name":"codex-team/codex.media","owner":{"login":"codex-team","id":16060815,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MDYwODE1","avatar_url":"https://avatars0.githubusercontent.com/u/16060815?v=4","gravatar_id":"","url":"https://api.github.com/users/codex-team","html_url":"https://github.com/codex-team","followers_url":"https://api.github.com/users/codex-team/followers","following_url":"https://api.github.com/users/codex-team/following{/other_user}","gists_url":"https://api.github.com/users/codex-team/gists{/gist_id}","starred_url":"https://api.github.com/users/codex-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codex-team/subscriptions","organizations_url":"https://api.github.com/users/codex-team/orgs","repos_url":"https://api.github.com/users/codex-team/repos","events_url":"https://api.github.com/users/codex-team/events{/privacy}","received_events_url":"https://api.github.com/users/codex-team/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codex-team/codex.media","description":"Platform for building UGC media","fork":false,"url":"https://api.github.com/repos/codex-team/codex.media","forks_url":"https://api.github.com/repos/codex-team/codex.media/forks","keys_url":"https://api.github.com/repos/codex-team/codex.media/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codex-team/codex.media/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codex-team/codex.media/teams","hooks_url":"https://api.github.com/repos/codex-team/codex.media/hooks","issue_events_url":"https://api.github.com/repos/codex-team/codex.media/issues/events{/number}","events_url":"https://api.github.com/repos/codex-team/codex.media/events","assignees_url":"https://api.github.com/repos/codex-team/codex.media/assignees{/user}","branches_url":"https://api.github.com/repos/codex-team/codex.media/branches{/branch}","tags_url":"https://api.github.com/repos/codex-team/codex.media/tags","blobs_url":"https://api.github.com/repos/codex-team/codex.media/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codex-team/codex.media/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codex-team/codex.media/git/refs{/sha}","trees_url":"https://api.github.com/repos/codex-team/codex.media/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codex-team/codex.media/statuses/{sha}","languages_url":"https://api.github.com/repos/codex-team/codex.media/languages","stargazers_url":"https://api.github.com/repos/codex-team/codex.media/stargazers","contributors_url":"https://api.github.com/repos/codex-team/codex.media/contributors","subscribers_url":"https://api.github.com/repos/codex-team/codex.media/subscribers","subscription_url":"https://api.github.com/repos/codex-team/codex.media/subscription","commits_url":"https://api.github.com/repos/codex-team/codex.media/commits{/sha}","git_commits_url":"https://api.github.com/repos/codex-team/codex.media/git/commits{/sha}","comments_url":"https://api.github.com/repos/codex-team/codex.media/comments{/number}","issue_comment_url":"https://api.github.com/repos/codex-team/codex.media/issues/comments{/number}","contents_url":"https://api.github.com/repos/codex-team/codex.media/contents/{+path}","compare_url":"https://api.github.com/repos/codex-team/codex.media/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codex-team/codex.media/merges","archive_url":"https://api.github.com/repos/codex-team/codex.media/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codex-team/codex.media/downloads","issues_url":"https://api.github.com/repos/codex-team/codex.media/issues{/number}","pulls_url":"https://api.github.com/repos/codex-team/codex.media/pulls{/number}","milestones_url":"https://api.github.com/repos/codex-team/codex.media/milestones{/number}","notifications_url":"https://api.github.com/repos/codex-team/codex.media/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codex-team/codex.media/labels{/name}","releases_url":"https://api.github.com/repos/codex-team/codex.media/releases{/id}","deployments_url":"https://api.github.com/repos/codex-team/codex.media/deployments","created_at":"2015-11-22T13:51:50Z","updated_at":"2018-07-14T11:03:49Z","pushed_at":"2018-07-15T15:03:16Z","git_url":"git://github.com/codex-team/codex.media.git","ssh_url":"git@github.com:codex-team/codex.media.git","clone_url":"https://github.com/codex-team/codex.media.git","svn_url":"https://github.com/codex-team/codex.media","homepage":"https://ifmo.su/media","size":17172,"stargazers_count":6,"watchers_count":6,"language":"PHP","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":61,"license":null,"forks":1,"open_issues":61,"watchers":6,"default_branch":"master"}},"base":{"label":"codex-team:master","ref":"master","sha":"3cd6b9d977924d23943b4a74b15c4b3951312dc7","user":{"login":"codex-team","id":16060815,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MDYwODE1","avatar_url":"https://avatars0.githubusercontent.com/u/16060815?v=4","gravatar_id":"","url":"https://api.github.com/users/codex-team","html_url":"https://github.com/codex-team","followers_url":"https://api.github.com/users/codex-team/followers","following_url":"https://api.github.com/users/codex-team/following{/other_user}","gists_url":"https://api.github.com/users/codex-team/gists{/gist_id}","starred_url":"https://api.github.com/users/codex-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codex-team/subscriptions","organizations_url":"https://api.github.com/users/codex-team/orgs","repos_url":"https://api.github.com/users/codex-team/repos","events_url":"https://api.github.com/users/codex-team/events{/privacy}","received_events_url":"https://api.github.com/users/codex-team/received_events","type":"Organization","site_admin":false},"repo":{"id":46662693,"node_id":"MDEwOlJlcG9zaXRvcnk0NjY2MjY5Mw==","name":"codex.media","full_name":"codex-team/codex.media","owner":{"login":"codex-team","id":16060815,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MDYwODE1","avatar_url":"https://avatars0.githubusercontent.com/u/16060815?v=4","gravatar_id":"","url":"https://api.github.com/users/codex-team","html_url":"https://github.com/codex-team","followers_url":"https://api.github.com/users/codex-team/followers","following_url":"https://api.github.com/users/codex-team/following{/other_user}","gists_url":"https://api.github.com/users/codex-team/gists{/gist_id}","starred_url":"https://api.github.com/users/codex-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codex-team/subscriptions","organizations_url":"https://api.github.com/users/codex-team/orgs","repos_url":"https://api.github.com/users/codex-team/repos","events_url":"https://api.github.com/users/codex-team/events{/privacy}","received_events_url":"https://api.github.com/users/codex-team/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codex-team/codex.media","description":"Platform for building UGC media","fork":false,"url":"https://api.github.com/repos/codex-team/codex.media","forks_url":"https://api.github.com/repos/codex-team/codex.media/forks","keys_url":"https://api.github.com/repos/codex-team/codex.media/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codex-team/codex.media/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codex-team/codex.media/teams","hooks_url":"https://api.github.com/repos/codex-team/codex.media/hooks","issue_events_url":"https://api.github.com/repos/codex-team/codex.media/issues/events{/number}","events_url":"https://api.github.com/repos/codex-team/codex.media/events","assignees_url":"https://api.github.com/repos/codex-team/codex.media/assignees{/user}","branches_url":"https://api.github.com/repos/codex-team/codex.media/branches{/branch}","tags_url":"https://api.github.com/repos/codex-team/codex.media/tags","blobs_url":"https://api.github.com/repos/codex-team/codex.media/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codex-team/codex.media/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codex-team/codex.media/git/refs{/sha}","trees_url":"https://api.github.com/repos/codex-team/codex.media/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codex-team/codex.media/statuses/{sha}","languages_url":"https://api.github.com/repos/codex-team/codex.media/languages","stargazers_url":"https://api.github.com/repos/codex-team/codex.media/stargazers","contributors_url":"https://api.github.com/repos/codex-team/codex.media/contributors","subscribers_url":"https://api.github.com/repos/codex-team/codex.media/subscribers","subscription_url":"https://api.github.com/repos/codex-team/codex.media/subscription","commits_url":"https://api.github.com/repos/codex-team/codex.media/commits{/sha}","git_commits_url":"https://api.github.com/repos/codex-team/codex.media/git/commits{/sha}","comments_url":"https://api.github.com/repos/codex-team/codex.media/comments{/number}","issue_comment_url":"https://api.github.com/repos/codex-team/codex.media/issues/comments{/number}","contents_url":"https://api.github.com/repos/codex-team/codex.media/contents/{+path}","compare_url":"https://api.github.com/repos/codex-team/codex.media/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codex-team/codex.media/merges","archive_url":"https://api.github.com/repos/codex-team/codex.media/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codex-team/codex.media/downloads","issues_url":"https://api.github.com/repos/codex-team/codex.media/issues{/number}","pulls_url":"https://api.github.com/repos/codex-team/codex.media/pulls{/number}","milestones_url":"https://api.github.com/repos/codex-team/codex.media/milestones{/number}","notifications_url":"https://api.github.com/repos/codex-team/codex.media/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codex-team/codex.media/labels{/name}","releases_url":"https://api.github.com/repos/codex-team/codex.media/releases{/id}","deployments_url":"https://api.github.com/repos/codex-team/codex.media/deployments","created_at":"2015-11-22T13:51:50Z","updated_at":"2018-07-14T11:03:49Z","pushed_at":"2018-07-15T15:03:16Z","git_url":"git://github.com/codex-team/codex.media.git","ssh_url":"git@github.com:codex-team/codex.media.git","clone_url":"https://github.com/codex-team/codex.media.git","svn_url":"https://github.com/codex-team/codex.media","homepage":"https://ifmo.su/media","size":17172,"stargazers_count":6,"watchers_count":6,"language":"PHP","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":61,"license":null,"forks":1,"open_issues":61,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codex-team/codex.media/pulls/454"},"html":{"href":"https://github.com/codex-team/codex.media/pull/454"},"issue":{"href":"https://api.github.com/repos/codex-team/codex.media/issues/454"},"comments":{"href":"https://api.github.com/repos/codex-team/codex.media/issues/454/comments"},"review_comments":{"href":"https://api.github.com/repos/codex-team/codex.media/pulls/454/comments"},"review_comment":{"href":"https://api.github.com/repos/codex-team/codex.media/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codex-team/codex.media/pulls/454/commits"},"statuses":{"href":"https://api.github.com/repos/codex-team/codex.media/statuses/d963bdcaeb62f4c246b2edce3e9d4f5120f86b78"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"neSpecc"}}