From 260213147cce912112c99f04454d27454619725e Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 12 Feb 2017 13:39:46 -0500 Subject: Add menu entry to add attachments in task dropdown --- ChangeLog | 1 + app/Template/task/dropdown.php | 3 +++ 2 files changed, 4 insertions(+) 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 @@ -21,6 +21,9 @@
  • modal->small('comment-o', t('Add a comment'), 'CommentController', 'create', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>
  • +
  • + modal->medium('file', t('Attach a document'), 'TaskFileController', 'create', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?> +
  • modal->medium('camera', t('Add a screenshot'), 'TaskPopoverController', 'screenshot', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>
  • -- cgit v1.2.3