{"action":"created","comment":{"url":"https://api.github.com/repos/universalcore/unicore-cms/pulls/comments/24243442","id":24243442,"diff_hunk":"@@ -49,7 +49,7 @@\n           </div>\n         </div>\n \n-        <div metal:use-macro=\"view.search_box_template\"></div>\n+        <div class=\"base_search_box\" tal:condition=\"not view.search_bar_404_exists()\" metal:use-macro=\"view.search_box_template\"></div>","path":"cms/templates/base.pt","position":5,"original_position":5,"commit_id":"655b39ad079af2b3d8f55be6fa0bf0dff00fb911","original_commit_id":"655b39ad079af2b3d8f55be6fa0bf0dff00fb911","user":{"login":"miltontony","id":623417,"avatar_url":"https://avatars.githubusercontent.com/u/623417?v=3","gravatar_id":"","url":"https://api.github.com/users/miltontony","html_url":"https://github.com/miltontony","followers_url":"https://api.github.com/users/miltontony/followers","following_url":"https://api.github.com/users/miltontony/following{/other_user}","gists_url":"https://api.github.com/users/miltontony/gists{/gist_id}","starred_url":"https://api.github.com/users/miltontony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miltontony/subscriptions","organizations_url":"https://api.github.com/users/miltontony/orgs","repos_url":"https://api.github.com/users/miltontony/repos","events_url":"https://api.github.com/users/miltontony/events{/privacy}","received_events_url":"https://api.github.com/users/miltontony/received_events","type":"User","site_admin":false},"body":"You can use `metal:define-slot=\"search\"` and use it like how the [nav](https://github.com/universalcore/unicore-cms-ffl/blob/develop/unicorecmsffl/templates/base.pt#L58-L65) is defined. Then in the 404.pt you can just override it with an empty block. [Like so](https://github.com/universalcore/unicore-cms-ffl/blob/develop/unicorecmsffl/templates/locale_change.pt#L2)","created_at":"2015-02-06T14:35:12Z","updated_at":"2015-02-06T14:35:12Z","html_url":"https://github.com/universalcore/unicore-cms/pull/44#discussion_r24243442","pull_request_url":"https://api.github.com/repos/universalcore/unicore-cms/pulls/44","_links":{"self":{"href":"https://api.github.com/repos/universalcore/unicore-cms/pulls/comments/24243442"},"html":{"href":"https://github.com/universalcore/unicore-cms/pull/44#discussion_r24243442"},"pull_request":{"href":"https://api.github.com/repos/universalcore/unicore-cms/pulls/44"}}},"pull_request":{"url":"https://api.github.com/repos/universalcore/unicore-cms/pulls/44","id":25662695,"html_url":"https://github.com/universalcore/unicore-cms/pull/44","diff_url":"https://github.com/universalcore/unicore-cms/pull/44.diff","patch_url":"https://github.com/universalcore/unicore-cms/pull/44.patch","issue_url":"https://api.github.com/repos/universalcore/unicore-cms/issues/44","number":44,"state":"open","locked":false,"title":"Adding branded 404 page","user":{"login":"nathanbegbie","id":7100966,"avatar_url":"https://avatars.githubusercontent.com/u/7100966?v=3","gravatar_id":"","url":"https://api.github.com/users/nathanbegbie","html_url":"https://github.com/nathanbegbie","followers_url":"https://api.github.com/users/nathanbegbie/followers","following_url":"https://api.github.com/users/nathanbegbie/following{/other_user}","gists_url":"https://api.github.com/users/nathanbegbie/gists{/gist_id}","starred_url":"https://api.github.com/users/nathanbegbie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathanbegbie/subscriptions","organizations_url":"https://api.github.com/users/nathanbegbie/orgs","repos_url":"https://api.github.com/users/nathanbegbie/repos","events_url":"https://api.github.com/users/nathanbegbie/events{/privacy}","received_events_url":"https://api.github.com/users/nathanbegbie/received_events","type":"User","site_admin":false},"body":"Please note that when a user is is assigned staff status permissions, he/she unable to edit/add any content on the CMS, every user needs to be assigned \"Superuser status\" to edit/add content.\r\n![screen shot 2014-10-22 at 3 08 04 pm](https://cloud.githubusercontent.com/assets/8982805/4736455/83060acc-59ec-11e4-9ca8-74c32114c115.png)\r\n","created_at":"2014-12-08T12:29:03Z","updated_at":"2015-02-06T14:35:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"83a9df5acc38ecc4150f49cce7b3f2ee0c64a752","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/universalcore/unicore-cms/pulls/44/commits","review_comments_url":"https://api.github.com/repos/universalcore/unicore-cms/pulls/44/comments","review_comment_url":"https://api.github.com/repos/universalcore/unicore-cms/pulls/comments/{number}","comments_url":"https://api.github.com/repos/universalcore/unicore-cms/issues/44/comments","statuses_url":"https://api.github.com/repos/universalcore/unicore-cms/statuses/655b39ad079af2b3d8f55be6fa0bf0dff00fb911","head":{"label":"universalcore:feature/feature/issue-44-branded-404-page","ref":"feature/feature/issue-44-branded-404-page","sha":"655b39ad079af2b3d8f55be6fa0bf0dff00fb911","user":{"login":"universalcore","id":8818658,"avatar_url":"https://avatars.githubusercontent.com/u/8818658?v=3","gravatar_id":"","url":"https://api.github.com/users/universalcore","html_url":"https://github.com/universalcore","followers_url":"https://api.github.com/users/universalcore/followers","following_url":"https://api.github.com/users/universalcore/following{/other_user}","gists_url":"https://api.github.com/users/universalcore/gists{/gist_id}","starred_url":"https://api.github.com/users/universalcore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/universalcore/subscriptions","organizations_url":"https://api.github.com/users/universalcore/orgs","repos_url":"https://api.github.com/users/universalcore/repos","events_url":"https://api.github.com/users/universalcore/events{/privacy}","received_events_url":"https://api.github.com/users/universalcore/received_events","type":"Organization","site_admin":false},"repo":{"id":22839499,"name":"unicore-cms","full_name":"universalcore/unicore-cms","owner":{"login":"universalcore","id":8818658,"avatar_url":"https://avatars.githubusercontent.com/u/8818658?v=3","gravatar_id":"","url":"https://api.github.com/users/universalcore","html_url":"https://github.com/universalcore","followers_url":"https://api.github.com/users/universalcore/followers","following_url":"https://api.github.com/users/universalcore/following{/other_user}","gists_url":"https://api.github.com/users/universalcore/gists{/gist_id}","starred_url":"https://api.github.com/users/universalcore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/universalcore/subscriptions","organizations_url":"https://api.github.com/users/universalcore/orgs","repos_url":"https://api.github.com/users/universalcore/repos","events_url":"https://api.github.com/users/universalcore/events{/privacy}","received_events_url":"https://api.github.com/users/universalcore/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/universalcore/unicore-cms","description":"JSON based CMS for Universal Core","fork":false,"url":"https://api.github.com/repos/universalcore/unicore-cms","forks_url":"https://api.github.com/repos/universalcore/unicore-cms/forks","keys_url":"https://api.github.com/repos/universalcore/unicore-cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/universalcore/unicore-cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/universalcore/unicore-cms/teams","hooks_url":"https://api.github.com/repos/universalcore/unicore-cms/hooks","issue_events_url":"https://api.github.com/repos/universalcore/unicore-cms/issues/events{/number}","events_url":"https://api.github.com/repos/universalcore/unicore-cms/events","assignees_url":"https://api.github.com/repos/universalcore/unicore-cms/assignees{/user}","branches_url":"https://api.github.com/repos/universalcore/unicore-cms/branches{/branch}","tags_url":"https://api.github.com/repos/universalcore/unicore-cms/tags","blobs_url":"https://api.github.com/repos/universalcore/unicore-cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/universalcore/unicore-cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/universalcore/unicore-cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/universalcore/unicore-cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/universalcore/unicore-cms/statuses/{sha}","languages_url":"https://api.github.com/repos/universalcore/unicore-cms/languages","stargazers_url":"https://api.github.com/repos/universalcore/unicore-cms/stargazers","contributors_url":"https://api.github.com/repos/universalcore/unicore-cms/contributors","subscribers_url":"https://api.github.com/repos/universalcore/unicore-cms/subscribers","subscription_url":"https://api.github.com/repos/universalcore/unicore-cms/subscription","commits_url":"https://api.github.com/repos/universalcore/unicore-cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/universalcore/unicore-cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/universalcore/unicore-cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/universalcore/unicore-cms/issues/comments/{number}","contents_url":"https://api.github.com/repos/universalcore/unicore-cms/contents/{+path}","compare_url":"https://api.github.com/repos/universalcore/unicore-cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/universalcore/unicore-cms/merges","archive_url":"https://api.github.com/repos/universalcore/unicore-cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/universalcore/unicore-cms/downloads","issues_url":"https://api.github.com/repos/universalcore/unicore-cms/issues{/number}","pulls_url":"https://api.github.com/repos/universalcore/unicore-cms/pulls{/number}","milestones_url":"https://api.github.com/repos/universalcore/unicore-cms/milestones{/number}","notifications_url":"https://api.github.com/repos/universalcore/unicore-cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/universalcore/unicore-cms/labels{/name}","releases_url":"https://api.github.com/repos/universalcore/unicore-cms/releases{/id}","created_at":"2014-08-11T13:14:22Z","updated_at":"2015-02-05T12:06:21Z","pushed_at":"2015-02-06T14:21:37Z","git_url":"git://github.com/universalcore/unicore-cms.git","ssh_url":"git@github.com:universalcore/unicore-cms.git","clone_url":"https://github.com/universalcore/unicore-cms.git","svn_url":"https://github.com/universalcore/unicore-cms","homepage":"","size":2439,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":10,"forks":2,"open_issues":10,"watchers":2,"default_branch":"develop"}},"base":{"label":"universalcore:develop","ref":"develop","sha":"e839095362e42b9edca78279cdc33455c9a66725","user":{"login":"universalcore","id":8818658,"avatar_url":"https://avatars.githubusercontent.com/u/8818658?v=3","gravatar_id":"","url":"https://api.github.com/users/universalcore","html_url":"https://github.com/universalcore","followers_url":"https://api.github.com/users/universalcore/followers","following_url":"https://api.github.com/users/universalcore/following{/other_user}","gists_url":"https://api.github.com/users/universalcore/gists{/gist_id}","starred_url":"https://api.github.com/users/universalcore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/universalcore/subscriptions","organizations_url":"https://api.github.com/users/universalcore/orgs","repos_url":"https://api.github.com/users/universalcore/repos","events_url":"https://api.github.com/users/universalcore/events{/privacy}","received_events_url":"https://api.github.com/users/universalcore/received_events","type":"Organization","site_admin":false},"repo":{"id":22839499,"name":"unicore-cms","full_name":"universalcore/unicore-cms","owner":{"login":"universalcore","id":8818658,"avatar_url":"https://avatars.githubusercontent.com/u/8818658?v=3","gravatar_id":"","url":"https://api.github.com/users/universalcore","html_url":"https://github.com/universalcore","followers_url":"https://api.github.com/users/universalcore/followers","following_url":"https://api.github.com/users/universalcore/following{/other_user}","gists_url":"https://api.github.com/users/universalcore/gists{/gist_id}","starred_url":"https://api.github.com/users/universalcore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/universalcore/subscriptions","organizations_url":"https://api.github.com/users/universalcore/orgs","repos_url":"https://api.github.com/users/universalcore/repos","events_url":"https://api.github.com/users/universalcore/events{/privacy}","received_events_url":"https://api.github.com/users/universalcore/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/universalcore/unicore-cms","description":"JSON based CMS for Universal Core","fork":false,"url":"https://api.github.com/repos/universalcore/unicore-cms","forks_url":"https://api.github.com/repos/universalcore/unicore-cms/forks","keys_url":"https://api.github.com/repos/universalcore/unicore-cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/universalcore/unicore-cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/universalcore/unicore-cms/teams","hooks_url":"https://api.github.com/repos/universalcore/unicore-cms/hooks","issue_events_url":"https://api.github.com/repos/universalcore/unicore-cms/issues/events{/number}","events_url":"https://api.github.com/repos/universalcore/unicore-cms/events","assignees_url":"https://api.github.com/repos/universalcore/unicore-cms/assignees{/user}","branches_url":"https://api.github.com/repos/universalcore/unicore-cms/branches{/branch}","tags_url":"https://api.github.com/repos/universalcore/unicore-cms/tags","blobs_url":"https://api.github.com/repos/universalcore/unicore-cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/universalcore/unicore-cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/universalcore/unicore-cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/universalcore/unicore-cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/universalcore/unicore-cms/statuses/{sha}","languages_url":"https://api.github.com/repos/universalcore/unicore-cms/languages","stargazers_url":"https://api.github.com/repos/universalcore/unicore-cms/stargazers","contributors_url":"https://api.github.com/repos/universalcore/unicore-cms/contributors","subscribers_url":"https://api.github.com/repos/universalcore/unicore-cms/subscribers","subscription_url":"https://api.github.com/repos/universalcore/unicore-cms/subscription","commits_url":"https://api.github.com/repos/universalcore/unicore-cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/universalcore/unicore-cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/universalcore/unicore-cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/universalcore/unicore-cms/issues/comments/{number}","contents_url":"https://api.github.com/repos/universalcore/unicore-cms/contents/{+path}","compare_url":"https://api.github.com/repos/universalcore/unicore-cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/universalcore/unicore-cms/merges","archive_url":"https://api.github.com/repos/universalcore/unicore-cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/universalcore/unicore-cms/downloads","issues_url":"https://api.github.com/repos/universalcore/unicore-cms/issues{/number}","pulls_url":"https://api.github.com/repos/universalcore/unicore-cms/pulls{/number}","milestones_url":"https://api.github.com/repos/universalcore/unicore-cms/milestones{/number}","notifications_url":"https://api.github.com/repos/universalcore/unicore-cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/universalcore/unicore-cms/labels{/name}","releases_url":"https://api.github.com/repos/universalcore/unicore-cms/releases{/id}","created_at":"2014-08-11T13:14:22Z","updated_at":"2015-02-05T12:06:21Z","pushed_at":"2015-02-06T14:21:37Z","git_url":"git://github.com/universalcore/unicore-cms.git","ssh_url":"git@github.com:universalcore/unicore-cms.git","clone_url":"https://github.com/universalcore/unicore-cms.git","svn_url":"https://github.com/universalcore/unicore-cms","homepage":"","size":2439,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":10,"forks":2,"open_issues":10,"watchers":2,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/universalcore/unicore-cms/pulls/44"},"html":{"href":"https://github.com/universalcore/unicore-cms/pull/44"},"issue":{"href":"https://api.github.com/repos/universalcore/unicore-cms/issues/44"},"comments":{"href":"https://api.github.com/repos/universalcore/unicore-cms/issues/44/comments"},"review_comments":{"href":"https://api.github.com/repos/universalcore/unicore-cms/pulls/44/comments"},"review_comment":{"href":"https://api.github.com/repos/universalcore/unicore-cms/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/universalcore/unicore-cms/pulls/44/commits"},"statuses":{"href":"https://api.github.com/repos/universalcore/unicore-cms/statuses/655b39ad079af2b3d8f55be6fa0bf0dff00fb911"}}}}