diff options
Diffstat (limited to 'application/modules/user/views/scripts/pool/index.phtml')
| -rw-r--r-- | application/modules/user/views/scripts/pool/index.phtml | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/application/modules/user/views/scripts/pool/index.phtml b/application/modules/user/views/scripts/pool/index.phtml index 05b880a..e1c0d7c 100644 --- a/application/modules/user/views/scripts/pool/index.phtml +++ b/application/modules/user/views/scripts/pool/index.phtml @@ -1,4 +1,5 @@ <h1>Pools</h1> +<?php if($this->notification != ''){echo $this->notification;} ?> <?php echo $this->formButton('createconfig', 'Create Pool', array( 'onclick' => 'self.location="/user/pool/createpool"', 'class' => 'addbutton'))?> @@ -14,7 +15,7 @@ </tr> <?php foreach ($this->pools as $pool): ?> <tr class=entry> - <td><?php echo $this->escape($pool->getID()) ?></td> + <!--<td><?php echo $this->escape($pool->getID()) ?></td>--> <td><?php echo $this->escape($pool->getTitle()) ?></td> <td><?php echo $this->escape($pool->getDescription()) ?></td> <td><?php echo $this->escape($pool->getLocation()) ?></td> @@ -56,7 +57,7 @@ <td colspan=6> <table> <tr> - <th>ClientID</th> + <!-- <th>ClientID</th> --> <th>Mac</th> <th>Hardwarehash</th> <th>Actions</th> @@ -64,7 +65,7 @@ <?php foreach ($clients as $client): ?> <tr> - <td><?php echo $client['clientID'];?></td> + <!-- <td><?php echo $client['clientID'];?></td> --> <?php $cli = new Application_Model_Client(); $clientMapper = new Application_Model_ClientMapper(); @@ -89,6 +90,8 @@ <?php endif;?> <?php endforeach ?> </table> + +<?php if (count($this->freeclients)>0): ?> <h2>Free clients</h2> <table > <tr> @@ -123,6 +126,7 @@ foreach ($this->freeclients as $client): ?> </tr> <?php endforeach ?> </table> +<?php endif;?> <?php else: ?> |
