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 */ ?> <?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>