From ef1fea4509a8bd475c9d77ab63764378f1b5067b Mon Sep 17 00:00:00 2001 From: Olivier Maridat Date: Tue, 10 Mar 2015 14:32:23 +0100 Subject: Add an item "Add a link" in the dropdown menu of a task in the board view --- app/Template/tasklink/create.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'app/Template/tasklink/create.php') diff --git a/app/Template/tasklink/create.php b/app/Template/tasklink/create.php index fb438cd8..aec3b34a 100644 --- a/app/Template/tasklink/create.php +++ b/app/Template/tasklink/create.php @@ -2,7 +2,7 @@

-
+ formCsrf() ?> formHidden('task_id', $values) ?> @@ -22,6 +22,10 @@
- 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'])) ?> +
\ No newline at end of file -- cgit v1.2.3