{"action":"created","comment":{"url":"https://api.github.com/repos/alphagov/govuk_admin_template/pulls/comments/45096684","id":45096684,"diff_hunk":"@@ -0,0 +1,13 @@\n+.alert {\n+  &.flash-notice {","path":"app/assets/stylesheets/govuk_admin_template/_flash.scss","position":2,"original_position":2,"commit_id":"7f800397da2d30fb75056eb631af32e438b9616c","original_commit_id":"7f800397da2d30fb75056eb631af32e438b9616c","user":{"login":"fofr","id":319055,"avatar_url":"https://avatars.githubusercontent.com/u/319055?v=3","gravatar_id":"","url":"https://api.github.com/users/fofr","html_url":"https://github.com/fofr","followers_url":"https://api.github.com/users/fofr/followers","following_url":"https://api.github.com/users/fofr/following{/other_user}","gists_url":"https://api.github.com/users/fofr/gists{/gist_id}","starred_url":"https://api.github.com/users/fofr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fofr/subscriptions","organizations_url":"https://api.github.com/users/fofr/orgs","repos_url":"https://api.github.com/users/fofr/repos","events_url":"https://api.github.com/users/fofr/events{/privacy}","received_events_url":"https://api.github.com/users/fofr/received_events","type":"User","site_admin":false},"body":"I'd prefer to use the Bootstrap classes as they are, rather than extend them. It avoids having to document them in a style guide. It also keeps the Bootstrap docs themselves as a canonical guide.","created_at":"2015-11-17T18:16:28Z","updated_at":"2015-11-17T18:16:28Z","html_url":"https://github.com/alphagov/govuk_admin_template/pull/103#discussion_r45096684","pull_request_url":"https://api.github.com/repos/alphagov/govuk_admin_template/pulls/103","_links":{"self":{"href":"https://api.github.com/repos/alphagov/govuk_admin_template/pulls/comments/45096684"},"html":{"href":"https://github.com/alphagov/govuk_admin_template/pull/103#discussion_r45096684"},"pull_request":{"href":"https://api.github.com/repos/alphagov/govuk_admin_template/pulls/103"}}},"pull_request":{"url":"https://api.github.com/repos/alphagov/govuk_admin_template/pulls/103","id":50971252,"html_url":"https://github.com/alphagov/govuk_admin_template/pull/103","diff_url":"https://github.com/alphagov/govuk_admin_template/pull/103.diff","patch_url":"https://github.com/alphagov/govuk_admin_template/pull/103.patch","issue_url":"https://api.github.com/repos/alphagov/govuk_admin_template/issues/103","number":103,"state":"open","locked":false,"title":"Add support for flash messages","user":{"login":"tijmenb","id":233676,"avatar_url":"https://avatars.githubusercontent.com/u/233676?v=3","gravatar_id":"","url":"https://api.github.com/users/tijmenb","html_url":"https://github.com/tijmenb","followers_url":"https://api.github.com/users/tijmenb/followers","following_url":"https://api.github.com/users/tijmenb/following{/other_user}","gists_url":"https://api.github.com/users/tijmenb/gists{/gist_id}","starred_url":"https://api.github.com/users/tijmenb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tijmenb/subscriptions","organizations_url":"https://api.github.com/users/tijmenb/orgs","repos_url":"https://api.github.com/users/tijmenb/repos","events_url":"https://api.github.com/users/tijmenb/events{/privacy}","received_events_url":"https://api.github.com/users/tijmenb/received_events","type":"User","site_admin":false},"body":"This PR adds support for flash messages. It adds styling for the three most common flash messages: `:notice`, `:alert` and `:success`.\r\n\r\nTo prevent mandatory upgrades it is opt-in. Specify `config.show_flash` to turn this behaviour on.\r\n\r\n![screen shot 2015-11-17 at 16 38 43](https://cloud.githubusercontent.com/assets/233676/11217816/1cf3a432-8d4a-11e5-90b9-1f7c140a9bc7.png)\r\n","created_at":"2015-11-17T16:42:38Z","updated_at":"2015-11-17T18:16:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d891a64e0cddf5fa89ae73bf4b2bef9ab1e53030","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/govuk_admin_template/pulls/103/commits","review_comments_url":"https://api.github.com/repos/alphagov/govuk_admin_template/pulls/103/comments","review_comment_url":"https://api.github.com/repos/alphagov/govuk_admin_template/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/govuk_admin_template/issues/103/comments","statuses_url":"https://api.github.com/repos/alphagov/govuk_admin_template/statuses/7f800397da2d30fb75056eb631af32e438b9616c","head":{"label":"alphagov:add-support-for-flash-messages","ref":"add-support-for-flash-messages","sha":"7f800397da2d30fb75056eb631af32e438b9616c","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":19776412,"name":"govuk_admin_template","full_name":"alphagov/govuk_admin_template","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/govuk_admin_template","description":"Styles, scripts and templates for getting up and running with Bootstrap based backend admin apps.","fork":false,"url":"https://api.github.com/repos/alphagov/govuk_admin_template","forks_url":"https://api.github.com/repos/alphagov/govuk_admin_template/forks","keys_url":"https://api.github.com/repos/alphagov/govuk_admin_template/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/govuk_admin_template/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/govuk_admin_template/teams","hooks_url":"https://api.github.com/repos/alphagov/govuk_admin_template/hooks","issue_events_url":"https://api.github.com/repos/alphagov/govuk_admin_template/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/govuk_admin_template/events","assignees_url":"https://api.github.com/repos/alphagov/govuk_admin_template/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/govuk_admin_template/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/govuk_admin_template/tags","blobs_url":"https://api.github.com/repos/alphagov/govuk_admin_template/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/govuk_admin_template/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/govuk_admin_template/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/govuk_admin_template/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/govuk_admin_template/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/govuk_admin_template/languages","stargazers_url":"https://api.github.com/repos/alphagov/govuk_admin_template/stargazers","contributors_url":"https://api.github.com/repos/alphagov/govuk_admin_template/contributors","subscribers_url":"https://api.github.com/repos/alphagov/govuk_admin_template/subscribers","subscription_url":"https://api.github.com/repos/alphagov/govuk_admin_template/subscription","commits_url":"https://api.github.com/repos/alphagov/govuk_admin_template/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/govuk_admin_template/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/govuk_admin_template/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/govuk_admin_template/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/govuk_admin_template/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/govuk_admin_template/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/govuk_admin_template/merges","archive_url":"https://api.github.com/repos/alphagov/govuk_admin_template/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/govuk_admin_template/downloads","issues_url":"https://api.github.com/repos/alphagov/govuk_admin_template/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/govuk_admin_template/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/govuk_admin_template/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/govuk_admin_template/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/govuk_admin_template/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/govuk_admin_template/releases{/id}","created_at":"2014-05-14T11:08:38Z","updated_at":"2015-10-26T08:32:41Z","pushed_at":"2015-11-17T16:42:38Z","git_url":"git://github.com/alphagov/govuk_admin_template.git","ssh_url":"git@github.com:alphagov/govuk_admin_template.git","clone_url":"https://github.com/alphagov/govuk_admin_template.git","svn_url":"https://github.com/alphagov/govuk_admin_template","homepage":"","size":327,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":4,"forks":5,"open_issues":4,"watchers":10,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"8392b35f7070167cfeac29ee8f3ec32c3b0996e6","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":19776412,"name":"govuk_admin_template","full_name":"alphagov/govuk_admin_template","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/govuk_admin_template","description":"Styles, scripts and templates for getting up and running with Bootstrap based backend admin apps.","fork":false,"url":"https://api.github.com/repos/alphagov/govuk_admin_template","forks_url":"https://api.github.com/repos/alphagov/govuk_admin_template/forks","keys_url":"https://api.github.com/repos/alphagov/govuk_admin_template/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/govuk_admin_template/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/govuk_admin_template/teams","hooks_url":"https://api.github.com/repos/alphagov/govuk_admin_template/hooks","issue_events_url":"https://api.github.com/repos/alphagov/govuk_admin_template/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/govuk_admin_template/events","assignees_url":"https://api.github.com/repos/alphagov/govuk_admin_template/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/govuk_admin_template/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/govuk_admin_template/tags","blobs_url":"https://api.github.com/repos/alphagov/govuk_admin_template/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/govuk_admin_template/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/govuk_admin_template/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/govuk_admin_template/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/govuk_admin_template/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/govuk_admin_template/languages","stargazers_url":"https://api.github.com/repos/alphagov/govuk_admin_template/stargazers","contributors_url":"https://api.github.com/repos/alphagov/govuk_admin_template/contributors","subscribers_url":"https://api.github.com/repos/alphagov/govuk_admin_template/subscribers","subscription_url":"https://api.github.com/repos/alphagov/govuk_admin_template/subscription","commits_url":"https://api.github.com/repos/alphagov/govuk_admin_template/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/govuk_admin_template/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/govuk_admin_template/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/govuk_admin_template/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/govuk_admin_template/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/govuk_admin_template/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/govuk_admin_template/merges","archive_url":"https://api.github.com/repos/alphagov/govuk_admin_template/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/govuk_admin_template/downloads","issues_url":"https://api.github.com/repos/alphagov/govuk_admin_template/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/govuk_admin_template/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/govuk_admin_template/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/govuk_admin_template/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/govuk_admin_template/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/govuk_admin_template/releases{/id}","created_at":"2014-05-14T11:08:38Z","updated_at":"2015-10-26T08:32:41Z","pushed_at":"2015-11-17T16:42:38Z","git_url":"git://github.com/alphagov/govuk_admin_template.git","ssh_url":"git@github.com:alphagov/govuk_admin_template.git","clone_url":"https://github.com/alphagov/govuk_admin_template.git","svn_url":"https://github.com/alphagov/govuk_admin_template","homepage":"","size":327,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":4,"forks":5,"open_issues":4,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/govuk_admin_template/pulls/103"},"html":{"href":"https://github.com/alphagov/govuk_admin_template/pull/103"},"issue":{"href":"https://api.github.com/repos/alphagov/govuk_admin_template/issues/103"},"comments":{"href":"https://api.github.com/repos/alphagov/govuk_admin_template/issues/103/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/govuk_admin_template/pulls/103/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/govuk_admin_template/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/govuk_admin_template/pulls/103/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/govuk_admin_template/statuses/7f800397da2d30fb75056eb631af32e438b9616c"}}}}