Fix cancel button style and translate title

This commit is contained in:
Ivan Nieto Vivanco 2023-06-28 10:38:44 -06:00
parent 8496e64e16
commit 85e717bc4e
2 changed files with 4 additions and 2 deletions

View file

@ -436,6 +436,7 @@ return [
'errors_importing' => 'Some Errors occurred while importing: ',
'warning' => 'WARNING: :warning',
'success_redirecting' => '"Success... Redirecting.',
'cancel_request' => 'Cancel this item request',
'setup_successful_migrations' => 'Your database tables have been created',
'setup_migration_output' => 'Migration output:',
'setup_migration_create_user' => 'Next: Create User',

View file

@ -24,7 +24,7 @@
'id' => 'bulkForm']) }}
<div class="row">
<div class="col-md-12">
{{ Form::close() }}
@if ($requestedItems->count() > 0)
<div class="table-responsive">
<table
@ -108,7 +108,7 @@
'method' => 'POST',
'route' => ['account/request-item', $request->itemType(), $request->requestable->id, true, $request->requestingUser()->id],
]) }}
<button class="btn btn-danger btn-sm" data-tooltip="true" title="Cancel this item request">{{ trans('button.cancel') }}</button>
<button class="btn btn-warning btn-sm" data-tooltip="true" title="{{ trans('general.cancel_request') }}">{{ trans('button.cancel') }}</button>
{{ Form::close() }}
</td>
<td>
@ -143,6 +143,7 @@
</div>
</div>
</div>
{{ Form::close() }}
</div> <!-- .col-md-12> -->
</div> <!-- .row -->
@stop