From 32cd7c15085023b8526e8fba22d5fbad7d6b8679 Mon Sep 17 00:00:00 2001 From: ashbike Date: Mon, 16 Feb 2015 23:53:09 +0530 Subject: This adds a quick comment creation link in the task menu on board. --- app/Template/comment/create.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'app/Template/comment') diff --git a/app/Template/comment/create.php b/app/Template/comment/create.php index 1bdbac49..2ef3ee59 100644 --- a/app/Template/comment/create.php +++ b/app/Template/comment/create.php @@ -2,7 +2,7 @@

-
+ formCsrf() ?> formHidden('task_id', $values) ?> formHidden('user_id', $values) ?> @@ -30,7 +30,11 @@ - a(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?> + + a(t('cancel'), 'board', 'show', array('project_id' => $task['project_id'])) ?> + + a(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?> +
-- cgit v1.2.3