{"action":"created","issue":{"url":"https://api.github.com/repos/Serhioromano/bootstrap-calendar/issues/437","labels_url":"https://api.github.com/repos/Serhioromano/bootstrap-calendar/issues/437/labels{/name}","comments_url":"https://api.github.com/repos/Serhioromano/bootstrap-calendar/issues/437/comments","events_url":"https://api.github.com/repos/Serhioromano/bootstrap-calendar/issues/437/events","html_url":"https://github.com/Serhioromano/bootstrap-calendar/issues/437","id":50441329,"number":437,"title":"Modal template","user":{"login":"nferrari","id":1780838,"avatar_url":"https://avatars.githubusercontent.com/u/1780838?v=3","gravatar_id":"","url":"https://api.github.com/users/nferrari","html_url":"https://github.com/nferrari","followers_url":"https://api.github.com/users/nferrari/followers","following_url":"https://api.github.com/users/nferrari/following{/other_user}","gists_url":"https://api.github.com/users/nferrari/gists{/gist_id}","starred_url":"https://api.github.com/users/nferrari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nferrari/subscriptions","organizations_url":"https://api.github.com/users/nferrari/orgs","repos_url":"https://api.github.com/users/nferrari/repos","events_url":"https://api.github.com/users/nferrari/events{/privacy}","received_events_url":"https://api.github.com/users/nferrari/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-11-29T23:52:52Z","updated_at":"2015-01-22T12:06:59Z","closed_at":null,"body":"Hi,\r\n\r\nIs it possible to override the modal template without having to copy the entire /tmpls directory in my project (and then changing option tmpl_path)?\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/Serhioromano/bootstrap-calendar/issues/comments/71011120","html_url":"https://github.com/Serhioromano/bootstrap-calendar/issues/437#issuecomment-71011120","issue_url":"https://api.github.com/repos/Serhioromano/bootstrap-calendar/issues/437","id":71011120,"user":{"login":"nferrari","id":1780838,"avatar_url":"https://avatars.githubusercontent.com/u/1780838?v=3","gravatar_id":"","url":"https://api.github.com/users/nferrari","html_url":"https://github.com/nferrari","followers_url":"https://api.github.com/users/nferrari/followers","following_url":"https://api.github.com/users/nferrari/following{/other_user}","gists_url":"https://api.github.com/users/nferrari/gists{/gist_id}","starred_url":"https://api.github.com/users/nferrari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nferrari/subscriptions","organizations_url":"https://api.github.com/users/nferrari/orgs","repos_url":"https://api.github.com/users/nferrari/repos","events_url":"https://api.github.com/users/nferrari/events{/privacy}","received_events_url":"https://api.github.com/users/nferrari/received_events","type":"User","site_admin":false},"created_at":"2015-01-22T12:06:59Z","updated_at":"2015-01-22T12:06:59Z","body":"OK all clear now!\r\n\r\nThus, I guess the best solution for me is to change the tmpl_path option and copy the whole tmpls directory, even if I just want to override modal.html.\r\n\r\nSo next question is: couldn't that be a cool feature? Something like:\r\n\r\n    <script type=\"text/javascript\">\r\n        var calendar = $(\"#calendar\").calendar(\r\n            {\r\n                tmpl_files: {\"modal\": \"/path/to/my/modal.html\"},\r\n                events_source: function () { return []; }\r\n            });         \r\n    </script>\r\n\r\n"}}