diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-02-12 13:39:46 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-02-12 13:39:46 -0500 |
commit | 260213147cce912112c99f04454d27454619725e (patch) | |
tree | 89f579b77ea86cafa696fba6f474f4f7c3b78681 | |
parent | 991f7426e8ec2a566ad82043b22ce844a5a1cfa1 (diff) |
Add menu entry to add attachments in task dropdown
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | app/Template/task/dropdown.php | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -3,6 +3,7 @@ Version 1.0.39 (unreleased) Improvements: +* Add menu entry to add attachments in task dropdown * Improve error reporting when file upload is not configured properly * Open comments in board view with a modal dialog instead of tooltip * Improve card icons alignment on board 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> |