{"action":"created","comment":{"url":"https://api.github.com/repos/codex-team/codex.edu/pulls/comments/48255844","id":48255844,"diff_hunk":"@@ -55,11 +58,18 @@\n \t<? endif; ?>\n \n \n-\t<h2>Мои страницы</h2>\n+\t<h2>Страницы пользователя</h2>\n \t<ul>\n-\t<? foreach ($userPages as $page): ?>\n-\t\t<li><h3><a href=\"/page/<?= $page['id'] ?>\"><?= $page['title'] ?></a></h3></li>\n-\t<? endforeach; ?>\n+\t<? if($user->id == $viewUser->id && $user->status > Controller_User::USER_STATUS_STUDENT): ?>","path":"application/views/templates/user/profile.php","position":39,"original_position":39,"commit_id":"bc22c6b24271dc70c461f94f1071fd25c94afe87","original_commit_id":"bc22c6b24271dc70c461f94f1071fd25c94afe87","user":{"login":"neSpecc","id":3684889,"avatar_url":"https://avatars.githubusercontent.com/u/3684889?v=3","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":"2015-12-22T14:14:44Z","updated_at":"2015-12-22T14:14:44Z","html_url":"https://github.com/codex-team/codex.edu/pull/24#discussion_r48255844","pull_request_url":"https://api.github.com/repos/codex-team/codex.edu/pulls/24","_links":{"self":{"href":"https://api.github.com/repos/codex-team/codex.edu/pulls/comments/48255844"},"html":{"href":"https://github.com/codex-team/codex.edu/pull/24#discussion_r48255844"},"pull_request":{"href":"https://api.github.com/repos/codex-team/codex.edu/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/codex-team/codex.edu/pulls/24","id":54370571,"html_url":"https://github.com/codex-team/codex.edu/pull/24","diff_url":"https://github.com/codex-team/codex.edu/pull/24.diff","patch_url":"https://github.com/codex-team/codex.edu/pull/24.patch","issue_url":"https://api.github.com/repos/codex-team/codex.edu/issues/24","number":24,"state":"open","locked":false,"title":"Form for pages","user":{"login":"illiiiillllilii","id":15259299,"avatar_url":"https://avatars.githubusercontent.com/u/15259299?v=3","gravatar_id":"","url":"https://api.github.com/users/illiiiillllilii","html_url":"https://github.com/illiiiillllilii","followers_url":"https://api.github.com/users/illiiiillllilii/followers","following_url":"https://api.github.com/users/illiiiillllilii/following{/other_user}","gists_url":"https://api.github.com/users/illiiiillllilii/gists{/gist_id}","starred_url":"https://api.github.com/users/illiiiillllilii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/illiiiillllilii/subscriptions","organizations_url":"https://api.github.com/users/illiiiillllilii/orgs","repos_url":"https://api.github.com/users/illiiiillllilii/repos","events_url":"https://api.github.com/users/illiiiillllilii/events{/privacy}","received_events_url":"https://api.github.com/users/illiiiillllilii/received_events","type":"User","site_admin":false},"body":"issue #22","created_at":"2015-12-22T13:41:45Z","updated_at":"2015-12-22T14:14:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8e60d765c9bab246c0034333a16bfa3aa1dc5fc3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/codex-team/codex.edu/pulls/24/commits","review_comments_url":"https://api.github.com/repos/codex-team/codex.edu/pulls/24/comments","review_comment_url":"https://api.github.com/repos/codex-team/codex.edu/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codex-team/codex.edu/issues/24/comments","statuses_url":"https://api.github.com/repos/codex-team/codex.edu/statuses/bc22c6b24271dc70c461f94f1071fd25c94afe87","head":{"label":"codex-team:form_for_pages","ref":"form_for_pages","sha":"bc22c6b24271dc70c461f94f1071fd25c94afe87","user":{"login":"codex-team","id":16060815,"avatar_url":"https://avatars.githubusercontent.com/u/16060815?v=3","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,"name":"codex.edu","full_name":"codex-team/codex.edu","owner":{"login":"codex-team","id":16060815,"avatar_url":"https://avatars.githubusercontent.com/u/16060815?v=3","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.edu","description":"Project «Codex Education»","fork":false,"url":"https://api.github.com/repos/codex-team/codex.edu","forks_url":"https://api.github.com/repos/codex-team/codex.edu/forks","keys_url":"https://api.github.com/repos/codex-team/codex.edu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codex-team/codex.edu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codex-team/codex.edu/teams","hooks_url":"https://api.github.com/repos/codex-team/codex.edu/hooks","issue_events_url":"https://api.github.com/repos/codex-team/codex.edu/issues/events{/number}","events_url":"https://api.github.com/repos/codex-team/codex.edu/events","assignees_url":"https://api.github.com/repos/codex-team/codex.edu/assignees{/user}","branches_url":"https://api.github.com/repos/codex-team/codex.edu/branches{/branch}","tags_url":"https://api.github.com/repos/codex-team/codex.edu/tags","blobs_url":"https://api.github.com/repos/codex-team/codex.edu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codex-team/codex.edu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codex-team/codex.edu/git/refs{/sha}","trees_url":"https://api.github.com/repos/codex-team/codex.edu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codex-team/codex.edu/statuses/{sha}","languages_url":"https://api.github.com/repos/codex-team/codex.edu/languages","stargazers_url":"https://api.github.com/repos/codex-team/codex.edu/stargazers","contributors_url":"https://api.github.com/repos/codex-team/codex.edu/contributors","subscribers_url":"https://api.github.com/repos/codex-team/codex.edu/subscribers","subscription_url":"https://api.github.com/repos/codex-team/codex.edu/subscription","commits_url":"https://api.github.com/repos/codex-team/codex.edu/commits{/sha}","git_commits_url":"https://api.github.com/repos/codex-team/codex.edu/git/commits{/sha}","comments_url":"https://api.github.com/repos/codex-team/codex.edu/comments{/number}","issue_comment_url":"https://api.github.com/repos/codex-team/codex.edu/issues/comments{/number}","contents_url":"https://api.github.com/repos/codex-team/codex.edu/contents/{+path}","compare_url":"https://api.github.com/repos/codex-team/codex.edu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codex-team/codex.edu/merges","archive_url":"https://api.github.com/repos/codex-team/codex.edu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codex-team/codex.edu/downloads","issues_url":"https://api.github.com/repos/codex-team/codex.edu/issues{/number}","pulls_url":"https://api.github.com/repos/codex-team/codex.edu/pulls{/number}","milestones_url":"https://api.github.com/repos/codex-team/codex.edu/milestones{/number}","notifications_url":"https://api.github.com/repos/codex-team/codex.edu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codex-team/codex.edu/labels{/name}","releases_url":"https://api.github.com/repos/codex-team/codex.edu/releases{/id}","created_at":"2015-11-22T13:51:50Z","updated_at":"2015-12-19T23:42:34Z","pushed_at":"2015-12-22T13:41:46Z","git_url":"git://github.com/codex-team/codex.edu.git","ssh_url":"git@github.com:codex-team/codex.edu.git","clone_url":"https://github.com/codex-team/codex.edu.git","svn_url":"https://github.com/codex-team/codex.edu","homepage":null,"size":5013,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":13,"forks":0,"open_issues":13,"watchers":1,"default_branch":"master"}},"base":{"label":"codex-team:master","ref":"master","sha":"0a1ca7dbae2175d84b7eec001ab890443a9827ad","user":{"login":"codex-team","id":16060815,"avatar_url":"https://avatars.githubusercontent.com/u/16060815?v=3","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,"name":"codex.edu","full_name":"codex-team/codex.edu","owner":{"login":"codex-team","id":16060815,"avatar_url":"https://avatars.githubusercontent.com/u/16060815?v=3","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.edu","description":"Project «Codex Education»","fork":false,"url":"https://api.github.com/repos/codex-team/codex.edu","forks_url":"https://api.github.com/repos/codex-team/codex.edu/forks","keys_url":"https://api.github.com/repos/codex-team/codex.edu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codex-team/codex.edu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codex-team/codex.edu/teams","hooks_url":"https://api.github.com/repos/codex-team/codex.edu/hooks","issue_events_url":"https://api.github.com/repos/codex-team/codex.edu/issues/events{/number}","events_url":"https://api.github.com/repos/codex-team/codex.edu/events","assignees_url":"https://api.github.com/repos/codex-team/codex.edu/assignees{/user}","branches_url":"https://api.github.com/repos/codex-team/codex.edu/branches{/branch}","tags_url":"https://api.github.com/repos/codex-team/codex.edu/tags","blobs_url":"https://api.github.com/repos/codex-team/codex.edu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codex-team/codex.edu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codex-team/codex.edu/git/refs{/sha}","trees_url":"https://api.github.com/repos/codex-team/codex.edu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codex-team/codex.edu/statuses/{sha}","languages_url":"https://api.github.com/repos/codex-team/codex.edu/languages","stargazers_url":"https://api.github.com/repos/codex-team/codex.edu/stargazers","contributors_url":"https://api.github.com/repos/codex-team/codex.edu/contributors","subscribers_url":"https://api.github.com/repos/codex-team/codex.edu/subscribers","subscription_url":"https://api.github.com/repos/codex-team/codex.edu/subscription","commits_url":"https://api.github.com/repos/codex-team/codex.edu/commits{/sha}","git_commits_url":"https://api.github.com/repos/codex-team/codex.edu/git/commits{/sha}","comments_url":"https://api.github.com/repos/codex-team/codex.edu/comments{/number}","issue_comment_url":"https://api.github.com/repos/codex-team/codex.edu/issues/comments{/number}","contents_url":"https://api.github.com/repos/codex-team/codex.edu/contents/{+path}","compare_url":"https://api.github.com/repos/codex-team/codex.edu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codex-team/codex.edu/merges","archive_url":"https://api.github.com/repos/codex-team/codex.edu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codex-team/codex.edu/downloads","issues_url":"https://api.github.com/repos/codex-team/codex.edu/issues{/number}","pulls_url":"https://api.github.com/repos/codex-team/codex.edu/pulls{/number}","milestones_url":"https://api.github.com/repos/codex-team/codex.edu/milestones{/number}","notifications_url":"https://api.github.com/repos/codex-team/codex.edu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codex-team/codex.edu/labels{/name}","releases_url":"https://api.github.com/repos/codex-team/codex.edu/releases{/id}","created_at":"2015-11-22T13:51:50Z","updated_at":"2015-12-19T23:42:34Z","pushed_at":"2015-12-22T13:41:46Z","git_url":"git://github.com/codex-team/codex.edu.git","ssh_url":"git@github.com:codex-team/codex.edu.git","clone_url":"https://github.com/codex-team/codex.edu.git","svn_url":"https://github.com/codex-team/codex.edu","homepage":null,"size":5013,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":13,"forks":0,"open_issues":13,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codex-team/codex.edu/pulls/24"},"html":{"href":"https://github.com/codex-team/codex.edu/pull/24"},"issue":{"href":"https://api.github.com/repos/codex-team/codex.edu/issues/24"},"comments":{"href":"https://api.github.com/repos/codex-team/codex.edu/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/codex-team/codex.edu/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/codex-team/codex.edu/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codex-team/codex.edu/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/codex-team/codex.edu/statuses/bc22c6b24271dc70c461f94f1071fd25c94afe87"}}}}