Link: Show the link's label in its title as well

This commit is contained in:
Johannes Meyer 2015-07-10 15:12:56 +02:00
parent 9ca1a6dea6
commit 52bde67653
1 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@ class Zend_View_Helper_Link extends Zend_View_Helper_Abstract
$linkText, $linkText,
'monitoring/host/show', 'monitoring/host/show',
array('host' => $host), array('host' => $host),
array('title' => sprintf($this->view->translate('Show detailed information for host %s'), $host)) array('title' => sprintf($this->view->translate('Show detailed information for host %s'), $linkText))
); );
} }
@ -61,8 +61,8 @@ class Zend_View_Helper_Link extends Zend_View_Helper_Abstract
array( array(
'title' => sprintf( 'title' => sprintf(
$this->view->translate('Show detailed information for service %s on host %s'), $this->view->translate('Show detailed information for service %s on host %s'),
$service, $serviceLinkText,
$host $hostLinkText
), ),
'class' => $class 'class' => $class
) )