show/services: don't navigate to the right

When using list/services for show/services (services for a single host)
we us an ugly PREG-based hack fixing the base link target. This got
broken by the multiselect feature, now it's working again. We need a
better solution for this.
This commit is contained in:
Thomas Gelf 2014-05-20 13:53:36 +00:00
parent 4e88a4e008
commit 8f77ce607e
1 changed files with 4 additions and 8 deletions

View File

@ -9,20 +9,16 @@ if (!$this->compact): ?>
Sort by <?= $this->sortControl ?>
</div>
<?= $this->paginationControl($services, null, null, array('preserve' => $this->preserve));?>
<?= $this->selectionToolbar('multi', $this->href('monitoring/multi/service', $query)); ?>
<?= $this->paginationControl($services, null, null, array('preserve' => $this->preserve)) ?>
<?= $this->selectionToolbar('multi', $this->href('monitoring/multi/service', $query)) ?>
</div>
<div class="content">
<?php endif ?>
<table
data-base-target="_next"
<table data-base-target="_next"
class="action multiselect <?php if ($this->compact): ?> compact<?php endif ?>" style="table-layout: auto;"
data-icinga-multiselect-url="<?= $this->href("/monitoring/multi/service") ?>"
data-icinga-multiselect-data="service,host"
>
data-icinga-multiselect-data="service,host">
<tbody>
<?php