From ea1143666391bd43ad1cdc3b2d054b0cb5683742 Mon Sep 17 00:00:00 2001 From: Timo Date: Wed, 4 Mar 2020 03:23:45 +0100 Subject: [PATCH] Add new hook template:task:form:bottom-before-buttons --- app/Template/task_creation/show.php | 3 +++ app/Template/task_modification/show.php | 3 +++ 2 files changed, 6 insertions(+) diff --git a/app/Template/task_creation/show.php b/app/Template/task_creation/show.php index e380ab102..579529a22 100644 --- a/app/Template/task_creation/show.php +++ b/app/Template/task_creation/show.php @@ -37,6 +37,9 @@
+ + hook->render('template:task:form:bottom-before-buttons', array('values' => $values, 'errors' => $errors)) ?> + form->checkbox('another_task', t('Create another task'), 1, isset($values['another_task']) && $values['another_task'] == 1, '', array("tabindex" => "16")) ?> form->checkbox('duplicate_multiple_projects', t('Duplicate to multiple projects'), 1, false, '', array("tabindex" => "17")) ?> diff --git a/app/Template/task_modification/show.php b/app/Template/task_modification/show.php index c7c41ddd8..7adc4ca1d 100644 --- a/app/Template/task_modification/show.php +++ b/app/Template/task_modification/show.php @@ -35,6 +35,9 @@
+ + hook->render('template:task:form:bottom-before-buttons', array('values' => $values, 'errors' => $errors)) ?> + modal->submitButtons() ?>