summaryrefslogtreecommitdiff
path: root/app/Template/board
diff options
context:
space:
mode:
authorFrancois Ferrand <thetypz@gmail.com>2014-12-04 18:32:22 +0100
committerFrancois Ferrand <thetypz@gmail.com>2014-12-04 18:37:31 +0100
commit8005d4f070944abe179707f9e7c4701abe2733a1 (patch)
treef8195cf079d99c95e3b9ee8027dc4ee74c28fe08 /app/Template/board
parent0ccf6c8bc20656921f31582a0b5b329264dd6813 (diff)
Allow click on subtask status icon to toggle
Diffstat (limited to 'app/Template/board')
-rw-r--r--app/Template/board/subtasks.php6
1 files changed, 2 insertions, 4 deletions
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 @@
<section id="tooltip-subtasks">
<?php foreach ($subtasks as $subtask): ?>
- <?= Helper\template('subtask/icons', array('subtask' => $subtask)) ?>
-
<?= Helper\a(
- Helper\escape($subtask['title']),
+ trim(Helper\template('subtask/icons', array('subtask' => $subtask))) . Helper\escape($subtask['title']),
'board',
'toggleSubtask',
array('task_id' => $subtask['task_id'], 'subtask_id' => $subtask['id'])
@@ -13,4 +11,4 @@
<br/>
<?php endforeach ?>
-</section> \ No newline at end of file
+</section>