Roles view: show role's name in the title of the remove-link

This commit is contained in:
Alexander Klimov 2015-01-26 14:02:47 +01:00
parent ff1cda94ef
commit 2ba78f24c3

View File

@ -52,7 +52,10 @@
<td><?= $this->escape($role->groups) ?></td> <td><?= $this->escape($role->groups) ?></td>
<td> <td>
<a href="<?= $this->url('roles/remove', array('role' => $name)) ?>" <a href="<?= $this->url('roles/remove', array('role' => $name)) ?>"
title="<?= $this->translate('Remove role') ?>"> title="<?php printf(
$this->translate('Remove role "%s"'),
$name
); ?>">
<?= $this->icon('cancel') ?> <?= $this->icon('cancel') ?>
</a> </a>
</td> </td>