Fix removeacknowledge command in multi select view

This commit is contained in:
Marius Hein 2013-10-23 15:51:02 +02:00
parent ec42ddde12
commit 58b4674f58
1 changed files with 29 additions and 29 deletions

View File

@ -14,36 +14,36 @@
</div> </div>
<hr class="separator" > <hr class="separator" >
<div class="panel-body"> <div class="panel-body">
<div class="panel-row"> <div class="panel-row">
<?php if (count($downtimes) > 0) { ?> <?php if (count($downtimes) > 0) { ?>
<a href=" <a href="
<?= $this->href( <?= $this->href(
'monitoring/list/downtimes', 'monitoring/list/downtimes',
array() array()
);?> );?>
"> ">
<?= count($downtimes); ?> Selected items are currently in downtime. <?= count($downtimes); ?> Selected items are currently in downtime.
</a> </a>
<a href="<?= <a href="<?=
$this->href( $this->href(
'monitoring/command/removedowntime', 'monitoring/command/removedowntime',
$this->target $this->target
); );
?>" class="button btn-common btn-small input-sm pull-right"> ?>" class="button btn-common btn-small input-sm pull-right">
<i class="icinga-icon-remove"></i> <i class="icinga-icon-remove"></i>
</a> </a>
<?php } else { ?> <?php } else { ?>
0 Selected items are currently in downtime. 0 Selected items are currently in downtime.
<?php } ?> <?php } ?>
</div> </div>
<a rel="tooltip" title="Remove all acknowledgements from all selected hosts or services" href="<?= <a rel="tooltip" title="Remove all acknowledgements from all selected hosts or services" href="<?=
$this->href( $this->href(
'monitoring/command/removedowntime', 'monitoring/command/removeacknowledgement',
$target $target
); );
?>" class="button btn-cta btn-common btn-wide"> ?>" class="button btn-cta btn-common btn-wide">
Remove Acknowledgements Remove Acknowledgements
</a> </a>
</div> </div>
</div> </div>