mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
parent
1728d5a949
commit
2e6fed8862
@ -28,6 +28,13 @@ if (! $this->compact): ?>
|
|||||||
$extensible = $this->hasPermission('config/authentication/users/add') && $backend instanceof Extensible;
|
$extensible = $this->hasPermission('config/authentication/users/add') && $backend instanceof Extensible;
|
||||||
$reducible = $this->hasPermission('config/authentication/users/remove') && $backend instanceof Reducible;
|
$reducible = $this->hasPermission('config/authentication/users/remove') && $backend instanceof Reducible;
|
||||||
?>
|
?>
|
||||||
|
<?php if ($extensible): ?>
|
||||||
|
<?= $this->qlink($this->translate('Add a new user'), 'user/add', array('backend' => $backend->getName()), array(
|
||||||
|
'icon' => 'plus',
|
||||||
|
'data-base-target' => '_next',
|
||||||
|
'class' => 'user-add'
|
||||||
|
)) ?>
|
||||||
|
<?php endif ?>
|
||||||
<table data-base-target="_next" class="action user-list alternating">
|
<table data-base-target="_next" class="action user-list alternating">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@ -69,11 +76,4 @@ $reducible = $this->hasPermission('config/authentication/users/remove') && $back
|
|||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<?php if ($extensible): ?>
|
|
||||||
<?= $this->qlink($this->translate('Add a new user'), 'user/add', array('backend' => $backend->getName()), array(
|
|
||||||
'icon' => 'plus',
|
|
||||||
'data-base-target' => '_next',
|
|
||||||
'class' => 'user-add'
|
|
||||||
)) ?>
|
|
||||||
<?php endif ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user