diff options
Diffstat (limited to 'app/Template/board/subtasks.php')
-rw-r--r-- | app/Template/board/subtasks.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app/Template/board/subtasks.php b/app/Template/board/subtasks.php new file mode 100644 index 00000000..c7f995d7 --- /dev/null +++ b/app/Template/board/subtasks.php @@ -0,0 +1,16 @@ +<section id="tooltip-subtasks"> +<?php foreach ($subtasks as $subtask): ?> + <?= Helper\template('subtask/icons', array('subtask' => $subtask)) ?> + + <?= Helper\a( + Helper\escape($subtask['title']), + 'board', + 'toggleSubtask', + array('task_id' => $subtask['task_id'], 'subtask_id' => $subtask['id']) + ) ?> + + <?= Helper\escape(empty($subtask['username']) ? '' : ' ['.Helper\get_username($subtask).']') ?> + + <br/> +<?php endforeach ?> +</section>
\ No newline at end of file |