+
+
+ = $this->isService ? $this->translate('Service') : $this->translate('Host') ?>
+ |
+
+ isService): ?>
+ link()->service(
+ $downtime->service_description,
+ $downtime->service_display_name,
+ $downtime->host_name,
+ $downtime->host_display_name
+ );
+ $icon = $this->icon('service', $this->translate('Service'));
+ ?>
+
+ icon('host', $this->translate('Host'));
+ $link = $this->link()->host($downtime->host_name, $downtime->host_display_name)
+ ?>
+
+ = $icon ?>
+ = $link ?>
+ |
+
= $this->translate('Author') ?> |
- = $this->icon('user') ?> = $this->escape($this->downtime->author_name) ?> |
+ = $this->icon('user', $this->translate('User')) ?> = $this->escape($this->downtime->author_name) ?> |
= $this->translate('Comment') ?> |
- = $this->icon('comment') ?> = $this->escape($this->downtime->comment) ?> |
+ = $this->icon('comment', $this->translate('Comment')) ?> = $this->escape($this->downtime->comment) ?> |
= $this->translate('Entry Time') ?> |
diff --git a/modules/monitoring/application/views/scripts/downtimes/show.phtml b/modules/monitoring/application/views/scripts/downtimes/show.phtml
index a683722ac..c7ddb0ae6 100644
--- a/modules/monitoring/application/views/scripts/downtimes/show.phtml
+++ b/modules/monitoring/application/views/scripts/downtimes/show.phtml
@@ -8,14 +8,6 @@
compact): ?>
= $this->tabs; ?>
-
-
- = sprintf($this->translate('%d Downtimes'), count($downtimes)) ?>
- = count($downtimes) > 5 ?
- sprintf($this->translate('(%d not shown)'), count ($downtimes) - 5)
- : '';
- ?>
-
@@ -40,10 +32,10 @@
isService): ?>
- = $this->icon('service') ?>
+ = $this->icon('service', $this->translate('Service')) ?>
= $downtime->service ?> on = $downtime->host_name ?>.
- = $this->icon('host') ?>
+ = $this->icon('host', $this->translate('Host')) ?>
= $downtime->host_name ?>.
|