Show the create a new resource link as button

refs #5543
This commit is contained in:
Eric Lippmann 2015-09-30 11:31:32 +02:00
parent 42cbe78be3
commit 48df6adbf2
1 changed files with 10 additions and 3 deletions

View File

@ -2,9 +2,16 @@
<?= $tabs ?> <?= $tabs ?>
</div> </div>
<div class="content" data-base-target="_next"> <div class="content" data-base-target="_next">
<a href="<?= $this->href('config/createresource') ?>"> <?= $this->qlink(
<?= $this->icon('plus') ?> <?= $this->translate('Create A New Resource') ?> $this->translate('Create A New Resource') ,
</a> 'config/createresource',
null,
array(
'class' => 'button action-link',
'icon' => 'plus',
'title' => $this->translate('Create a new resource')
)
) ?>
<table class="action-table listing-table"> <table class="action-table listing-table">
<thead> <thead>
<th><?= $this->translate('Resource') ?></th> <th><?= $this->translate('Resource') ?></th>