{"action":"opened","number":424,"pull_request":{"url":"https://api.github.com/repos/thebuggenie/thebuggenie/pulls/424","id":46080351,"html_url":"https://github.com/thebuggenie/thebuggenie/pull/424","diff_url":"https://github.com/thebuggenie/thebuggenie/pull/424.diff","patch_url":"https://github.com/thebuggenie/thebuggenie/pull/424.patch","issue_url":"https://api.github.com/repos/thebuggenie/thebuggenie/issues/424","number":424,"state":"open","locked":false,"title":"Enable subdirectories for template files","user":{"login":"gabor-udvari","id":1449353,"avatar_url":"https://avatars.githubusercontent.com/u/1449353?v=3","gravatar_id":"","url":"https://api.github.com/users/gabor-udvari","html_url":"https://github.com/gabor-udvari","followers_url":"https://api.github.com/users/gabor-udvari/followers","following_url":"https://api.github.com/users/gabor-udvari/following{/other_user}","gists_url":"https://api.github.com/users/gabor-udvari/gists{/gist_id}","starred_url":"https://api.github.com/users/gabor-udvari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabor-udvari/subscriptions","organizations_url":"https://api.github.com/users/gabor-udvari/orgs","repos_url":"https://api.github.com/users/gabor-udvari/repos","events_url":"https://api.github.com/users/gabor-udvari/events{/privacy}","received_events_url":"https://api.github.com/users/gabor-udvari/received_events","type":"User","site_admin":false},"body":"The commit enables action and component template files to have subdirectories in the path definition. This will enable modules which overwrite multiple template files to organize the template files into subdirectories.\r\n\r\nBefore the commit template files needed to be organized with prefixes:\r\n```\r\n└── module\r\n    └── templates\r\n        ├── main_index.html.php\r\n        ├── _main_menulinks.inc.php\r\n        ├── publish_showarticle.html.php\r\n        └── _publish_articledisplay.inc.php\r\n```\r\n\r\nAfter the commit template files can be organized into subdirectories:\r\n```\r\n└── module\r\n    └── templates\r\n        ├── main\r\n        │   ├── index.html.php\r\n        │   └── _menulinks.inc.php\r\n        └── publish\r\n            ├── showarticle.html.php\r\n            └── _articledisplay.inc.php\r\n```","created_at":"2015-09-26T11:31:28Z","updated_at":"2015-09-26T11:31:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/thebuggenie/thebuggenie/pulls/424/commits","review_comments_url":"https://api.github.com/repos/thebuggenie/thebuggenie/pulls/424/comments","review_comment_url":"https://api.github.com/repos/thebuggenie/thebuggenie/pulls/comments{/number}","comments_url":"https://api.github.com/repos/thebuggenie/thebuggenie/issues/424/comments","statuses_url":"https://api.github.com/repos/thebuggenie/thebuggenie/statuses/851a262733acfac4bea8ac69b2b1ece015f0d81c","head":{"label":"gabor-udvari:branch-40","ref":"branch-40","sha":"851a262733acfac4bea8ac69b2b1ece015f0d81c","user":{"login":"gabor-udvari","id":1449353,"avatar_url":"https://avatars.githubusercontent.com/u/1449353?v=3","gravatar_id":"","url":"https://api.github.com/users/gabor-udvari","html_url":"https://github.com/gabor-udvari","followers_url":"https://api.github.com/users/gabor-udvari/followers","following_url":"https://api.github.com/users/gabor-udvari/following{/other_user}","gists_url":"https://api.github.com/users/gabor-udvari/gists{/gist_id}","starred_url":"https://api.github.com/users/gabor-udvari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabor-udvari/subscriptions","organizations_url":"https://api.github.com/users/gabor-udvari/orgs","repos_url":"https://api.github.com/users/gabor-udvari/repos","events_url":"https://api.github.com/users/gabor-udvari/events{/privacy}","received_events_url":"https://api.github.com/users/gabor-udvari/received_events","type":"User","site_admin":false},"repo":{"id":33863790,"name":"thebuggenie","full_name":"gabor-udvari/thebuggenie","owner":{"login":"gabor-udvari","id":1449353,"avatar_url":"https://avatars.githubusercontent.com/u/1449353?v=3","gravatar_id":"","url":"https://api.github.com/users/gabor-udvari","html_url":"https://github.com/gabor-udvari","followers_url":"https://api.github.com/users/gabor-udvari/followers","following_url":"https://api.github.com/users/gabor-udvari/following{/other_user}","gists_url":"https://api.github.com/users/gabor-udvari/gists{/gist_id}","starred_url":"https://api.github.com/users/gabor-udvari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabor-udvari/subscriptions","organizations_url":"https://api.github.com/users/gabor-udvari/orgs","repos_url":"https://api.github.com/users/gabor-udvari/repos","events_url":"https://api.github.com/users/gabor-udvari/events{/privacy}","received_events_url":"https://api.github.com/users/gabor-udvari/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gabor-udvari/thebuggenie","description":"The Bug Genie is a friendly project management and issue tracking tool","fork":true,"url":"https://api.github.com/repos/gabor-udvari/thebuggenie","forks_url":"https://api.github.com/repos/gabor-udvari/thebuggenie/forks","keys_url":"https://api.github.com/repos/gabor-udvari/thebuggenie/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gabor-udvari/thebuggenie/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gabor-udvari/thebuggenie/teams","hooks_url":"https://api.github.com/repos/gabor-udvari/thebuggenie/hooks","issue_events_url":"https://api.github.com/repos/gabor-udvari/thebuggenie/issues/events{/number}","events_url":"https://api.github.com/repos/gabor-udvari/thebuggenie/events","assignees_url":"https://api.github.com/repos/gabor-udvari/thebuggenie/assignees{/user}","branches_url":"https://api.github.com/repos/gabor-udvari/thebuggenie/branches{/branch}","tags_url":"https://api.github.com/repos/gabor-udvari/thebuggenie/tags","blobs_url":"https://api.github.com/repos/gabor-udvari/thebuggenie/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gabor-udvari/thebuggenie/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gabor-udvari/thebuggenie/git/refs{/sha}","trees_url":"https://api.github.com/repos/gabor-udvari/thebuggenie/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gabor-udvari/thebuggenie/statuses/{sha}","languages_url":"https://api.github.com/repos/gabor-udvari/thebuggenie/languages","stargazers_url":"https://api.github.com/repos/gabor-udvari/thebuggenie/stargazers","contributors_url":"https://api.github.com/repos/gabor-udvari/thebuggenie/contributors","subscribers_url":"https://api.github.com/repos/gabor-udvari/thebuggenie/subscribers","subscription_url":"https://api.github.com/repos/gabor-udvari/thebuggenie/subscription","commits_url":"https://api.github.com/repos/gabor-udvari/thebuggenie/commits{/sha}","git_commits_url":"https://api.github.com/repos/gabor-udvari/thebuggenie/git/commits{/sha}","comments_url":"https://api.github.com/repos/gabor-udvari/thebuggenie/comments{/number}","issue_comment_url":"https://api.github.com/repos/gabor-udvari/thebuggenie/issues/comments{/number}","contents_url":"https://api.github.com/repos/gabor-udvari/thebuggenie/contents/{+path}","compare_url":"https://api.github.com/repos/gabor-udvari/thebuggenie/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gabor-udvari/thebuggenie/merges","archive_url":"https://api.github.com/repos/gabor-udvari/thebuggenie/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gabor-udvari/thebuggenie/downloads","issues_url":"https://api.github.com/repos/gabor-udvari/thebuggenie/issues{/number}","pulls_url":"https://api.github.com/repos/gabor-udvari/thebuggenie/pulls{/number}","milestones_url":"https://api.github.com/repos/gabor-udvari/thebuggenie/milestones{/number}","notifications_url":"https://api.github.com/repos/gabor-udvari/thebuggenie/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gabor-udvari/thebuggenie/labels{/name}","releases_url":"https://api.github.com/repos/gabor-udvari/thebuggenie/releases{/id}","created_at":"2015-04-13T11:09:03Z","updated_at":"2015-04-14T22:24:18Z","pushed_at":"2015-09-26T11:28:49Z","git_url":"git://github.com/gabor-udvari/thebuggenie.git","ssh_url":"git@github.com:gabor-udvari/thebuggenie.git","clone_url":"https://github.com/gabor-udvari/thebuggenie.git","svn_url":"https://github.com/gabor-udvari/thebuggenie","homepage":"http://www.thebuggenie.com","size":35472,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"thebuggenie:branch-40","ref":"branch-40","sha":"f30e302a72543439872ea6d709161629b1b82a1e","user":{"login":"thebuggenie","id":857500,"avatar_url":"https://avatars.githubusercontent.com/u/857500?v=3","gravatar_id":"","url":"https://api.github.com/users/thebuggenie","html_url":"https://github.com/thebuggenie","followers_url":"https://api.github.com/users/thebuggenie/followers","following_url":"https://api.github.com/users/thebuggenie/following{/other_user}","gists_url":"https://api.github.com/users/thebuggenie/gists{/gist_id}","starred_url":"https://api.github.com/users/thebuggenie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thebuggenie/subscriptions","organizations_url":"https://api.github.com/users/thebuggenie/orgs","repos_url":"https://api.github.com/users/thebuggenie/repos","events_url":"https://api.github.com/users/thebuggenie/events{/privacy}","received_events_url":"https://api.github.com/users/thebuggenie/received_events","type":"Organization","site_admin":false},"repo":{"id":1914841,"name":"thebuggenie","full_name":"thebuggenie/thebuggenie","owner":{"login":"thebuggenie","id":857500,"avatar_url":"https://avatars.githubusercontent.com/u/857500?v=3","gravatar_id":"","url":"https://api.github.com/users/thebuggenie","html_url":"https://github.com/thebuggenie","followers_url":"https://api.github.com/users/thebuggenie/followers","following_url":"https://api.github.com/users/thebuggenie/following{/other_user}","gists_url":"https://api.github.com/users/thebuggenie/gists{/gist_id}","starred_url":"https://api.github.com/users/thebuggenie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thebuggenie/subscriptions","organizations_url":"https://api.github.com/users/thebuggenie/orgs","repos_url":"https://api.github.com/users/thebuggenie/repos","events_url":"https://api.github.com/users/thebuggenie/events{/privacy}","received_events_url":"https://api.github.com/users/thebuggenie/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/thebuggenie/thebuggenie","description":"The Bug Genie is a friendly project management and issue tracking tool","fork":false,"url":"https://api.github.com/repos/thebuggenie/thebuggenie","forks_url":"https://api.github.com/repos/thebuggenie/thebuggenie/forks","keys_url":"https://api.github.com/repos/thebuggenie/thebuggenie/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thebuggenie/thebuggenie/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thebuggenie/thebuggenie/teams","hooks_url":"https://api.github.com/repos/thebuggenie/thebuggenie/hooks","issue_events_url":"https://api.github.com/repos/thebuggenie/thebuggenie/issues/events{/number}","events_url":"https://api.github.com/repos/thebuggenie/thebuggenie/events","assignees_url":"https://api.github.com/repos/thebuggenie/thebuggenie/assignees{/user}","branches_url":"https://api.github.com/repos/thebuggenie/thebuggenie/branches{/branch}","tags_url":"https://api.github.com/repos/thebuggenie/thebuggenie/tags","blobs_url":"https://api.github.com/repos/thebuggenie/thebuggenie/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thebuggenie/thebuggenie/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thebuggenie/thebuggenie/git/refs{/sha}","trees_url":"https://api.github.com/repos/thebuggenie/thebuggenie/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thebuggenie/thebuggenie/statuses/{sha}","languages_url":"https://api.github.com/repos/thebuggenie/thebuggenie/languages","stargazers_url":"https://api.github.com/repos/thebuggenie/thebuggenie/stargazers","contributors_url":"https://api.github.com/repos/thebuggenie/thebuggenie/contributors","subscribers_url":"https://api.github.com/repos/thebuggenie/thebuggenie/subscribers","subscription_url":"https://api.github.com/repos/thebuggenie/thebuggenie/subscription","commits_url":"https://api.github.com/repos/thebuggenie/thebuggenie/commits{/sha}","git_commits_url":"https://api.github.com/repos/thebuggenie/thebuggenie/git/commits{/sha}","comments_url":"https://api.github.com/repos/thebuggenie/thebuggenie/comments{/number}","issue_comment_url":"https://api.github.com/repos/thebuggenie/thebuggenie/issues/comments{/number}","contents_url":"https://api.github.com/repos/thebuggenie/thebuggenie/contents/{+path}","compare_url":"https://api.github.com/repos/thebuggenie/thebuggenie/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thebuggenie/thebuggenie/merges","archive_url":"https://api.github.com/repos/thebuggenie/thebuggenie/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thebuggenie/thebuggenie/downloads","issues_url":"https://api.github.com/repos/thebuggenie/thebuggenie/issues{/number}","pulls_url":"https://api.github.com/repos/thebuggenie/thebuggenie/pulls{/number}","milestones_url":"https://api.github.com/repos/thebuggenie/thebuggenie/milestones{/number}","notifications_url":"https://api.github.com/repos/thebuggenie/thebuggenie/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thebuggenie/thebuggenie/labels{/name}","releases_url":"https://api.github.com/repos/thebuggenie/thebuggenie/releases{/id}","created_at":"2011-06-18T07:16:34Z","updated_at":"2015-09-21T12:12:14Z","pushed_at":"2015-09-18T12:32:41Z","git_url":"git://github.com/thebuggenie/thebuggenie.git","ssh_url":"git@github.com:thebuggenie/thebuggenie.git","clone_url":"https://github.com/thebuggenie/thebuggenie.git","svn_url":"https://github.com/thebuggenie/thebuggenie","homepage":"http://www.thebuggenie.com","size":45358,"stargazers_count":329,"watchers_count":329,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":152,"mirror_url":null,"open_issues_count":6,"forks":152,"open_issues":6,"watchers":329,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/thebuggenie/thebuggenie/pulls/424"},"html":{"href":"https://github.com/thebuggenie/thebuggenie/pull/424"},"issue":{"href":"https://api.github.com/repos/thebuggenie/thebuggenie/issues/424"},"comments":{"href":"https://api.github.com/repos/thebuggenie/thebuggenie/issues/424/comments"},"review_comments":{"href":"https://api.github.com/repos/thebuggenie/thebuggenie/pulls/424/comments"},"review_comment":{"href":"https://api.github.com/repos/thebuggenie/thebuggenie/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/thebuggenie/thebuggenie/pulls/424/commits"},"statuses":{"href":"https://api.github.com/repos/thebuggenie/thebuggenie/statuses/851a262733acfac4bea8ac69b2b1ece015f0d81c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":8,"deletions":1,"changed_files":2}}