mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-20 20:34:25 +02:00
parent
3aa1f7e58e
commit
e0164e8bcb
@ -15,15 +15,21 @@
|
|||||||
foreach ($contacts as $contact): ?>
|
foreach ($contacts as $contact): ?>
|
||||||
<div class="contact">
|
<div class="contact">
|
||||||
<?= $this->img('/static/gravatar', array('email' => $contact->contact_email)); ?>
|
<?= $this->img('/static/gravatar', array('email' => $contact->contact_email)); ?>
|
||||||
<a href="<?= $this->href(
|
<?= $this->qlink(
|
||||||
|
'<strong>' . $this->escape($contact->contact_name) . '</strong>',
|
||||||
'monitoring/show/contact',
|
'monitoring/show/contact',
|
||||||
array('contact' => $contact->contact_name)
|
array('contact' => $contact->contact_name),
|
||||||
) ?>"><strong><?= $contact->contact_name ?></strong></a> (<?= $contact->contact_alias ?>)
|
array('title' => sprintf(
|
||||||
<div><?= sprintf(
|
$this->translate('Show detailed information about %s'),
|
||||||
'%1$s: <a href="mailto:%2$s">%2$s</a>',
|
$contact->contact_alias
|
||||||
mt('monitoring', 'Email'),
|
)),
|
||||||
$this->escape($contact->contact_email)
|
false
|
||||||
) ?></div>
|
); ?> (<?= $contact->contact_alias; ?>)
|
||||||
|
<div>
|
||||||
|
<?= $this->translate('Email'); ?>: <a href="mailto:<?= $contact->contact_email; ?>" title="<?= sprintf($this->translate('Send a mail to %s'), $contact->contact_alias); ?>" aria-label="<?= sprintf($this->translate('Send a mail to %s'), $contact->contact_alias); ?>">
|
||||||
|
<?= $this->escape($contact->contact_email); ?>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
<?php if ($contact->contact_pager): ?>
|
<?php if ($contact->contact_pager): ?>
|
||||||
<div>
|
<div>
|
||||||
<?= $this->translate('Pager') ?>:
|
<?= $this->translate('Pager') ?>:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user