GitHub PullRequestEvent at 2014-12-17 22:20:02
Repository: cfgov-refresh
Actor: Scotchester
Payload: {"action":"closed","number":219,"pull_request":{"url":"https://api.github.com/repos/cfpb/cfgov-refresh/pulls/219","id":26114407,"html_url":"https://github.com/cfpb/cfgov-refresh/pull/219","diff_url":"https://github.com/cfpb/cfgov-refresh/pull/219.diff","patch_url":"https://github.com/cfpb/cfgov-refresh/pull/219.patch","issue_url":"https://api.github.com/repos/cfpb/cfgov-refresh/issues/219","number":219,"state":"closed","locked":false,"title":"Better templates","user":{"login":"himedlooff","id":1093373,"avatar_url":"https://avatars.githubusercontent.com/u/1093373?v=3","gravatar_id":"","url":"https://api.github.com/users/himedlooff","html_url":"https://github.com/himedlooff","followers_url":"https://api.github.com/users/himedlooff/followers","following_url":"https://api.github.com/users/himedlooff/following{/other_user}","gists_url":"https://api.github.com/users/himedlooff/gists{/gist_id}","starred_url":"https://api.github.com/users/himedlooff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/himedlooff/subscriptions","organizations_url":"https://api.github.com/users/himedlooff/orgs","repos_url":"https://api.github.com/users/himedlooff/repos","events_url":"https://api.github.com/users/himedlooff/events{/privacy}","received_events_url":"https://api.github.com/users/himedlooff/received_events","type":"User","site_admin":false},"body":"Now that we've got a few different layouts under our belt it's time to make them more reusable. This PR allows us to start a new 2-1 layout as simply as this:\r\n\r\n```jinja\r\n{% extends \"layout-2-1.html\" %}\r\n\r\n{% block content_main %}\r\n    <h1>Main content</h1>\r\n{% endblock %}\r\n\r\n{% block content_sidebar -%}\r\n    <p>Sidebar</p>\r\n{%- endblock %}\r\n```\r\n\r\nWant one with a bleedbar?\r\n\r\n```jinja\r\n{% extends \"layout-2-1-bleedbar.html\" %}\r\n```\r\n\r\nThere are other templates available which will need to be documented. Documentation is still to come.","created_at":"2014-12-16T00:38:01Z","updated_at":"2014-12-17T22:20:02Z","closed_at":"2014-12-17T22:20:02Z","merged_at":"2014-12-17T22:20:02Z","merge_commit_sha":"5f4266e58a725daba4e3b9ac5ba42992f2e76bb9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cfpb/cfgov-refresh/pulls/219/commits","review_comments_url":"https://api.github.com/repos/cfpb/cfgov-refresh/pulls/219/comments","review_comment_url":"https://api.github.com/repos/cfpb/cfgov-refresh/pulls/comments/{number}","comments_url":"https://api.github.com/repos/cfpb/cfgov-refresh/issues/219/comments","statuses_url":"https://api.github.com/repos/cfpb/cfgov-refresh/statuses/40ec511b5123c5db9674652c0b83e022cddc198a","head":{"label":"himedlooff:better-templates","ref":"better-templates","sha":"40ec511b5123c5db9674652c0b83e022cddc198a","user":{"login":"himedlooff","id":1093373,"avatar_url":"https://avatars.githubusercontent.com/u/1093373?v=3","gravatar_id":"","url":"https://api.github.com/users/himedlooff","html_url":"https://github.com/himedlooff","followers_url":"https://api.github.com/users/himedlooff/followers","following_url":"https://api.github.com/users/himedlooff/following{/other_user}","gists_url":"https://api.github.com/users/himedlooff/gists{/gist_id}","starred_url":"https://api.github.com/users/himedlooff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/himedlooff/subscriptions","organizations_url":"https://api.github.com/users/himedlooff/orgs","repos_url":"https://api.github.com/users/himedlooff/repos","events_url":"https://api.github.com/users/himedlooff/events{/privacy}","received_events_url":"https://api.github.com/users/himedlooff/received_events","type":"User","site_admin":false},"repo":{"id":19010199,"name":"cfgov-refresh","full_name":"himedlooff/cfgov-refresh","owner":{"login":"himedlooff","id":1093373,"avatar_url":"https://avatars.githubusercontent.com/u/1093373?v=3","gravatar_id":"","url":"https://api.github.com/users/himedlooff","html_url":"https://github.com/himedlooff","followers_url":"https://api.github.com/users/himedlooff/followers","following_url":"https://api.github.com/users/himedlooff/following{/other_user}","gists_url":"https://api.github.com/users/himedlooff/gists{/gist_id}","starred_url":"https://api.github.com/users/himedlooff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/himedlooff/subscriptions","organizations_url":"https://api.github.com/users/himedlooff/orgs","repos_url":"https://api.github.com/users/himedlooff/repos","events_url":"https://api.github.com/users/himedlooff/events{/privacy}","received_events_url":"https://api.github.com/users/himedlooff/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/himedlooff/cfgov-refresh","description":"","fork":true,"url":"https://api.github.com/repos/himedlooff/cfgov-refresh","forks_url":"https://api.github.com/repos/himedlooff/cfgov-refresh/forks","keys_url":"https://api.github.com/repos/himedlooff/cfgov-refresh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/himedlooff/cfgov-refresh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/himedlooff/cfgov-refresh/teams","hooks_url":"https://api.github.com/repos/himedlooff/cfgov-refresh/hooks","issue_events_url":"https://api.github.com/repos/himedlooff/cfgov-refresh/issues/events{/number}","events_url":"https://api.github.com/repos/himedlooff/cfgov-refresh/events","assignees_url":"https://api.github.com/repos/himedlooff/cfgov-refresh/assignees{/user}","branches_url":"https://api.github.com/repos/himedlooff/cfgov-refresh/branches{/branch}","tags_url":"https://api.github.com/repos/himedlooff/cfgov-refresh/tags","blobs_url":"https://api.github.com/repos/himedlooff/cfgov-refresh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/himedlooff/cfgov-refresh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/himedlooff/cfgov-refresh/git/refs{/sha}","trees_url":"https://api.github.com/repos/himedlooff/cfgov-refresh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/himedlooff/cfgov-refresh/statuses/{sha}","languages_url":"https://api.github.com/repos/himedlooff/cfgov-refresh/languages","stargazers_url":"https://api.github.com/repos/himedlooff/cfgov-refresh/stargazers","contributors_url":"https://api.github.com/repos/himedlooff/cfgov-refresh/contributors","subscribers_url":"https://api.github.com/repos/himedlooff/cfgov-refresh/subscribers","subscription_url":"https://api.github.com/repos/himedlooff/cfgov-refresh/subscription","commits_url":"https://api.github.com/repos/himedlooff/cfgov-refresh/commits{/sha}","git_commits_url":"https://api.github.com/repos/himedlooff/cfgov-refresh/git/commits{/sha}","comments_url":"https://api.github.com/repos/himedlooff/cfgov-refresh/comments{/number}","issue_comment_url":"https://api.github.com/repos/himedlooff/cfgov-refresh/issues/comments/{number}","contents_url":"https://api.github.com/repos/himedlooff/cfgov-refresh/contents/{+path}","compare_url":"https://api.github.com/repos/himedlooff/cfgov-refresh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/himedlooff/cfgov-refresh/merges","archive_url":"https://api.github.com/repos/himedlooff/cfgov-refresh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/himedlooff/cfgov-refresh/downloads","issues_url":"https://api.github.com/repos/himedlooff/cfgov-refresh/issues{/number}","pulls_url":"https://api.github.com/repos/himedlooff/cfgov-refresh/pulls{/number}","milestones_url":"https://api.github.com/repos/himedlooff/cfgov-refresh/milestones{/number}","notifications_url":"https://api.github.com/repos/himedlooff/cfgov-refresh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/himedlooff/cfgov-refresh/labels{/name}","releases_url":"https://api.github.com/repos/himedlooff/cfgov-refresh/releases{/id}","created_at":"2014-04-21T23:21:28Z","updated_at":"2014-12-10T20:02:27Z","pushed_at":"2014-12-17T22:12:13Z","git_url":"git://github.com/himedlooff/cfgov-refresh.git","ssh_url":"git@github.com:himedlooff/cfgov-refresh.git","clone_url":"https://github.com/himedlooff/cfgov-refresh.git","svn_url":"https://github.com/himedlooff/cfgov-refresh","homepage":"http://himedlooff.github.io/cfgov-refresh/","size":18087,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"gh-pages"}},"base":{"label":"cfpb:gh-pages","ref":"gh-pages","sha":"40d7494022c9e6b8abe105b4b04dad3c55c6bc4a","user":{"login":"cfpb","id":1071563,"avatar_url":"https://avatars.githubusercontent.com/u/1071563?v=3","gravatar_id":"","url":"https://api.github.com/users/cfpb","html_url":"https://github.com/cfpb","followers_url":"https://api.github.com/users/cfpb/followers","following_url":"https://api.github.com/users/cfpb/following{/other_user}","gists_url":"https://api.github.com/users/cfpb/gists{/gist_id}","starred_url":"https://api.github.com/users/cfpb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfpb/subscriptions","organizations_url":"https://api.github.com/users/cfpb/orgs","repos_url":"https://api.github.com/users/cfpb/repos","events_url":"https://api.github.com/users/cfpb/events{/privacy}","received_events_url":"https://api.github.com/users/cfpb/received_events","type":"Organization","site_admin":false},"repo":{"id":18852566,"name":"cfgov-refresh","full_name":"cfpb/cfgov-refresh","owner":{"login":"cfpb","id":1071563,"avatar_url":"https://avatars.githubusercontent.com/u/1071563?v=3","gravatar_id":"","url":"https://api.github.com/users/cfpb","html_url":"https://github.com/cfpb","followers_url":"https://api.github.com/users/cfpb/followers","following_url":"https://api.github.com/users/cfpb/following{/other_user}","gists_url":"https://api.github.com/users/cfpb/gists{/gist_id}","starred_url":"https://api.github.com/users/cfpb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfpb/subscriptions","organizations_url":"https://api.github.com/users/cfpb/orgs","repos_url":"https://api.github.com/users/cfpb/repos","events_url":"https://api.github.com/users/cfpb/events{/privacy}","received_events_url":"https://api.github.com/users/cfpb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cfpb/cfgov-refresh","description":"","fork":false,"url":"https://api.github.com/repos/cfpb/cfgov-refresh","forks_url":"https://api.github.com/repos/cfpb/cfgov-refresh/forks","keys_url":"https://api.github.com/repos/cfpb/cfgov-refresh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cfpb/cfgov-refresh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cfpb/cfgov-refresh/teams","hooks_url":"https://api.github.com/repos/cfpb/cfgov-refresh/hooks","issue_events_url":"https://api.github.com/repos/cfpb/cfgov-refresh/issues/events{/number}","events_url":"https://api.github.com/repos/cfpb/cfgov-refresh/events","assignees_url":"https://api.github.com/repos/cfpb/cfgov-refresh/assignees{/user}","branches_url":"https://api.github.com/repos/cfpb/cfgov-refresh/branches{/branch}","tags_url":"https://api.github.com/repos/cfpb/cfgov-refresh/tags","blobs_url":"https://api.github.com/repos/cfpb/cfgov-refresh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cfpb/cfgov-refresh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cfpb/cfgov-refresh/git/refs{/sha}","trees_url":"https://api.github.com/repos/cfpb/cfgov-refresh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cfpb/cfgov-refresh/statuses/{sha}","languages_url":"https://api.github.com/repos/cfpb/cfgov-refresh/languages","stargazers_url":"https://api.github.com/repos/cfpb/cfgov-refresh/stargazers","contributors_url":"https://api.github.com/repos/cfpb/cfgov-refresh/contributors","subscribers_url":"https://api.github.com/repos/cfpb/cfgov-refresh/subscribers","subscription_url":"https://api.github.com/repos/cfpb/cfgov-refresh/subscription","commits_url":"https://api.github.com/repos/cfpb/cfgov-refresh/commits{/sha}","git_commits_url":"https://api.github.com/repos/cfpb/cfgov-refresh/git/commits{/sha}","comments_url":"https://api.github.com/repos/cfpb/cfgov-refresh/comments{/number}","issue_comment_url":"https://api.github.com/repos/cfpb/cfgov-refresh/issues/comments/{number}","contents_url":"https://api.github.com/repos/cfpb/cfgov-refresh/contents/{+path}","compare_url":"https://api.github.com/repos/cfpb/cfgov-refresh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cfpb/cfgov-refresh/merges","archive_url":"https://api.github.com/repos/cfpb/cfgov-refresh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cfpb/cfgov-refresh/downloads","issues_url":"https://api.github.com/repos/cfpb/cfgov-refresh/issues{/number}","pulls_url":"https://api.github.com/repos/cfpb/cfgov-refresh/pulls{/number}","milestones_url":"https://api.github.com/repos/cfpb/cfgov-refresh/milestones{/number}","notifications_url":"https://api.github.com/repos/cfpb/cfgov-refresh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cfpb/cfgov-refresh/labels{/name}","releases_url":"https://api.github.com/repos/cfpb/cfgov-refresh/releases{/id}","created_at":"2014-04-16T19:22:03Z","updated_at":"2014-12-17T21:17:11Z","pushed_at":"2014-12-17T22:20:02Z","git_url":"git://github.com/cfpb/cfgov-refresh.git","ssh_url":"git@github.com:cfpb/cfgov-refresh.git","clone_url":"https://github.com/cfpb/cfgov-refresh.git","svn_url":"https://github.com/cfpb/cfgov-refresh","homepage":"http://cfpb.github.io/cfgov-refresh/","size":16239,"stargazers_count":4,"watchers_count":4,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":9,"mirror_url":null,"open_issues_count":13,"forks":9,"open_issues":13,"watchers":4,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/cfpb/cfgov-refresh/pulls/219"},"html":{"href":"https://github.com/cfpb/cfgov-refresh/pull/219"},"issue":{"href":"https://api.github.com/repos/cfpb/cfgov-refresh/issues/219"},"comments":{"href":"https://api.github.com/repos/cfpb/cfgov-refresh/issues/219/comments"},"review_comments":{"href":"https://api.github.com/repos/cfpb/cfgov-refresh/pulls/219/comments"},"review_comment":{"href":"https://api.github.com/repos/cfpb/cfgov-refresh/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/cfpb/cfgov-refresh/pulls/219/commits"},"statuses":{"href":"https://api.github.com/repos/cfpb/cfgov-refresh/statuses/40ec511b5123c5db9674652c0b83e022cddc198a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"Scotchester","id":1044670,"avatar_url":"https://avatars.githubusercontent.com/u/1044670?v=3","gravatar_id":"","url":"https://api.github.com/users/Scotchester","html_url":"https://github.com/Scotchester","followers_url":"https://api.github.com/users/Scotchester/followers","following_url":"https://api.github.com/users/Scotchester/following{/other_user}","gists_url":"https://api.github.com/users/Scotchester/gists{/gist_id}","starred_url":"https://api.github.com/users/Scotchester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Scotchester/subscriptions","organizations_url":"https://api.github.com/users/Scotchester/orgs","repos_url":"https://api.github.com/users/Scotchester/repos","events_url":"https://api.github.com/users/Scotchester/events{/privacy}","received_events_url":"https://api.github.com/users/Scotchester/received_events","type":"User","site_admin":false},"comments":3,"review_comments":19,"commits":17,"additions":3229,"deletions":3058,"changed_files":94}}