summaryrefslogtreecommitdiff
path: root/app/Template/task/dropdown.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-02-18 20:21:48 -0500
committerFrederic Guillot <fred@kanboard.net>2017-02-18 20:21:48 -0500
commit11a774e555786182dd634676811e3c58f316dad0 (patch)
tree4dd0092b45d15d1c6ae1db613e37eb9bb009c0ec /app/Template/task/dropdown.php
parent93c05371a882b3c07d16457479129e42a2999492 (diff)
Send tasks by email
Diffstat (limited to 'app/Template/task/dropdown.php')
-rw-r--r--app/Template/task/dropdown.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/Template/task/dropdown.php b/app/Template/task/dropdown.php
index 21b04598..f35abc79 100644
--- a/app/Template/task/dropdown.php
+++ b/app/Template/task/dropdown.php
@@ -36,6 +36,9 @@
<li>
<?= $this->modal->small('clone', t('Move to another project'), 'TaskDuplicationController', 'move', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>
</li>
+ <li>
+ <?= $this->modal->small('paper-plane', t('Send by email'), 'TaskMailController', 'create', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>
+ </li>
<?php if ($this->projectRole->canRemoveTask($task)): ?>
<li>
<?= $this->modal->confirm('trash-o', t('Remove'), 'TaskSuppressionController', 'confirm', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>