Skip to content

Commit

Permalink
Remove action table tr hrefs that do not have any effect
Browse files Browse the repository at this point in the history
refs #5543
  • Loading branch information
majentsch committed Oct 1, 2015
1 parent 0c09441 commit 2a25063
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Expand Up @@ -36,7 +36,7 @@ if (! $this->compact): ?>
</thead>
<tbody>
<?php foreach ($hostgroups->peekAhead($this->compact) as $hostgroup): ?>
<tr href="<?= $this->href('monitoring/list/hosts', array('hostgroup_name' => $hostgroup->hostgroup_name)) ?>">
<tr>
<td class="count-col">
<span class="badge"><?= $hostgroup->hosts_total ?></span>
</td>
Expand Down
Expand Up @@ -40,7 +40,7 @@ if (! $this->compact): ?>
<?php foreach($hosts->peekAhead($this->compact) as $host):
$hostStateName = Host::getStateText($host->host_state);
$hostLink = $this->href('monitoring/host/show', array('host' => $host->host_name)); ?>
<tr href="<?= $hostLink ?>">
<tr>
<td class="state-col state-<?= $hostStateName ?><?= $host->host_handled ? ' handled' : '' ?>">
<p>
<span class="state-label"><?= Host::getStateText($host->host_state, true) ?></span>
Expand Down
Expand Up @@ -30,7 +30,7 @@ if (! $this->compact): ?>
</thead>
<tbody>
<?php foreach ($servicegroups->peekAhead($this->compact) as $serviceGroup): ?>
<tr href="<?= $this->href('monitoring/list/services', array('servicegroup_name' => $serviceGroup->servicegroup_name)) ?>">
<tr>
<td class="count-col">
<span class="badge"><?= $serviceGroup->services_total ?></span>
</td>
Expand Down
Expand Up @@ -53,7 +53,7 @@ if (! $this->compact): ?>
)
);
$serviceStateName = Service::getStateText($service->service_state); ?>
<tr href="<?= $serviceLink ?>">
<tr>
<td class="state-col state-<?= $serviceStateName ?><?= $service->service_handled ? ' handled' : '' ?>">
<p>
<span class="state-label"><?= Service::getStateText($service->service_state, true) ?></span>
Expand Down

0 comments on commit 2a25063

Please sign in to comment.