diff --git a/modules/monitoring/application/views/scripts/list/contacts.phtml b/modules/monitoring/application/views/scripts/list/contacts.phtml index 4d3ee0a55..0eb56f37c 100644 --- a/modules/monitoring/application/views/scripts/list/contacts.phtml +++ b/modules/monitoring/application/views/scripts/list/contacts.phtml @@ -5,31 +5,37 @@ $contactHelper = $this->getHelper('ContactFlags');
tabs ?>
- sortControl->render($this); ?> + sortControl->render($this); ?>
- paginationControl($contacts, null, null, array('preserve' => $this->preserve)); ?> + paginationControl($contacts, null, null, array('preserve' => $this->preserve)); ?>
- - + href('monitoring/show/contacts', array('contact' => $contact->contact_name)); ?> +
+ + contact_name ?> (contact_alias ?>) href('monitoring/show/contacts', array('contact' => $contact->contact_name)); ?> -
- - - - - - - - - - - -
contact_name ?>contact_alias ?>contact_email ?>contact_pager ?>contactFlags($contact, 'service') ?>contactFlags($contact, 'host') ?>contact_notify_service_timeperiod ?>contact_notify_host_timeperiod ?>
+ foreach (array( + $contact->contact_email => 'eMail: %1$s', + $contact->contact_pager => 'Pager: %s', + $contact->contact_notify_service_timeperiod => 'Service notification period: %s', + $contact->contact_notify_host_timeperiod => 'Host notification period: %s' + ) as $value => $format): + if ($value): ?> +
+ +
+
+