From dd8d7ef49d522a15dbf0d04f033f676580f30ad7 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 3 Jun 2017 17:31:32 -0400 Subject: Add configurable list of predefined subjects when sending a task by email --- app/Template/project_edit/show.php | 6 ++++++ app/Template/task_mail/create.php | 16 ++++++++++++++++ 2 files changed, 22 insertions(+) (limited to 'app/Template') diff --git a/app/Template/project_edit/show.php b/app/Template/project_edit/show.php index 62bd9af6..d4d0f8a6 100644 --- a/app/Template/project_edit/show.php +++ b/app/Template/project_edit/show.php @@ -63,5 +63,11 @@ form->number('priority_end', $values, $errors, array('tabindex="10"')) ?> +
+ + form->textarea('predefined_email_subjects', $values, $errors, array('tabindex="11"')) ?> +

+
+ modal->submitButtons(array('tabindex' => 11)) ?> diff --git a/app/Template/task_mail/create.php b/app/Template/task_mail/create.php index 4df81a6b..63a515ff 100644 --- a/app/Template/task_mail/create.php +++ b/app/Template/task_mail/create.php @@ -22,6 +22,22 @@ form->label(t('Subject'), 'subject') ?> form->text('subject', $values, $errors, array('required', 'tabindex="2"')) ?> + + + form->checkbox('add_comment', t('Log this action in a comment'), 1) ?> -- cgit v1.2.3