From b4dc602381a367ce9ed1a1bbe28b7903976fdabe Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 18 Feb 2017 18:25:46 -0500 Subject: Send comments by email --- app/Template/task_comments/show.php | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'app/Template/task_comments') diff --git a/app/Template/task_comments/show.php b/app/Template/task_comments/show.php index 18200bc8..d34e5e95 100644 --- a/app/Template/task_comments/show.php +++ b/app/Template/task_comments/show.php @@ -6,25 +6,28 @@
- url->icon('sort', t('change sorting'), 'CommentController', 'toggleSorting', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?> + url->icon('sort', t('Change sorting'), 'CommentController', 'toggleSorting', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?> + + modal->medium('paper-plane', t('Send by email'), 'CommentMailController', 'create', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?> +
render('comment/show', array( - 'comment' => $comment, - 'task' => $task, - 'project' => $project, - 'editable' => $editable, + 'comment' => $comment, + 'task' => $task, + 'project' => $project, + 'editable' => $editable, 'is_public' => isset($is_public) && $is_public, )) ?> render('task_comments/create', array( - 'values' => array(), - 'errors' => array(), - 'task' => $task, + 'values' => array(), + 'errors' => array(), + 'task' => $task, )) ?> -- cgit v1.2.3