parent
7388db3241
commit
d78f69368c
|
@ -26,7 +26,10 @@ if (! isset($backend)) {
|
||||||
$reducible = $this->hasPermission('config/authentication/users/remove') && $backend instanceof Reducible;
|
$reducible = $this->hasPermission('config/authentication/users/remove') && $backend instanceof Reducible;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (count($users) > 0): ?>
|
$firstRow = true;
|
||||||
|
foreach ($users as $user): ?>
|
||||||
|
<?php if ($firstRow): ?>
|
||||||
|
<?php $firstRow = false; ?>
|
||||||
<table data-base-target="_next" class="action user-list alternating">
|
<table data-base-target="_next" class="action user-list alternating">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -37,7 +40,7 @@ if (count($users) > 0): ?>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php foreach ($users as $user): ?>
|
<?php endif ?>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="user-name"><?= $this->qlink($user->user_name, 'user/show', array(
|
<td class="user-name"><?= $this->qlink($user->user_name, 'user/show', array(
|
||||||
'backend' => $backend->getName(),
|
'backend' => $backend->getName(),
|
||||||
|
@ -62,7 +65,8 @@ if (count($users) > 0): ?>
|
||||||
</td>
|
</td>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
</tr>
|
</tr>
|
||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
|
<?php if ($users->hasResult()): ?>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
|
|
Loading…
Reference in New Issue