Contacts: Remove class active from tr, still buggy though

refs #4713
This commit is contained in:
Eric Lippmann 2013-10-09 09:30:59 +02:00
parent 5d4533a6ad
commit d599030579
2 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ $knownGroups = array()
<?php foreach($contactgroups as $contact): ?>
<?php $periodLink = $this->href('monitoring/show/contacts', array('contact' => $contact->contact_name)); ?>
<tr class="active">
<tr>
<?php
$groupName = $contact->contactgroup_name;
if (!array_key_exists($groupName, $knownGroups)) {
@ -32,7 +32,7 @@ $knownGroups = array()
}
?>
<td>
<a href="<?= $periodLink ?>"">
<a href="<?= $periodLink ?>">
<?= $contact->contact_name ?>
</a>
</td>

View File

@ -24,7 +24,7 @@ $contactHelper = $this->getHelper('ContactFlags');
<tbody>
<?php foreach($contacts as $contact): ?>
<?php $periodLink = $this->href('monitoring/show/contacts', array('contact' => $contact->contact_name)); ?>
<tr class="active">
<tr>
<td> <?= $contact->contact_name ?> </td>
<td> <?= $contact->contact_alias ?> </td>
<td> <?= $contact->contact_email ?> </td>