chg: Added ids to the server index

pull/1886/head
iglocska 2017-02-02 17:30:26 +01:00
parent 7c5ff0e11d
commit f7594bde8d
1 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,7 @@
</div> </div>
<table class="table table-striped table-hover table-condensed"> <table class="table table-striped table-hover table-condensed">
<tr> <tr>
<th><?php echo $this->Paginator->sort('id');?></th>
<th><?php echo $this->Paginator->sort('name');?></th> <th><?php echo $this->Paginator->sort('name');?></th>
<th>Connection test</th> <th>Connection test</th>
<th><?php echo $this->Paginator->sort('internal');?></th> <th><?php echo $this->Paginator->sort('internal');?></th>
@ -57,6 +58,7 @@ foreach ($servers as $server):
} }
?> ?>
<tr> <tr>
<td class="short"><?php echo h($server['Server']['id']); ?></td>
<td> <td>
<?php <?php
if (!empty($server['Server']['name'])) echo h($server['Server']['name']); if (!empty($server['Server']['name'])) echo h($server['Server']['name']);