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
1 changed files with 4 additions and 1 deletions

View File

@ -52,7 +52,10 @@
<td><?= $this->escape($role->groups) ?></td>
<td>
<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') ?>
</a>
</td>