summaryrefslogtreecommitdiff
path: root/app/Template/board/tooltip_tasklinks.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/board/tooltip_tasklinks.php')
-rw-r--r--app/Template/board/tooltip_tasklinks.php48
1 files changed, 29 insertions, 19 deletions
diff --git a/app/Template/board/tooltip_tasklinks.php b/app/Template/board/tooltip_tasklinks.php
index cabe43d8..6424c39d 100644
--- a/app/Template/board/tooltip_tasklinks.php
+++ b/app/Template/board/tooltip_tasklinks.php
@@ -1,24 +1,34 @@
-<div class="tooltip-tasklinks">
- <dl>
+<div class="tooltip-large">
+ <table>
<?php foreach ($links as $label => $grouped_links): ?>
- <dt><strong><?= t($label) ?></strong></dt>
+ <tr>
+ <th colspan="4"><?= t($label) ?></th>
+ </tr>
<?php foreach ($grouped_links as $link): ?>
- <dd>
- <span class="progress"><?= $this->task->getProgress($link).'%' ?></span>
- <?= $this->url->link(
- $this->text->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->text->e($link['task_assignee_name'] ?: $link['task_assignee_username']) ?>]
- <?php endif ?>
- <?php if ($task['project_id'] != $link['project_id']): ?>
- (<i><?= $link['project_name'] ?></i>)
- <?php endif ?>
- </dd>
+ <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']),
+ 'task', '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 ?>
- </dl>
+ </table>
</div> \ No newline at end of file