Fix config/resource markup

refs #5543
This commit is contained in:
Eric Lippmann 2015-09-30 23:20:17 +02:00
parent 22718f158d
commit aec74659f0

View File

@ -1,24 +1,27 @@
<div class="controls"> <div class="controls">
<?= $tabs ?> <?= $tabs ?>
</div> </div>
<div class="content" data-base-target="_next"> <div class="content">
<?= $this->qlink( <?= $this->qlink(
$this->translate('Create A New Resource') , $this->translate('Create A New Resource') ,
'config/createresource', 'config/createresource',
null, null,
array( array(
'class' => 'button action-link', 'class' => 'button-link',
'data-base-target' => '_next',
'icon' => 'plus', 'icon' => 'plus',
'title' => $this->translate('Create a new resource') 'title' => $this->translate('Create a new resource')
) )
) ?> ) ?>
<table class="action-table listing-table"> <table class="action-table listing-table" data-base-target="_next">
<thead> <thead>
<tr>
<th><?= $this->translate('Resource') ?></th> <th><?= $this->translate('Resource') ?></th>
<th></th> <th></th>
</tr>
</thead> </thead>
<tbody> <tbody>
<?php foreach ($this->resources as $name => $value): ?> <?php foreach ($this->resources as $name => $value): ?>
<tr> <tr>
<td> <td>
<?php <?php
@ -54,7 +57,7 @@
) )
) ?> ) ?>
</td> </td>
<td class="text-right"> <td class="icon-col text-right">
<?= $this->qlink( <?= $this->qlink(
'', '',
'config/removeresource', 'config/removeresource',
@ -67,7 +70,7 @@
) ?> ) ?>
</td> </td>
</tr> </tr>
<?php endforeach ?> <?php endforeach ?>
</tbody> </tbody>
</table> </table>
</div> </div>