Skip to content

Commit

Permalink
Added extrab option in bulk edit
Browse files Browse the repository at this point in the history
Signed-off-by: snipe <[email protected]>
  • Loading branch information
snipe committed Jan 17, 2025
1 parent e9ad43a commit 02eeb7f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions resources/lang/en-US/general.php
Original file line number Diff line number Diff line change
Expand Up @@ -573,5 +573,8 @@
'import_asset_tag_exists' => 'An asset with the asset tag :asset_tag already exists and an update was not requested. No change was made.',
'countries_manually_entered_help' => 'Values with an asterisk (*) were manually entered and do not match existing ISO 3166 dropdown values',
'accessories_assigned' => 'Assigned Accessories',
'user_managed_passwords' => 'Password Management',
'user_managed_passwords_disallow' => 'Disallow users from managing their own passwords',
'user_managed_passwords_allow' => 'Allow users to manage their own passwords',

];
8 changes: 6 additions & 2 deletions resources/views/users/bulk-edit.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
<!-- ldap_sync -->
<div class="form-group">
<div class="col-sm-3 control-label">
{{ trans('general.ldap_sync') }}
{{ trans('general.user_managed_passwords') }}
</div>
<div class="col-sm-9">
<label for="no_change" class="form-control">
Expand All @@ -153,7 +153,11 @@
</label>
<label for="ldap_import" class="form-control">
{{ Form::radio('ldap_import', '0', old('ldap_import'), ['id' => 'ldap_import', 'aria-label'=>'ldap_import']) }}
{{ trans('general.ldap_import') }}
{{ trans('general.user_managed_passwords_allow') }}
</label>
<label for="ldap_import" class="form-control">
{{ Form::radio('ldap_import', '1', old('ldap_import'), ['id' => 'ldap_import', 'aria-label'=>'ldap_import']) }}
{{ trans('general.user_managed_passwords_disallow') }}
</label>
</div>
</div> <!--/form-group-->
Expand Down

0 comments on commit 02eeb7f

Please sign in to comment.