From 508322cfdc790bfdab185a1fe1715673a7687f68 Mon Sep 17 00:00:00 2001 From: Johannes Meyer <johannes.meyer@netways.de> Date: Mon, 23 Feb 2015 17:20:26 +0100 Subject: [PATCH] Add proper titles to the dashboard configuration's links refs #8458 --- .../views/scripts/dashboard/settings.phtml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/application/views/scripts/dashboard/settings.phtml b/application/views/scripts/dashboard/settings.phtml index 2ac9a1dfa..10ad613de 100644 --- a/application/views/scripts/dashboard/settings.phtml +++ b/application/views/scripts/dashboard/settings.phtml @@ -44,12 +44,20 @@ <?php if ($dashlet->getDisabled() === true) continue; ?> <tr> <td> - <a href="<?= $this->href('dashboard/update-dashlet', array('pane' => $pane->getName(), 'dashlet' => $dashlet->getTitle())); ?>"> - <?= $dashlet->getTitle(); ?> - </a> + <?= $this->qlink( + $dashlet->getTitle(), + 'dashboard/update-dashlet', + array('pane' => $pane->getName(), 'dashlet' => $dashlet->getTitle()), + array('title' => sprintf($this->translate('Edit dashlet %s'), $dashlet->getTitle())) + ); ?> </td> <td style="table-layout: fixed; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;"> - <a href="<?= $this->href($dashlet->getUrl()); ?>"><?= $dashlet->getUrl(); ?></a> + <?= $this->qlink( + $dashlet->getUrl(), + $dashlet->getUrl(), + null, + array('title' => sprintf($this->translate('Show dashlet %s'), $dashlet->getTitle())) + ); ?> </td> <td> <?= $this->qlink(