summaryrefslogtreecommitdiff
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
parent991f7426e8ec2a566ad82043b22ce844a5a1cfa1 (diff)
Add menu entry to add attachments in task dropdown
-rw-r--r--ChangeLog1
-rw-r--r--app/Template/task/dropdown.php3
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 19277eef..513ab45d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>