parent
508322cfdc
commit
261abbd65e
|
@ -21,10 +21,12 @@
|
||||||
<?php foreach ($roles as $name => $role): /** @var object $role */ ?>
|
<?php foreach ($roles as $name => $role): /** @var object $role */ ?>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<?= $this->escape($name) ?>
|
<?= $this->qlink(
|
||||||
<div class="hidden">
|
$name,
|
||||||
<a href="<?= $this->url('roles/update', array('role' => $name)) ?>"></a>
|
'roles/update',
|
||||||
</div>
|
array('role' => $name),
|
||||||
|
array('title' => sprintf($this->translate('Edit role %s'), $name))
|
||||||
|
); ?>
|
||||||
</td>
|
</td>
|
||||||
<!-- <td>--><?//= $this->escape($role->permissions, 0, 50) ?><!--</td>-->
|
<!-- <td>--><?//= $this->escape($role->permissions, 0, 50) ?><!--</td>-->
|
||||||
<!-- <td>-->
|
<!-- <td>-->
|
||||||
|
@ -65,7 +67,7 @@
|
||||||
</table>
|
</table>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<a data-base-target="_next" href="<?= $this->href('roles/new') ?>">
|
<a data-base-target="_next" href="<?= $this->href('roles/new') ?>">
|
||||||
<?= $this->translate('New Role') ?>
|
<?= $this->translate('Create a New Role') ?>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue