mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 13:54:26 +02:00
parent
79ee288131
commit
612e62f853
@ -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')
|
||||||
@ -17,41 +17,41 @@
|
|||||||
<p><?= $this->translate('No roles found.') ?></p>
|
<p><?= $this->translate('No roles found.') ?></p>
|
||||||
<?php return; endif ?>
|
<?php return; endif ?>
|
||||||
<table class="action-table listing-table" data-base-target="_next">
|
<table class="action-table listing-table" data-base-target="_next">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th><?= $this->translate('Name') ?></th>
|
<th><?= $this->translate('Name') ?></th>
|
||||||
<th><?= $this->translate('Users') ?></th>
|
<th><?= $this->translate('Users') ?></th>
|
||||||
<th><?= $this->translate('Groups') ?></th>
|
<th><?= $this->translate('Groups') ?></th>
|
||||||
<th></th>
|
<th></th>
|
||||||
</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(
|
||||||
$name,
|
$name,
|
||||||
'role/edit',
|
'role/edit',
|
||||||
array('role' => $name),
|
array('role' => $name),
|
||||||
array('title' => sprintf($this->translate('Edit role %s'), $name))
|
array('title' => sprintf($this->translate('Edit role %s'), $name))
|
||||||
) ?>
|
) ?>
|
||||||
</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',
|
||||||
array('role' => $name),
|
array('role' => $name),
|
||||||
array(
|
array(
|
||||||
'class' => 'action-link',
|
'class' => 'action-link',
|
||||||
'icon' => 'cancel',
|
'icon' => 'cancel',
|
||||||
'title' => sprintf($this->translate('Remove role %s'), $name)
|
'title' => sprintf($this->translate('Remove role %s'), $name)
|
||||||
)
|
)
|
||||||
) ?>
|
) ?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user