summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-10-16 13:46:18 -0700
committerFrederic Guillot <fred@kanboard.net>2017-10-16 13:46:18 -0700
commita254b80045a94ad34da07307cf2f2a8023dacc03 (patch)
treeab97ea4fd112b9dbe57f79baef8166cf83af58d5
parent47d9c0f1279d6c42f130684f5081fe3c70bafb67 (diff)
Add attribute title to external links
-rw-r--r--app/Template/board/tooltip_external_links.php2
-rw-r--r--app/Template/task_external_link/table.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/board/tooltip_external_links.php b/app/Template/board/tooltip_external_links.php
index a9f1fc7f..2c287adf 100644
--- a/app/Template/board/tooltip_external_links.php
+++ b/app/Template/board/tooltip_external_links.php
@@ -11,7 +11,7 @@
<?= $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']) ?>
diff --git a/app/Template/task_external_link/table.php b/app/Template/task_external_link/table.php
index e345037e..ea22d436 100644
--- a/app/Template/task_external_link/table.php
+++ b/app/Template/task_external_link/table.php
@@ -26,7 +26,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']) ?>