mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 05:04:07 -08:00
Removed gate for delete
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
2218c94aa3
commit
edca3f432c
|
@ -7,26 +7,24 @@
|
|||
'id' => 'usersBulkForm']) }}
|
||||
|
||||
@if (request('status')!='deleted')
|
||||
@can('delete', \App\Models\User::class)
|
||||
<div id="users-toolbar">
|
||||
<label for="bulk_actions" class="sr-only">{{ trans('general.bulk_actions') }}</label>
|
||||
<select name="bulk_actions" class="form-control select2" style="min-width:300px;" aria-label="bulk_actions">
|
||||
<div id="users-toolbar">
|
||||
<label for="bulk_actions" class="sr-only">{{ trans('general.bulk_actions') }}</label>
|
||||
<select name="bulk_actions" class="form-control select2" style="min-width:300px;" aria-label="bulk_actions">
|
||||
|
||||
@can('update', \App\Models\User::class)
|
||||
<option value="edit">{{ trans('general.bulk_edit') }}</option>
|
||||
<option value="merge">{!! trans('general.merge_users') !!}</option>
|
||||
@endcan
|
||||
@can('update', \App\Models\User::class)
|
||||
<option value="edit">{{ trans('general.bulk_edit') }}</option>
|
||||
<option value="merge">{!! trans('general.merge_users') !!}</option>
|
||||
@endcan
|
||||
|
||||
@can('delete', \App\Models\User::class)
|
||||
<option value="delete">{!! trans('general.bulk_checkin_delete') !!}</option>
|
||||
@endcan
|
||||
@can('delete', \App\Models\User::class)
|
||||
<option value="delete">{!! trans('general.bulk_checkin_delete') !!}</option>
|
||||
@endcan
|
||||
|
||||
<option value="bulkpasswordreset">{{ trans('button.send_password_link') }}</option>
|
||||
<option value="print">{{ trans('admin/users/general.print_assigned') }}</option>
|
||||
</select>
|
||||
<button class="btn btn-primary" id="bulkUserEditButton" disabled>{{ trans('button.go') }}</button>
|
||||
</div>
|
||||
@endcan
|
||||
<option value="bulkpasswordreset">{{ trans('button.send_password_link') }}</option>
|
||||
<option value="print">{{ trans('admin/users/general.print_assigned') }}</option>
|
||||
</select>
|
||||
<button class="btn btn-primary" id="bulkUserEditButton" disabled>{{ trans('button.go') }}</button>
|
||||
</div>
|
||||
@endif
|
||||
{{ Form::close() }}
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue