diff --git a/modules/monitoring/application/views/scripts/list/comments.phtml b/modules/monitoring/application/views/scripts/list/comments.phtml index 36c413424..bbde10f8a 100644 --- a/modules/monitoring/application/views/scripts/list/comments.phtml +++ b/modules/monitoring/application/views/scripts/list/comments.phtml @@ -13,23 +13,13 @@ $viewHelper = $this->getHelper('MonitoringState');

Comments

+ sortControl->render($this); ?> + + paginationControl($comments, null, null, array('preserve' => $this->preserve)); ?> - - - - - - - - - - - - - getHelper('MonitoringState'); ) ); ?> - activeRowHref === $detailLink) ? 'class="active"' : ''; ?>> + + + +
- - + diff --git a/modules/monitoring/application/views/scripts/list/hosts.phtml b/modules/monitoring/application/views/scripts/list/hosts.phtml index 2cb65a17b..b38d51bb8 100644 --- a/modules/monitoring/application/views/scripts/list/hosts.phtml +++ b/modules/monitoring/application/views/scripts/list/hosts.phtml @@ -5,6 +5,7 @@ $viewHelper = $this->getHelper('MonitoringState'); tabs->render($this); ?>

Hosts Status

+
@@ -17,20 +18,19 @@ $viewHelper = $this->getHelper('MonitoringState');
paginationControl($hosts, null, null, array('preserve' => $this->preserve)); ?>
- -
Comment IdTypeHostServiceEntry TimeAuthorCommentPersistentExpires
comment_objecttype_id === '1'): ?> - {{{ICON_HOST}}} + comment_objecttype_id === '2'): ?> - {{{ICON_SERVICE}}} + - comment_id; ?> + + comment_type) { + case 'flapping': + $icon = 'icinga-icon-flapping'; + $tooltip = 'Comment is caused by a flapping host or service.'; + break; + } + ?> + + - comment_type; ?> - - - host_name; ?> - - - service_name): ?> - - service_name ?> + service_name): ?> + + service_name ?> + + on + +   + + + host_name; ?> - -   - - formatDateTime($comment->comment_timestamp); ?> + comment_timestamp); ?> comment_author; ?> - - comment_data; ?> - +
+ comment_data; ?> +
comment_is_persistent === '1') ? 'Yes' : 'No'; ?> - + expires
comment_expiration_timestamp) ? - $dateHelper->formatDateTime($comment->comment_expiration_timestamp) : + 'at ' . date('d.m H:i', $comment->comment_expiration_timestamp) : 'Never'; - ?> + ?> +
getHelper('MonitoringState'); ); ?>
+
- util()->getHostStateName($host->host_state)); ?> href('monitoring/show/host', array('host' => $host->host_name)); ?> - activeRowHref === $hostLink) ? 'class="active"' : ''; ?> > +
@@ -130,5 +130,8 @@ $viewHelper = $this->getHelper('MonitoringState');
- paginationControl($hosts, null, null, array('preserve' => $this->preserve)); ?> + +
+ paginationControl($hosts, null, null, array('preserve' => $this->preserve)); ?> +
diff --git a/modules/monitoring/application/views/scripts/list/services.phtml b/modules/monitoring/application/views/scripts/list/services.phtml index 98a63a2ae..44f9c6d33 100644 --- a/modules/monitoring/application/views/scripts/list/services.phtml +++ b/modules/monitoring/application/views/scripts/list/services.phtml @@ -5,6 +5,7 @@ $viewHelper = $this->getHelper('MonitoringState'); tabs->render($this); ?>

Services Status

+
@@ -17,13 +18,14 @@ $viewHelper = $this->getHelper('MonitoringState');
paginationControl($services, null, null, array('preserve' => $this->preserve)); ?>
-
+
- + +
getHelper('MonitoringState');
- paginationControl($this->services, null, null, array('preserve' => $this->preserve)); ?> + +
+ paginationControl($this->services, null, null, array('preserve' => $this->preserve)); ?> +
+