Fix state summary base target in multi views

refs #8565
This commit is contained in:
Matthias Jentsch 2015-05-18 15:48:04 +02:00
parent c3129890aa
commit 1f20ba1bc6
4 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
<div class="controls">
<div data-base-target='_next' class="controls">
<?php if (! $this->compact): ?>
<?= $tabs; ?>
<?php endif ?>

View File

@ -14,7 +14,7 @@ function urlAddFilterOptional($url, $filter, $optional) {
$this->baseFilter = isset($this->baseFilter) ? $this->baseFilter : null;
$selfUrl = 'monitoring/list/hosts';
$currentUrl = Url::fromRequest()->getRelativeUrl();
?><div data-base-target='_next' class="tinystatesummary" <?= $this->compact ? ' data-base-target="col1"' : ''; ?>>
?><div class="tinystatesummary" <?= $this->compact ? ' data-base-target="col1"' : ''; ?>>
<?= sprintf($this->translate('%s hosts:'), $this->stats->hosts_total); ?>
<span class="badges">
<?php if ($this->stats->hosts_up): ?>

View File

@ -16,7 +16,7 @@ $this->baseFilter = isset($this->baseFilter) ? $this->baseFilter : null;
$selfUrl = 'monitoring/list/services';
$currentUrl = Url::fromRequest()->getRelativeUrl();
?><div data-base-target='_next' class="tinystatesummary" <?= $this->compact ? ' data-base-target="col1"' : ''; ?>>
?><div class="tinystatesummary" <?= $this->compact ? ' data-base-target="col1"' : ''; ?>>
<?= sprintf($this->translate('%s services:'), $this->stats->services_total); ?>
<span class="badges">
<?php if ($this->stats->services_ok): ?>

View File

@ -1,4 +1,4 @@
<div class="controls">
<div data-base-target='_next' class="controls">
<?php if (! $this->compact): ?>
<?= $tabs; ?>