summaryrefslogtreecommitdiff
path: root/app/Template/board/subtasks.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/board/subtasks.php')
-rw-r--r--app/Template/board/subtasks.php9
1 files changed, 1 insertions, 8 deletions
diff --git a/app/Template/board/subtasks.php b/app/Template/board/subtasks.php
index 1cb05498..18f7f9da 100644
--- a/app/Template/board/subtasks.php
+++ b/app/Template/board/subtasks.php
@@ -1,14 +1,7 @@
<section id="tooltip-subtasks">
<?php foreach ($subtasks as $subtask): ?>
- <?= $this->a(
- trim($this->render('subtask/icons', array('subtask' => $subtask))) . $this->e($subtask['title']),
- 'board',
- 'toggleSubtask',
- array('task_id' => $subtask['task_id'], 'project_id' => $task['project_id'], 'subtask_id' => $subtask['id'])
- ) ?>
-
+ <?= $this->toggleSubtaskStatus($subtask, 'board') ?>
<?= $this->e(empty($subtask['username']) ? '' : ' ['.$this->getFullname($subtask).']') ?>
-
<br/>
<?php endforeach ?>
</section>