summaryrefslogtreecommitdiff
path: root/app/Template/board/subtasks.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-11-24 21:32:03 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-11-24 21:32:03 -0500
commit37c6616e50dbce2a298a27513b9882bb105405b0 (patch)
tree32fc40db197717893aa08dc50fa275a6804fa34a /app/Template/board/subtasks.php
parent5d7cff35261b485a994f5346f682fd802218de8d (diff)
Integrate tooltips and code cleanup/fix bugs, see #166
Diffstat (limited to 'app/Template/board/subtasks.php')
-rw-r--r--app/Template/board/subtasks.php16
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