Add proper titles to the role configuration

refs #8458
This commit is contained in:
Johannes Meyer 2015-02-23 17:20:48 +01:00
parent 508322cfdc
commit 261abbd65e
1 changed files with 7 additions and 5 deletions

View File

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