diff --git a/Action/EmailTaskHistory.php b/Action/EmailTaskHistory.php index 788ba50..ab6d99c 100644 --- a/Action/EmailTaskHistory.php +++ b/Action/EmailTaskHistory.php @@ -4,6 +4,7 @@ use Kanboard\Model\TaskModel; use Kanboard\Model\CommentModel; +use Kanboard\Model\ProjectModel; use Kanboard\Model\UserMetadataModel; use Kanboard\Action\Base; diff --git a/Plugin.php b/Plugin.php index cac427d..76b9a50 100644 --- a/Plugin.php +++ b/Plugin.php @@ -16,6 +16,11 @@ public function initialize() $this->actionManager->register(new EmailTaskHistory($this->container)); + if (!file_exists('plugins/Subtaskdate')) { + $this->template->setTemplateOverride('action_creation/params', 'kanboardEmailHistory:action_creation/params'); + } + + } public function onStartup() diff --git a/Template/action_creation/params.php b/Template/action_creation/params.php new file mode 100755 index 0000000..9ccb043 --- /dev/null +++ b/Template/action_creation/params.php @@ -0,0 +1,57 @@ +