Link: Show the link's label in its title as well
This commit is contained in:
parent
9ca1a6dea6
commit
52bde67653
|
@ -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
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue