{"action":"opened","issue":{"url":"https://api.github.com/repos/codercamps/NPCMS-JS/issues/4","repository_url":"https://api.github.com/repos/codercamps/NPCMS-JS","labels_url":"https://api.github.com/repos/codercamps/NPCMS-JS/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/codercamps/NPCMS-JS/issues/4/comments","events_url":"https://api.github.com/repos/codercamps/NPCMS-JS/issues/4/events","html_url":"https://github.com/codercamps/NPCMS-JS/issues/4","id":157410328,"number":4,"title":"Create Admin Layout View","user":{"login":"StephenCoderCamps","id":11622970,"avatar_url":"https://avatars.githubusercontent.com/u/11622970?v=3","gravatar_id":"","url":"https://api.github.com/users/StephenCoderCamps","html_url":"https://github.com/StephenCoderCamps","followers_url":"https://api.github.com/users/StephenCoderCamps/followers","following_url":"https://api.github.com/users/StephenCoderCamps/following{/other_user}","gists_url":"https://api.github.com/users/StephenCoderCamps/gists{/gist_id}","starred_url":"https://api.github.com/users/StephenCoderCamps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StephenCoderCamps/subscriptions","organizations_url":"https://api.github.com/users/StephenCoderCamps/orgs","repos_url":"https://api.github.com/users/StephenCoderCamps/repos","events_url":"https://api.github.com/users/StephenCoderCamps/events{/privacy}","received_events_url":"https://api.github.com/users/StephenCoderCamps/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-29T22:50:35Z","updated_at":"2016-05-29T22:50:35Z","closed_at":null,"body":"Create the Admin view for adding/editing/deleting layouts.\r\n\r\nA layout enables you to add common content to multiple pages such as logos and navigation bars.\r\n\r\n# Requirements:\r\n\r\n- [ ] You should be able to add/edit/delete layouts by navigating to /admin/pages/layouts.\r\n\r\n- [ ] A layout should have a Name and Contents property.\r\n\r\n- [ ] When you create a new NPCMS application, there should be a default layout named Default. You cannot delete the Default layout but you can edit it.\r\n\r\n- [ ] When you add/edit a page using the /admin/pages view, you should be able to associate a page with a layout.\r\n\r\n# Unit Tests:\r\n\r\n- [ ] You should not be able to delete the Default layout.\r\n\r\n- [ ] You should not be able to delete layouts that are used by any Pages.\r\n\r\n- [ ] You should not be able to add/edit layouts with duplicate names.\r\n\r\n# Notes:\r\nThis story concerns creating the admin Layout view and not implementing the functionality of layouts.\r\n\r\n# Related Stories:\r\n\r\n- #5 - Support Page Layouts"}}
{"actor":{"display_login":"StephenCoderCamps"}}