{"action":"closed","number":729,"pull_request":{"url":"https://api.github.com/repos/aisapatino/sjfnw/pulls/729","id":30621408,"html_url":"https://github.com/aisapatino/sjfnw/pull/729","diff_url":"https://github.com/aisapatino/sjfnw/pull/729.diff","patch_url":"https://github.com/aisapatino/sjfnw/pull/729.patch","issue_url":"https://api.github.com/repos/aisapatino/sjfnw/issues/729","number":729,"state":"closed","locked":false,"title":"Organize/rename fundraising templates","user":{"login":"aisapatino","id":1279315,"avatar_url":"https://avatars.githubusercontent.com/u/1279315?v=3","gravatar_id":"","url":"https://api.github.com/users/aisapatino","html_url":"https://github.com/aisapatino","followers_url":"https://api.github.com/users/aisapatino/followers","following_url":"https://api.github.com/users/aisapatino/following{/other_user}","gists_url":"https://api.github.com/users/aisapatino/gists{/gist_id}","starred_url":"https://api.github.com/users/aisapatino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aisapatino/subscriptions","organizations_url":"https://api.github.com/users/aisapatino/orgs","repos_url":"https://api.github.com/users/aisapatino/repos","events_url":"https://api.github.com/users/aisapatino/events{/privacy}","received_events_url":"https://api.github.com/users/aisapatino/received_events","type":"User","site_admin":false},"body":"@tarhata I got really sidetracked from whatever I was doing and decided to organize the templates for the fundraising side of the app. What do you think? Questions/suggestions?\r\n\r\n- `/emails` is for email templates, used mostly by cron jobs\r\n- `/forms` is for templates that just contain a form, maybe with a wrapper (`<div>` element) around it. Usually `include`d or loaded via ajax request\r\n- `/includes` is for non-form snippets that are included into other templates, but not used on their own. For instance, `includes/donor_details.html` is used inside a for loop in `fund/home.html` to display info for each donor.\r\n- `/scripts` is for templates with a `<script>` tag inside that are `include`d by other templates. Currently only one (that I just split up from `home.html`) but I might break out some others in an attempt to make things more readable.\r\n- Names prefixed with an underscore, like `_base.html` are base templates that are `extend`ed by other templates.\r\n- Aside from that, I renamed some templates where I thought the previous name was unclear or inconsistent with the overall naming patterns. For example, `add_mult_flex` -> `add_contacts`\r\n\r\n```\r\n├── emails\r\n│   ├── account_approved.html\r\n│   ├── accounts_need_approval.html\r\n│   ├── gift_received.html\r\n│   ├── overdue_steps.html\r\n│   └── reset_password.html\r\n├── forms\r\n│   ├── add_contacts.html\r\n│   ├── add_estimates.html\r\n│   ├── add_mult_step.html\r\n│   ├── add_step.html\r\n│   ├── complete_step.html\r\n│   ├── copy_contacts.html\r\n│   ├── delete_contact.html\r\n│   ├── edit_contact.html\r\n│   ├── edit_step.html\r\n│   └── gp_survey.html\r\n├── includes\r\n│   ├── donor_details.html\r\n│   ├── footer.html\r\n│   └── suggested_steps.html\r\n├── scripts\r\n│   └── home_charts.html\r\n├── account_projects.html\r\n├── _base_blocks.html\r\n├── _base.html\r\n├── _base_personal.html\r\n├── blocked.html\r\n├── grants.html\r\n├── home.html\r\n├── login.html\r\n├── not_approved.html\r\n├── not_member.html\r\n├── project.html\r\n├── registered.html\r\n├── register.html\r\n├── reset_password_complete.html\r\n├── reset_password.html\r\n├── reset_password_sent.html\r\n├── reset_password_start.html\r\n└── support.html\r\n```","created_at":"2015-03-06T05:10:14Z","updated_at":"2015-03-07T05:39:51Z","closed_at":"2015-03-07T05:39:51Z","merged_at":"2015-03-07T05:39:51Z","merge_commit_sha":"a182d105d7e92271623be93261a92bfef2b77be0","assignee":null,"milestone":{"url":"https://api.github.com/repos/aisapatino/sjfnw/milestones/63","html_url":"https://github.com/aisapatino/sjfnw/milestones/%E2%98%85%20March%202015","labels_url":"https://api.github.com/repos/aisapatino/sjfnw/milestones/63/labels","id":1004637,"number":63,"title":"★ March 2015","description":"★ is for current. Will remove before closing.","creator":{"login":"aisapatino","id":1279315,"avatar_url":"https://avatars.githubusercontent.com/u/1279315?v=3","gravatar_id":"","url":"https://api.github.com/users/aisapatino","html_url":"https://github.com/aisapatino","followers_url":"https://api.github.com/users/aisapatino/followers","following_url":"https://api.github.com/users/aisapatino/following{/other_user}","gists_url":"https://api.github.com/users/aisapatino/gists{/gist_id}","starred_url":"https://api.github.com/users/aisapatino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aisapatino/subscriptions","organizations_url":"https://api.github.com/users/aisapatino/orgs","repos_url":"https://api.github.com/users/aisapatino/repos","events_url":"https://api.github.com/users/aisapatino/events{/privacy}","received_events_url":"https://api.github.com/users/aisapatino/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":1,"state":"open","created_at":"2015-03-03T20:23:38Z","updated_at":"2015-03-07T05:39:51Z","due_on":"2015-03-31T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/aisapatino/sjfnw/pulls/729/commits","review_comments_url":"https://api.github.com/repos/aisapatino/sjfnw/pulls/729/comments","review_comment_url":"https://api.github.com/repos/aisapatino/sjfnw/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aisapatino/sjfnw/issues/729/comments","statuses_url":"https://api.github.com/repos/aisapatino/sjfnw/statuses/8281e544c9614c0c481a4ad16d9d2da1e1fc7a96","head":{"label":"aisapatino:templates-organizing","ref":"templates-organizing","sha":"8281e544c9614c0c481a4ad16d9d2da1e1fc7a96","user":{"login":"aisapatino","id":1279315,"avatar_url":"https://avatars.githubusercontent.com/u/1279315?v=3","gravatar_id":"","url":"https://api.github.com/users/aisapatino","html_url":"https://github.com/aisapatino","followers_url":"https://api.github.com/users/aisapatino/followers","following_url":"https://api.github.com/users/aisapatino/following{/other_user}","gists_url":"https://api.github.com/users/aisapatino/gists{/gist_id}","starred_url":"https://api.github.com/users/aisapatino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aisapatino/subscriptions","organizations_url":"https://api.github.com/users/aisapatino/orgs","repos_url":"https://api.github.com/users/aisapatino/repos","events_url":"https://api.github.com/users/aisapatino/events{/privacy}","received_events_url":"https://api.github.com/users/aisapatino/received_events","type":"User","site_admin":false},"repo":{"id":6349023,"name":"sjfnw","full_name":"aisapatino/sjfnw","owner":{"login":"aisapatino","id":1279315,"avatar_url":"https://avatars.githubusercontent.com/u/1279315?v=3","gravatar_id":"","url":"https://api.github.com/users/aisapatino","html_url":"https://github.com/aisapatino","followers_url":"https://api.github.com/users/aisapatino/followers","following_url":"https://api.github.com/users/aisapatino/following{/other_user}","gists_url":"https://api.github.com/users/aisapatino/gists{/gist_id}","starred_url":"https://api.github.com/users/aisapatino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aisapatino/subscriptions","organizations_url":"https://api.github.com/users/aisapatino/orgs","repos_url":"https://api.github.com/users/aisapatino/repos","events_url":"https://api.github.com/users/aisapatino/events{/privacy}","received_events_url":"https://api.github.com/users/aisapatino/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aisapatino/sjfnw","description":"fundraising & grantmaking web app","fork":false,"url":"https://api.github.com/repos/aisapatino/sjfnw","forks_url":"https://api.github.com/repos/aisapatino/sjfnw/forks","keys_url":"https://api.github.com/repos/aisapatino/sjfnw/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aisapatino/sjfnw/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aisapatino/sjfnw/teams","hooks_url":"https://api.github.com/repos/aisapatino/sjfnw/hooks","issue_events_url":"https://api.github.com/repos/aisapatino/sjfnw/issues/events{/number}","events_url":"https://api.github.com/repos/aisapatino/sjfnw/events","assignees_url":"https://api.github.com/repos/aisapatino/sjfnw/assignees{/user}","branches_url":"https://api.github.com/repos/aisapatino/sjfnw/branches{/branch}","tags_url":"https://api.github.com/repos/aisapatino/sjfnw/tags","blobs_url":"https://api.github.com/repos/aisapatino/sjfnw/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aisapatino/sjfnw/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aisapatino/sjfnw/git/refs{/sha}","trees_url":"https://api.github.com/repos/aisapatino/sjfnw/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aisapatino/sjfnw/statuses/{sha}","languages_url":"https://api.github.com/repos/aisapatino/sjfnw/languages","stargazers_url":"https://api.github.com/repos/aisapatino/sjfnw/stargazers","contributors_url":"https://api.github.com/repos/aisapatino/sjfnw/contributors","subscribers_url":"https://api.github.com/repos/aisapatino/sjfnw/subscribers","subscription_url":"https://api.github.com/repos/aisapatino/sjfnw/subscription","commits_url":"https://api.github.com/repos/aisapatino/sjfnw/commits{/sha}","git_commits_url":"https://api.github.com/repos/aisapatino/sjfnw/git/commits{/sha}","comments_url":"https://api.github.com/repos/aisapatino/sjfnw/comments{/number}","issue_comment_url":"https://api.github.com/repos/aisapatino/sjfnw/issues/comments{/number}","contents_url":"https://api.github.com/repos/aisapatino/sjfnw/contents/{+path}","compare_url":"https://api.github.com/repos/aisapatino/sjfnw/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aisapatino/sjfnw/merges","archive_url":"https://api.github.com/repos/aisapatino/sjfnw/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aisapatino/sjfnw/downloads","issues_url":"https://api.github.com/repos/aisapatino/sjfnw/issues{/number}","pulls_url":"https://api.github.com/repos/aisapatino/sjfnw/pulls{/number}","milestones_url":"https://api.github.com/repos/aisapatino/sjfnw/milestones{/number}","notifications_url":"https://api.github.com/repos/aisapatino/sjfnw/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aisapatino/sjfnw/labels{/name}","releases_url":"https://api.github.com/repos/aisapatino/sjfnw/releases{/id}","created_at":"2012-10-23T08:20:03Z","updated_at":"2015-03-06T03:39:09Z","pushed_at":"2015-03-07T05:39:51Z","git_url":"git://github.com/aisapatino/sjfnw.git","ssh_url":"git@github.com:aisapatino/sjfnw.git","clone_url":"https://github.com/aisapatino/sjfnw.git","svn_url":"https://github.com/aisapatino/sjfnw","homepage":"","size":16998,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":193,"forks":1,"open_issues":193,"watchers":1,"default_branch":"master"}},"base":{"label":"aisapatino:master","ref":"master","sha":"3d7c6acb3df8b4970b8234dbd3581daa63185636","user":{"login":"aisapatino","id":1279315,"avatar_url":"https://avatars.githubusercontent.com/u/1279315?v=3","gravatar_id":"","url":"https://api.github.com/users/aisapatino","html_url":"https://github.com/aisapatino","followers_url":"https://api.github.com/users/aisapatino/followers","following_url":"https://api.github.com/users/aisapatino/following{/other_user}","gists_url":"https://api.github.com/users/aisapatino/gists{/gist_id}","starred_url":"https://api.github.com/users/aisapatino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aisapatino/subscriptions","organizations_url":"https://api.github.com/users/aisapatino/orgs","repos_url":"https://api.github.com/users/aisapatino/repos","events_url":"https://api.github.com/users/aisapatino/events{/privacy}","received_events_url":"https://api.github.com/users/aisapatino/received_events","type":"User","site_admin":false},"repo":{"id":6349023,"name":"sjfnw","full_name":"aisapatino/sjfnw","owner":{"login":"aisapatino","id":1279315,"avatar_url":"https://avatars.githubusercontent.com/u/1279315?v=3","gravatar_id":"","url":"https://api.github.com/users/aisapatino","html_url":"https://github.com/aisapatino","followers_url":"https://api.github.com/users/aisapatino/followers","following_url":"https://api.github.com/users/aisapatino/following{/other_user}","gists_url":"https://api.github.com/users/aisapatino/gists{/gist_id}","starred_url":"https://api.github.com/users/aisapatino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aisapatino/subscriptions","organizations_url":"https://api.github.com/users/aisapatino/orgs","repos_url":"https://api.github.com/users/aisapatino/repos","events_url":"https://api.github.com/users/aisapatino/events{/privacy}","received_events_url":"https://api.github.com/users/aisapatino/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aisapatino/sjfnw","description":"fundraising & grantmaking web app","fork":false,"url":"https://api.github.com/repos/aisapatino/sjfnw","forks_url":"https://api.github.com/repos/aisapatino/sjfnw/forks","keys_url":"https://api.github.com/repos/aisapatino/sjfnw/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aisapatino/sjfnw/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aisapatino/sjfnw/teams","hooks_url":"https://api.github.com/repos/aisapatino/sjfnw/hooks","issue_events_url":"https://api.github.com/repos/aisapatino/sjfnw/issues/events{/number}","events_url":"https://api.github.com/repos/aisapatino/sjfnw/events","assignees_url":"https://api.github.com/repos/aisapatino/sjfnw/assignees{/user}","branches_url":"https://api.github.com/repos/aisapatino/sjfnw/branches{/branch}","tags_url":"https://api.github.com/repos/aisapatino/sjfnw/tags","blobs_url":"https://api.github.com/repos/aisapatino/sjfnw/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aisapatino/sjfnw/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aisapatino/sjfnw/git/refs{/sha}","trees_url":"https://api.github.com/repos/aisapatino/sjfnw/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aisapatino/sjfnw/statuses/{sha}","languages_url":"https://api.github.com/repos/aisapatino/sjfnw/languages","stargazers_url":"https://api.github.com/repos/aisapatino/sjfnw/stargazers","contributors_url":"https://api.github.com/repos/aisapatino/sjfnw/contributors","subscribers_url":"https://api.github.com/repos/aisapatino/sjfnw/subscribers","subscription_url":"https://api.github.com/repos/aisapatino/sjfnw/subscription","commits_url":"https://api.github.com/repos/aisapatino/sjfnw/commits{/sha}","git_commits_url":"https://api.github.com/repos/aisapatino/sjfnw/git/commits{/sha}","comments_url":"https://api.github.com/repos/aisapatino/sjfnw/comments{/number}","issue_comment_url":"https://api.github.com/repos/aisapatino/sjfnw/issues/comments{/number}","contents_url":"https://api.github.com/repos/aisapatino/sjfnw/contents/{+path}","compare_url":"https://api.github.com/repos/aisapatino/sjfnw/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aisapatino/sjfnw/merges","archive_url":"https://api.github.com/repos/aisapatino/sjfnw/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aisapatino/sjfnw/downloads","issues_url":"https://api.github.com/repos/aisapatino/sjfnw/issues{/number}","pulls_url":"https://api.github.com/repos/aisapatino/sjfnw/pulls{/number}","milestones_url":"https://api.github.com/repos/aisapatino/sjfnw/milestones{/number}","notifications_url":"https://api.github.com/repos/aisapatino/sjfnw/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aisapatino/sjfnw/labels{/name}","releases_url":"https://api.github.com/repos/aisapatino/sjfnw/releases{/id}","created_at":"2012-10-23T08:20:03Z","updated_at":"2015-03-06T03:39:09Z","pushed_at":"2015-03-07T05:39:51Z","git_url":"git://github.com/aisapatino/sjfnw.git","ssh_url":"git@github.com:aisapatino/sjfnw.git","clone_url":"https://github.com/aisapatino/sjfnw.git","svn_url":"https://github.com/aisapatino/sjfnw","homepage":"","size":16998,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":193,"forks":1,"open_issues":193,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aisapatino/sjfnw/pulls/729"},"html":{"href":"https://github.com/aisapatino/sjfnw/pull/729"},"issue":{"href":"https://api.github.com/repos/aisapatino/sjfnw/issues/729"},"comments":{"href":"https://api.github.com/repos/aisapatino/sjfnw/issues/729/comments"},"review_comments":{"href":"https://api.github.com/repos/aisapatino/sjfnw/pulls/729/comments"},"review_comment":{"href":"https://api.github.com/repos/aisapatino/sjfnw/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aisapatino/sjfnw/pulls/729/commits"},"statuses":{"href":"https://api.github.com/repos/aisapatino/sjfnw/statuses/8281e544c9614c0c481a4ad16d9d2da1e1fc7a96"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"aisapatino","id":1279315,"avatar_url":"https://avatars.githubusercontent.com/u/1279315?v=3","gravatar_id":"","url":"https://api.github.com/users/aisapatino","html_url":"https://github.com/aisapatino","followers_url":"https://api.github.com/users/aisapatino/followers","following_url":"https://api.github.com/users/aisapatino/following{/other_user}","gists_url":"https://api.github.com/users/aisapatino/gists{/gist_id}","starred_url":"https://api.github.com/users/aisapatino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aisapatino/subscriptions","organizations_url":"https://api.github.com/users/aisapatino/orgs","repos_url":"https://api.github.com/users/aisapatino/repos","events_url":"https://api.github.com/users/aisapatino/events{/privacy}","received_events_url":"https://api.github.com/users/aisapatino/received_events","type":"User","site_admin":false},"comments":4,"review_comments":0,"commits":4,"additions":241,"deletions":240,"changed_files":49}}