From 8005d4f070944abe179707f9e7c4701abe2733a1 Mon Sep 17 00:00:00 2001 From: Francois Ferrand Date: Thu, 4 Dec 2014 18:32:22 +0100 Subject: Allow click on subtask status icon to toggle --- app/Template/board/subtasks.php | 6 ++---- app/Template/subtask/show.php | 7 +++---- 2 files changed, 5 insertions(+), 8 deletions(-) (limited to 'app/Template') diff --git a/app/Template/board/subtasks.php b/app/Template/board/subtasks.php index c7f995d7..53330022 100644 --- a/app/Template/board/subtasks.php +++ b/app/Template/board/subtasks.php @@ -1,9 +1,7 @@
- $subtask)) ?> - $subtask))) . Helper\escape($subtask['title']), 'board', 'toggleSubtask', array('task_id' => $subtask['task_id'], 'subtask_id' => $subtask['id']) @@ -13,4 +11,4 @@
-
\ No newline at end of file + diff --git a/app/Template/subtask/show.php b/app/Template/subtask/show.php index 686b160e..4d341f26 100644 --- a/app/Template/subtask/show.php +++ b/app/Template/subtask/show.php @@ -19,12 +19,11 @@ - $subtask)) ?> - - $task['id'], 'subtask_id' => $subtask['id'])) ?> + $subtask))) . Helper\escape($subtask['status_name']), + 'subtask', 'toggleStatus', array('task_id' => $task['id'], 'subtask_id' => $subtask['id'])) ?> - + $subtask)) . Helper\escape($subtask['status_name']) ?> -- cgit v1.2.3