summaryrefslogtreecommitdiff
path: root/app/Template/board/tasklinks.php
blob: 25aa91aaffba5928bcc6f1f810945e54324ad636 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<div class="tooltip-tasklinks">
    <ul>
    <?php foreach($links as $link): ?>
        <li>
            <strong><?= t($link['label']) ?></strong>
            <?= $this->url->link(
                $this->e('#'.$link['task_id'].' - '.$link['title']),
                'task', 'show', array('task_id' => $link['task_id'], 'project_id' => $link['project_id']),
                false,
                $link['is_active'] ? '' : 'task-link-closed'
            ) ?>
            <?php if (! empty($link['task_assignee_username'])): ?>
                [<?= $this->e($link['task_assignee_name'] ?: $link['task_assignee_username']) ?>]
            <?php endif ?>
        </li>
    <?php endforeach ?>
    </ul>
</div>