summaryrefslogtreecommitdiff
path: root/app/Template/board/subtasks.php
blob: 533300223402036e8f51ffa8ecfe71763e667fb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<section id="tooltip-subtasks">
<?php foreach ($subtasks as $subtask): ?>
    <?= Helper\a(
        trim(Helper\template('subtask/icons', array('subtask' => $subtask))) . 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>