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

View File

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