{"action":"created","comment":{"url":"https://api.github.com/repos/fsr-itse/1327/pulls/comments/28284775","id":28284775,"diff_hunk":"@@ -48,6 +48,13 @@\n \t\t\t\t\t\t{% endif %}\n \t\t\t\t\t</li>\n \t\t\t\t\t{% endfor %}\n+\t\t\t\t\t{% if CAN_CREATE_INFORMATIONPAGE %}\n+\t\t\t\t\t\t<li class=\"pull-right\">\n+\t\t\t\t\t\t\t<a href=\"{% url 'information_pages:create' %}\">\n+\t\t\t\t\t\t\t\t<span class=\"glyphicon glyphicon-plus\" aria-hidden=\"true\"></span>\n+\t\t\t\t\t\t\t</a>\n+\t\t\t\t\t\t</li>\n+\t\t\t\t\t{% endif %}","path":"_1327/templates/base.html","position":10,"original_position":10,"commit_id":"c177acd554bba7db2069593d5390125979bffc77","original_commit_id":"c177acd554bba7db2069593d5390125979bffc77","user":{"login":"invliD","id":42910,"avatar_url":"https://avatars.githubusercontent.com/u/42910?v=3","gravatar_id":"","url":"https://api.github.com/users/invliD","html_url":"https://github.com/invliD","followers_url":"https://api.github.com/users/invliD/followers","following_url":"https://api.github.com/users/invliD/following{/other_user}","gists_url":"https://api.github.com/users/invliD/gists{/gist_id}","starred_url":"https://api.github.com/users/invliD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/invliD/subscriptions","organizations_url":"https://api.github.com/users/invliD/orgs","repos_url":"https://api.github.com/users/invliD/repos","events_url":"https://api.github.com/users/invliD/events{/privacy}","received_events_url":"https://api.github.com/users/invliD/received_events","type":"User","site_admin":false},"body":"We can't create such a link for each type of document, see above.\r\nWhat about one link if the user can create *any* type of document?","created_at":"2015-04-13T22:14:38Z","updated_at":"2015-04-13T22:14:38Z","html_url":"https://github.com/fsr-itse/1327/pull/107#discussion_r28284775","pull_request_url":"https://api.github.com/repos/fsr-itse/1327/pulls/107","_links":{"self":{"href":"https://api.github.com/repos/fsr-itse/1327/pulls/comments/28284775"},"html":{"href":"https://github.com/fsr-itse/1327/pull/107#discussion_r28284775"},"pull_request":{"href":"https://api.github.com/repos/fsr-itse/1327/pulls/107"}}},"pull_request":{"url":"https://api.github.com/repos/fsr-itse/1327/pulls/107","id":33203122,"html_url":"https://github.com/fsr-itse/1327/pull/107","diff_url":"https://github.com/fsr-itse/1327/pull/107.diff","patch_url":"https://github.com/fsr-itse/1327/pull/107.patch","issue_url":"https://api.github.com/repos/fsr-itse/1327/issues/107","number":107,"state":"open","locked":false,"title":"add function to create new info pages","user":{"login":"Nef10","id":4551135,"avatar_url":"https://avatars.githubusercontent.com/u/4551135?v=3","gravatar_id":"","url":"https://api.github.com/users/Nef10","html_url":"https://github.com/Nef10","followers_url":"https://api.github.com/users/Nef10/followers","following_url":"https://api.github.com/users/Nef10/following{/other_user}","gists_url":"https://api.github.com/users/Nef10/gists{/gist_id}","starred_url":"https://api.github.com/users/Nef10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nef10/subscriptions","organizations_url":"https://api.github.com/users/Nef10/orgs","repos_url":"https://api.github.com/users/Nef10/repos","events_url":"https://api.github.com/users/Nef10/events{/privacy}","received_events_url":"https://api.github.com/users/Nef10/received_events","type":"User","site_admin":false},"body":"fix #34 you can restore autosaves of new sites","created_at":"2015-04-13T21:01:58Z","updated_at":"2015-04-13T22:14:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ebe6d2e7f21f4d8b244a4f5822dbefe9783da69a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fsr-itse/1327/pulls/107/commits","review_comments_url":"https://api.github.com/repos/fsr-itse/1327/pulls/107/comments","review_comment_url":"https://api.github.com/repos/fsr-itse/1327/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fsr-itse/1327/issues/107/comments","statuses_url":"https://api.github.com/repos/fsr-itse/1327/statuses/c177acd554bba7db2069593d5390125979bffc77","head":{"label":"Nef10:new-page","ref":"new-page","sha":"c177acd554bba7db2069593d5390125979bffc77","user":{"login":"Nef10","id":4551135,"avatar_url":"https://avatars.githubusercontent.com/u/4551135?v=3","gravatar_id":"","url":"https://api.github.com/users/Nef10","html_url":"https://github.com/Nef10","followers_url":"https://api.github.com/users/Nef10/followers","following_url":"https://api.github.com/users/Nef10/following{/other_user}","gists_url":"https://api.github.com/users/Nef10/gists{/gist_id}","starred_url":"https://api.github.com/users/Nef10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nef10/subscriptions","organizations_url":"https://api.github.com/users/Nef10/orgs","repos_url":"https://api.github.com/users/Nef10/repos","events_url":"https://api.github.com/users/Nef10/events{/privacy}","received_events_url":"https://api.github.com/users/Nef10/received_events","type":"User","site_admin":false},"repo":{"id":26765253,"name":"1327","full_name":"Nef10/1327","owner":{"login":"Nef10","id":4551135,"avatar_url":"https://avatars.githubusercontent.com/u/4551135?v=3","gravatar_id":"","url":"https://api.github.com/users/Nef10","html_url":"https://github.com/Nef10","followers_url":"https://api.github.com/users/Nef10/followers","following_url":"https://api.github.com/users/Nef10/following{/other_user}","gists_url":"https://api.github.com/users/Nef10/gists{/gist_id}","starred_url":"https://api.github.com/users/Nef10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nef10/subscriptions","organizations_url":"https://api.github.com/users/Nef10/orgs","repos_url":"https://api.github.com/users/Nef10/repos","events_url":"https://api.github.com/users/Nef10/events{/privacy}","received_events_url":"https://api.github.com/users/Nef10/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Nef10/1327","description":"A student representatives website","fork":true,"url":"https://api.github.com/repos/Nef10/1327","forks_url":"https://api.github.com/repos/Nef10/1327/forks","keys_url":"https://api.github.com/repos/Nef10/1327/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Nef10/1327/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Nef10/1327/teams","hooks_url":"https://api.github.com/repos/Nef10/1327/hooks","issue_events_url":"https://api.github.com/repos/Nef10/1327/issues/events{/number}","events_url":"https://api.github.com/repos/Nef10/1327/events","assignees_url":"https://api.github.com/repos/Nef10/1327/assignees{/user}","branches_url":"https://api.github.com/repos/Nef10/1327/branches{/branch}","tags_url":"https://api.github.com/repos/Nef10/1327/tags","blobs_url":"https://api.github.com/repos/Nef10/1327/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Nef10/1327/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Nef10/1327/git/refs{/sha}","trees_url":"https://api.github.com/repos/Nef10/1327/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Nef10/1327/statuses/{sha}","languages_url":"https://api.github.com/repos/Nef10/1327/languages","stargazers_url":"https://api.github.com/repos/Nef10/1327/stargazers","contributors_url":"https://api.github.com/repos/Nef10/1327/contributors","subscribers_url":"https://api.github.com/repos/Nef10/1327/subscribers","subscription_url":"https://api.github.com/repos/Nef10/1327/subscription","commits_url":"https://api.github.com/repos/Nef10/1327/commits{/sha}","git_commits_url":"https://api.github.com/repos/Nef10/1327/git/commits{/sha}","comments_url":"https://api.github.com/repos/Nef10/1327/comments{/number}","issue_comment_url":"https://api.github.com/repos/Nef10/1327/issues/comments{/number}","contents_url":"https://api.github.com/repos/Nef10/1327/contents/{+path}","compare_url":"https://api.github.com/repos/Nef10/1327/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Nef10/1327/merges","archive_url":"https://api.github.com/repos/Nef10/1327/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Nef10/1327/downloads","issues_url":"https://api.github.com/repos/Nef10/1327/issues{/number}","pulls_url":"https://api.github.com/repos/Nef10/1327/pulls{/number}","milestones_url":"https://api.github.com/repos/Nef10/1327/milestones{/number}","notifications_url":"https://api.github.com/repos/Nef10/1327/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Nef10/1327/labels{/name}","releases_url":"https://api.github.com/repos/Nef10/1327/releases{/id}","created_at":"2014-11-17T16:18:00Z","updated_at":"2015-02-16T21:42:30Z","pushed_at":"2015-04-13T21:30:09Z","git_url":"git://github.com/Nef10/1327.git","ssh_url":"git@github.com:Nef10/1327.git","clone_url":"https://github.com/Nef10/1327.git","svn_url":"https://github.com/Nef10/1327","homepage":null,"size":426,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"master"}},"base":{"label":"fsr-itse:master","ref":"master","sha":"abf9a95accdba1e14794ce91b6368cb14296c0f1","user":{"login":"fsr-itse","id":1298457,"avatar_url":"https://avatars.githubusercontent.com/u/1298457?v=3","gravatar_id":"","url":"https://api.github.com/users/fsr-itse","html_url":"https://github.com/fsr-itse","followers_url":"https://api.github.com/users/fsr-itse/followers","following_url":"https://api.github.com/users/fsr-itse/following{/other_user}","gists_url":"https://api.github.com/users/fsr-itse/gists{/gist_id}","starred_url":"https://api.github.com/users/fsr-itse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsr-itse/subscriptions","organizations_url":"https://api.github.com/users/fsr-itse/orgs","repos_url":"https://api.github.com/users/fsr-itse/repos","events_url":"https://api.github.com/users/fsr-itse/events{/privacy}","received_events_url":"https://api.github.com/users/fsr-itse/received_events","type":"Organization","site_admin":false},"repo":{"id":22120153,"name":"1327","full_name":"fsr-itse/1327","owner":{"login":"fsr-itse","id":1298457,"avatar_url":"https://avatars.githubusercontent.com/u/1298457?v=3","gravatar_id":"","url":"https://api.github.com/users/fsr-itse","html_url":"https://github.com/fsr-itse","followers_url":"https://api.github.com/users/fsr-itse/followers","following_url":"https://api.github.com/users/fsr-itse/following{/other_user}","gists_url":"https://api.github.com/users/fsr-itse/gists{/gist_id}","starred_url":"https://api.github.com/users/fsr-itse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsr-itse/subscriptions","organizations_url":"https://api.github.com/users/fsr-itse/orgs","repos_url":"https://api.github.com/users/fsr-itse/repos","events_url":"https://api.github.com/users/fsr-itse/events{/privacy}","received_events_url":"https://api.github.com/users/fsr-itse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fsr-itse/1327","description":"A student representatives website","fork":false,"url":"https://api.github.com/repos/fsr-itse/1327","forks_url":"https://api.github.com/repos/fsr-itse/1327/forks","keys_url":"https://api.github.com/repos/fsr-itse/1327/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fsr-itse/1327/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fsr-itse/1327/teams","hooks_url":"https://api.github.com/repos/fsr-itse/1327/hooks","issue_events_url":"https://api.github.com/repos/fsr-itse/1327/issues/events{/number}","events_url":"https://api.github.com/repos/fsr-itse/1327/events","assignees_url":"https://api.github.com/repos/fsr-itse/1327/assignees{/user}","branches_url":"https://api.github.com/repos/fsr-itse/1327/branches{/branch}","tags_url":"https://api.github.com/repos/fsr-itse/1327/tags","blobs_url":"https://api.github.com/repos/fsr-itse/1327/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fsr-itse/1327/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fsr-itse/1327/git/refs{/sha}","trees_url":"https://api.github.com/repos/fsr-itse/1327/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fsr-itse/1327/statuses/{sha}","languages_url":"https://api.github.com/repos/fsr-itse/1327/languages","stargazers_url":"https://api.github.com/repos/fsr-itse/1327/stargazers","contributors_url":"https://api.github.com/repos/fsr-itse/1327/contributors","subscribers_url":"https://api.github.com/repos/fsr-itse/1327/subscribers","subscription_url":"https://api.github.com/repos/fsr-itse/1327/subscription","commits_url":"https://api.github.com/repos/fsr-itse/1327/commits{/sha}","git_commits_url":"https://api.github.com/repos/fsr-itse/1327/git/commits{/sha}","comments_url":"https://api.github.com/repos/fsr-itse/1327/comments{/number}","issue_comment_url":"https://api.github.com/repos/fsr-itse/1327/issues/comments{/number}","contents_url":"https://api.github.com/repos/fsr-itse/1327/contents/{+path}","compare_url":"https://api.github.com/repos/fsr-itse/1327/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fsr-itse/1327/merges","archive_url":"https://api.github.com/repos/fsr-itse/1327/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fsr-itse/1327/downloads","issues_url":"https://api.github.com/repos/fsr-itse/1327/issues{/number}","pulls_url":"https://api.github.com/repos/fsr-itse/1327/pulls{/number}","milestones_url":"https://api.github.com/repos/fsr-itse/1327/milestones{/number}","notifications_url":"https://api.github.com/repos/fsr-itse/1327/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fsr-itse/1327/labels{/name}","releases_url":"https://api.github.com/repos/fsr-itse/1327/releases{/id}","created_at":"2014-07-22T20:48:36Z","updated_at":"2015-04-13T21:33:44Z","pushed_at":"2015-04-13T22:06:24Z","git_url":"git://github.com/fsr-itse/1327.git","ssh_url":"git@github.com:fsr-itse/1327.git","clone_url":"https://github.com/fsr-itse/1327.git","svn_url":"https://github.com/fsr-itse/1327","homepage":null,"size":1343,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":29,"forks":9,"open_issues":29,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fsr-itse/1327/pulls/107"},"html":{"href":"https://github.com/fsr-itse/1327/pull/107"},"issue":{"href":"https://api.github.com/repos/fsr-itse/1327/issues/107"},"comments":{"href":"https://api.github.com/repos/fsr-itse/1327/issues/107/comments"},"review_comments":{"href":"https://api.github.com/repos/fsr-itse/1327/pulls/107/comments"},"review_comment":{"href":"https://api.github.com/repos/fsr-itse/1327/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fsr-itse/1327/pulls/107/commits"},"statuses":{"href":"https://api.github.com/repos/fsr-itse/1327/statuses/c177acd554bba7db2069593d5390125979bffc77"}}}}