diff --git a/modules/monitoring/application/views/scripts/list/hosts.phtml b/modules/monitoring/application/views/scripts/list/hosts.phtml index a1a7a2405..d9baadb9f 100644 --- a/modules/monitoring/application/views/scripts/list/hosts.phtml +++ b/modules/monitoring/application/views/scripts/list/hosts.phtml @@ -5,105 +5,104 @@ $hosts->peekAhead($this->compact); if (! $this->compact): ?>
- tabs ?> -
- render('list/components/selectioninfo.phtml') ?> -

compact ? ' data-base-target="col1"' : '' ?> - render('list/components/hostssummary.phtml') ?> -

-
- sortBox ?> - limiter ?> - paginator ?> - filterEditor ?> + tabs ?> +
+ render('list/components/selectioninfo.phtml') ?> +

compact ? ' data-base-target="col1"' : '' ?> + render('list/components/hostssummary.phtml') ?> +

+
+ sortBox ?> + limiter ?> + paginator ?> + filterEditor ?>
-" - data-icinga-multiselect-data="host" -> - - host_state); - $hostLink = $this->href('monitoring/host/show', array('host' => $host->host_name)); - - - ?> - - - - addColumns as $col): ?> - - - - - -
- host_state, true) ?> - host_state !== 99): ?> -
- timeSince($host->host_last_state_change, $this->compact) ?> - host_state > 0 && (int) $host->host_state_type === 0): ?> -
- Soft host_attempt ?> - - -
- iconImage()->host($host) ?> - hostFlags($host)) ?> - qlink( - $host->host_display_name, - $hostLink, - null, - array( - 'title' => sprintf($this->translate('Show detailed information for host %s'), $host->host_display_name), - 'class' => 'rowaction' - ) - ) ?> - host_name])): ?> - (qlink( - sprintf( - $this->translatePlural('%u unhandled service', '%u unhandled services', $summary[$host->host_name]), - $summary[$host->host_name] - ), - 'monitoring/list/services', - array( - 'host' => $host->host_name, - 'service_problem' => 1, - 'service_handled' => 0 - ), - array( - 'style' => 'font-weight: normal', - 'title' => sprintf( - $this->translatePlural( - 'List %s unhandled service problem on host %s', - 'List %s unhandled service problems on host %s', - $summary[$host->host_name] - ), - $summary[$host->host_name], - $host->host_name - ) - ) - ) ?>) - -

pluginOutput($this->ellipsis($host->host_output, 10000), true) ?>

-
escape($host->$col) ?>
+ " + data-icinga-multiselect-data="host"> + + host_state); + $hostLink = $this->href('monitoring/host/show', array('host' => $host->host_name)); ?> + + + + addColumns as $col): ?> + + + + + +
+ host_state, true) ?> + host_state !== 99): ?> +
+ timeSince($host->host_last_state_change, $this->compact) ?> + host_state > 0 && (int) $host->host_state_type === 0): ?> +
+ Soft host_attempt ?> + + +
+ iconImage()->host($host) ?> + hostFlags($host)) ?> + qlink( + $host->host_display_name, + $hostLink, + null, + array( + 'title' => sprintf( + $this->translate('Show detailed information for host %s'), + $host->host_display_name + ), + 'class' => 'rowaction' + ) + ) ?> + host_name])): ?> + (qlink( + sprintf( + $this->translatePlural( + '%u unhandled service', '%u unhandled services', $summary[$host->host_name] + ), + $summary[$host->host_name] + ), + 'monitoring/list/services', + array( + 'host' => $host->host_name, + 'service_problem' => 1, + 'service_handled' => 0 + ), + array( + 'style' => 'font-weight: normal', + 'title' => sprintf( + $this->translatePlural( + 'List %s unhandled service problem on host %s', + 'List %s unhandled service problems on host %s', + $summary[$host->host_name] + ), + $summary[$host->host_name], + $host->host_name + ) + ) + ) ?>) + +

pluginOutput($this->ellipsis($host->host_output, 10000), true) ?>

+
escape($host->$col) ?>
hasResult()): ?> - translate('No hosts found matching the filter') ?> + translate('No hosts found matching the filter') ?> hasMore()): ?> - qlink( - $this->translate('Show More'), - $this->url()->without(array('view', 'limit')), - null, - array( - 'data-base-target' => '_next', - 'class' => 'pull-right show-more' - ) - ) ?> + qlink( + $this->translate('Show More'), + $this->url()->without(array('view', 'limit')), + null, + array( + 'data-base-target' => '_next', + 'class' => 'pull-right show-more' + ) + ) ?>