= $this->extend('_layout') ?>
= $this->section('title') ?>
= lang('User.all_users') ?>
= $this->endSection() ?>
= $this->section('pageTitle') ?>
= lang('User.all_users') ?> (= count($users) ?>)
= $this->endSection() ?>
= $this->section('headerRight') ?>
= $this->endSection() ?>
= $this->section('content') ?>
= data_table(
[
[
'header' => lang('User.list.user'),
'cell' => function ($user) {
return '
' .
esc($user->username) .
'' .
$user->email .
'
';
},
],
[
'header' => lang('User.list.roles'),
'cell' => function ($user) {
return implode(',', $user->roles) .
'' . lang('User.edit_roles', [
'username' => esc($user->username),
]) . '';
},
],
[
'header' => lang('User.list.banned'),
'cell' => function ($user) {
return $user->isBanned()
? lang('Common.yes')
: lang('Common.no');
},
],
[
'header' => lang('Common.actions'),
'cell' => function ($user) {
return '' .
'';
},
],
],
$users,
) ?>
= $this->endSection() ?>