mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-24 04:03:34 -08:00
Remove link from alert since there is already a restore button on the side
This commit is contained in:
parent
1650c9f878
commit
07ac4087a3
|
@ -141,11 +141,6 @@
|
|||
<div class="callout callout-warning">
|
||||
<i class="icon fas fa-exclamation-triangle"></i>
|
||||
{{ trans('admin/users/message.user_deleted_warning') }}
|
||||
@can('update', $user)
|
||||
<a href="{{ route('restore/user', $user->id) }}">
|
||||
{{ trans('admin/users/general.restore_user') }}
|
||||
</a>
|
||||
@endcan
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
@ -220,7 +215,10 @@
|
|||
</div>
|
||||
@else
|
||||
<div class="col-md-12" style="padding-top: 5px;">
|
||||
<a href="{{ route('restore/user', $user->id) }}" style="width: 100%;" class="btn btn-sm btn-warning hidden-print">{{ trans('button.restore') }}</a>
|
||||
<form method="POST" action="{{ route('restore/user', $user->id) }}">
|
||||
@csrf
|
||||
<button style="width: 100%;" class="btn btn-sm btn-warning hidden-print">{{ trans('button.restore') }}</button>
|
||||
</form>
|
||||
</div>
|
||||
@endif
|
||||
@endcan
|
||||
|
@ -1032,4 +1030,4 @@ $(function () {
|
|||
</script>
|
||||
|
||||
|
||||
@stop
|
||||
@stop
|
Loading…
Reference in a new issue