mirror of
https://github.com/YunoHost-Apps/kanboard_ynh.git
synced 2024-09-03 19:36:17 +02:00
34 lines
1.3 KiB
PHP
34 lines
1.3 KiB
PHP
<div class="tooltip-large">
|
|
<table>
|
|
<?php foreach ($links as $label => $grouped_links): ?>
|
|
<tr>
|
|
<th colspan="4"><?= t($label) ?></th>
|
|
</tr>
|
|
<?php foreach ($grouped_links as $link): ?>
|
|
<tr>
|
|
<td class="column-10">
|
|
<?= $this->task->getProgress($link).'%' ?>
|
|
</td>
|
|
<td class="column-60">
|
|
<?= $this->url->link(
|
|
$this->text->e('#'.$link['task_id'].' '.$link['title']),
|
|
'TaskViewController', 'show', array('task_id' => $link['task_id'], 'project_id' => $link['project_id']),
|
|
false,
|
|
$link['is_active'] ? '' : 'task-link-closed'
|
|
) ?>
|
|
</td>
|
|
<td>
|
|
<?php if (! empty($link['task_assignee_username'])): ?>
|
|
<?= $this->text->e($link['task_assignee_name'] ?: $link['task_assignee_username']) ?>
|
|
<?php else: ?>
|
|
<?= t('Not assigned') ?>
|
|
<?php endif ?>
|
|
</td>
|
|
<td>
|
|
<?= $link['project_name'] ?>
|
|
</td>
|
|
</tr>
|
|
<?php endforeach ?>
|
|
<?php endforeach ?>
|
|
</table>
|
|
</div>
|