summaryrefslogtreecommitdiff
path: root/app/Template/board/subtasks.php
blob: 72e2b15c798f2533f5d7b3051aa9c23ddf52029a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<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'], 'subtask_id' => $subtask['id'])
    ) ?>

    <?= $this->e(empty($subtask['username']) ? '' : ' ['.$this->getFullname($subtask).']') ?>

    <br/>
<?php endforeach ?>
</section>