Skip to content

Commit

Permalink
Fix state summary base target in multi views
Browse files Browse the repository at this point in the history
refs #8565
  • Loading branch information
majentsch committed May 18, 2015
1 parent c312989 commit 1f20ba1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
@@ -1,4 +1,4 @@
<div class="controls">
<div data-base-target='_next' class="controls">
<?php if (! $this->compact): ?>
<?= $tabs; ?>
<?php endif ?>
Expand Down
Expand Up @@ -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): ?>
Expand Down
Expand Up @@ -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): ?>
Expand Down
@@ -1,4 +1,4 @@
<div class="controls">
<div data-base-target='_next' class="controls">

<?php if (! $this->compact): ?>
<?= $tabs; ?>
Expand Down

0 comments on commit 1f20ba1

Please sign in to comment.