diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-07-04 11:14:21 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-07-04 11:14:21 -0400 |
commit | 554500aa493faa66b43b2ddce72338880a874724 (patch) | |
tree | 73066cfbe6af3cabf81b5be1dc5ef81e44792a21 /app/Template/board/tooltip_tasklinks.php | |
parent | a327f790ee036664439bf50e00c95fb8a0e1f97e (diff) |
Refactoring to implement new layout with filters: board/calendar/list views (work in progress)
Diffstat (limited to 'app/Template/board/tooltip_tasklinks.php')
-rw-r--r-- | app/Template/board/tooltip_tasklinks.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/app/Template/board/tooltip_tasklinks.php b/app/Template/board/tooltip_tasklinks.php new file mode 100644 index 00000000..25aa91aa --- /dev/null +++ b/app/Template/board/tooltip_tasklinks.php @@ -0,0 +1,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>
\ No newline at end of file |