summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-02-12 13:39:46 -0500
committerFrederic Guillot <fred@kanboard.net>2017-02-12 13:39:46 -0500
commit260213147cce912112c99f04454d27454619725e (patch)
tree89f579b77ea86cafa696fba6f474f4f7c3b78681 /app
parent991f7426e8ec2a566ad82043b22ce844a5a1cfa1 (diff)
Add menu entry to add attachments in task dropdown
Diffstat (limited to 'app')
-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 1daf8896..cc1e4e03 100644
--- a/app/Template/task/dropdown.php
+++ b/app/Template/task/dropdown.php
@@ -22,6 +22,9 @@
<?= $this->modal->small('comment-o', t('Add a comment'), 'CommentController', 'create', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>
</li>
<li>
+ <?= $this->modal->medium('file', t('Attach a document'), 'TaskFileController', 'create', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>
+ </li>
+ <li>
<?= $this->modal->medium('camera', t('Add a screenshot'), 'TaskPopoverController', 'screenshot', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>
</li>
<li>