Add menu entry to add attachments in task dropdown

This commit is contained in:
Frederic Guillot 2017-02-12 13:39:46 -05:00
parent 991f7426e8
commit 260213147c
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -21,6 +21,9 @@
<li>
<?= $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>