Add proper titles to the contacts component view

refs #8458
This commit is contained in:
Johannes Meyer 2015-02-23 17:27:27 +01:00
parent 9793bd52c7
commit 3a74ec3d09
1 changed files with 8 additions and 4 deletions

View File

@ -4,9 +4,12 @@ if (! empty($object->contacts)) {
$list = array();
foreach ($object->contacts as $contact) {
$list[] = $this->qlink($contact->contact_alias, 'monitoring/show/contact', array(
'contact' => $contact->contact_name
));
$list[] = $this->qlink(
$contact->contact_alias,
'monitoring/show/contact',
array('contact' => $contact->contact_name),
array('title' => sprintf($this->translate('Show detailed information about %s'), $contact->contact_alias))
);
}
printf(
@ -24,7 +27,8 @@ if (! empty($object->contactgroups)) {
$list[] = $this->qlink(
$contactgroup->contactgroup_alias,
'monitoring/list/contactgroups',
array('contactgroup' => $contactgroup->contactgroup_name)
array('contactgroup' => $contactgroup->contactgroup_name),
array('title' => sprintf($this->translate('List contacts in contact-group "%s"'), $contactgroup->contactgroup_alias))
);
}