Fix role/list markup

refs #5543
This commit is contained in:
Eric Lippmann 2015-09-30 23:22:16 +02:00
parent 79ee288131
commit 612e62f853

View File

@ -7,7 +7,7 @@
'role/add', 'role/add',
null, null,
array( array(
'class' => 'button action-link', 'class' => 'button-link',
'data-base-target' => '_next', 'data-base-target' => '_next',
'icon' => 'plus', 'icon' => 'plus',
'title' => $this->translate('Create a new role') 'title' => $this->translate('Create a new role')
@ -26,7 +26,7 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<?php foreach ($roles as $name => $role): /** @var object $role */ ?> <?php foreach ($roles as $name => $role): /** @var object $role */ ?>
<tr> <tr>
<td> <td>
<?= $this->qlink( <?= $this->qlink(
@ -38,7 +38,7 @@
</td> </td>
<td><?= $this->escape($role->users) ?></td> <td><?= $this->escape($role->users) ?></td>
<td><?= $this->escape($role->groups) ?></td> <td><?= $this->escape($role->groups) ?></td>
<td class="text-right"> <td class="icon-col text-right">
<?= $this->qlink( <?= $this->qlink(
'', '',
'role/remove', 'role/remove',
@ -51,7 +51,7 @@
) ?> ) ?>
</td> </td>
</tr> </tr>
<?php endforeach ?> <?php endforeach ?>
</tbody> </tbody>
</table> </table>
</div> </div>