Add proper titles to the contactgroups view

refs #8458
This commit is contained in:
Johannes Meyer 2015-02-23 17:23:26 +01:00
parent 1bcac55778
commit 3aa1f7e58e
1 changed files with 9 additions and 6 deletions

View File

@ -21,18 +21,21 @@ foreach ($groupData as $groupName => $groupInfo): ?>
<?php foreach ($groupInfo['contacts'] as $c): ?>
<div class="box entry">
<?= $this->img('/static/gravatar', array('email' => $c->contact_email)); ?>
<a href="<?= $this->href(
<?= $this->qlink(
$c->contact_alias,
'monitoring/show/contact',
array('contact' => $c->contact_name)
); ?>">
<?= $this->escape($c->contact_alias) ?>
</a>
array('contact' => $c->contact_name),
array('title' => sprintf(
$this->translate('Show detailed information about %s'),
$c->contact_alias
))
); ?>
<p>
<?php if ($c->contact_email): ?>
<?= $c->contact_email; ?>
<?php endif;
if ($c->contact_pager): ?>
<br />
<br>
<?= $c->contact_pager; ?>
<?php endif ?>
</p>