summaryrefslogtreecommitdiff
path: root/app/Template/task_external_link/table.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/task_external_link/table.php')
-rw-r--r--app/Template/task_external_link/table.php20
1 files changed, 12 insertions, 8 deletions
diff --git a/app/Template/task_external_link/table.php b/app/Template/task_external_link/table.php
index e345037e..5b22161a 100644
--- a/app/Template/task_external_link/table.php
+++ b/app/Template/task_external_link/table.php
@@ -1,12 +1,15 @@
<?php if (! empty($links)): ?>
<table class="table-striped table-scrolling">
- <tr>
- <th class="column-15"><?= t('Type') ?></th>
- <th><?= t('Title') ?></th>
- <th class="column-10"><?= t('Dependency') ?></th>
- <th class="column-15"><?= t('Creator') ?></th>
- <th class="column-15"><?= t('Date') ?></th>
- </tr>
+ <thead>
+ <tr>
+ <th class="column-15"><?= t('Type') ?></th>
+ <th><?= t('Title') ?></th>
+ <th class="column-10"><?= t('Dependency') ?></th>
+ <th class="column-15"><?= t('Creator') ?></th>
+ <th class="column-15"><?= t('Date') ?></th>
+ </tr>
+ </thead>
+ <tbody>
<?php foreach ($links as $link): ?>
<tr>
<td>
@@ -26,7 +29,7 @@
<?= $this->text->e($link['type']) ?>
</td>
<td>
- <a href="<?= $link['url'] ?>" target="_blank"><?= $this->text->e($link['title']) ?></a>
+ <a href="<?= $link['url'] ?>" title="<?= $this->text->e($link['url']) ?>" target="_blank"><?= $this->text->e($link['title']) ?></a>
</td>
<td>
<?= $this->text->e($link['dependency_label']) ?>
@@ -39,5 +42,6 @@
</td>
</tr>
<?php endforeach ?>
+ </tbody>
</table>
<?php endif ?>