mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
permission level proof of formatting
This commit is contained in:
parent
9770016eec
commit
2a54797dce
|
@ -566,12 +566,14 @@ class UsersController extends Controller
|
|||
trans('general.accessories'),
|
||||
trans('general.consumables'),
|
||||
trans('general.groups'),
|
||||
trans('general.permission_level'),
|
||||
trans('general.notes'),
|
||||
trans('admin/users/table.activated'),
|
||||
trans('general.created_at'),
|
||||
];
|
||||
|
||||
//add if else for admin permissions. the admin permissions will allow a user to see permissions a user has in the export
|
||||
//
|
||||
|
||||
fputcsv($handle, $headers);
|
||||
|
||||
|
@ -599,6 +601,7 @@ class UsersController extends Controller
|
|||
$user->accessories->count(),
|
||||
$user->consumables->count(),
|
||||
$user_groups,
|
||||
$user->permissions,
|
||||
$user->notes,
|
||||
($user->activated == '1') ? trans('general.yes') : trans('general.no'),
|
||||
$user->created_at,
|
||||
|
|
|
@ -142,6 +142,7 @@ return [
|
|||
'generate_labels' => 'Generate Labels',
|
||||
'github_markdown' => 'This field accepts <a href="https://help.github.com/articles/github-flavored-markdown/">Github flavored markdown</a>.',
|
||||
'groups' => 'Groups',
|
||||
'permission_level' => 'Permission Level',
|
||||
'gravatar_email' => 'Gravatar Email Address',
|
||||
'gravatar_url' => '<a href="http://gravatar.com"><small>Change your avatar at Gravatar.com</small></a>.',
|
||||
'history' => 'History',
|
||||
|
|
Loading…
Reference in a new issue