diff --git a/Plugin.php b/Plugin.php index 22a49cc..84934fa 100644 --- a/Plugin.php +++ b/Plugin.php @@ -13,6 +13,17 @@ class Plugin extends Base $this->hook->on('template:layout:css', array( 'template' => 'plugins/FinanceBuddy/Asset/css/finance.css', )); + + // Per-board opt-in: a checkbox on the project's Settings -> Integrations page. Nothing + // else in the plugin renders or saves until a project manager enables it for that board. + $this->template->hook->attach('template:project:integrations', 'financeBuddy:project/integration'); + } + + public function getHelpers() + { + return array( + 'Plugin\FinanceBuddy\Helper' => array('FinanceHelper'), + ); } public function getPluginName()