Skip to content

A free open source IT asset/license management system

Fixed checkin button on pending requests page

snipef2e24f29d076
diff --git a/resources/lang/en-US/general.php b/resources/lang/en-US/general.php
index 7d41a230e2..996766f550 100644
--- a/resources/lang/en-US/general.php
+++ b/resources/lang/en-US/general.php
@@ -333,7 +333,7 @@ return [
'requestable_models' => 'Requestable Models',
'requestable_items' => 'Requestable Items',
'requestable' => 'Requestable',
- 'requested' => 'requested',
+ 'requested' => 'Pending Requests',
'rtd' => 'Ready to Deploy',
'requested_date' => 'Requested Date',
'requested_assets' => 'Requested Items',
diff --git a/resources/views/partials/bootstrap-table.blade.php b/resources/views/partials/bootstrap-table.blade.php
index d03af01331..8359987a57 100644
--- a/resources/views/partials/bootstrap-table.blade.php
+++ b/resources/views/partials/bootstrap-table.blade.php
@@ -3000,7 +3000,7 @@
else if (permissions.checkin && row.requestable) {
actions += ' <a href="{{ config('app.url') }}/hardware/' + row.requestable.id +
'/checkin" class="btn btn-sm bg-purple" data-tooltip="true" title="{{ trans('general.checkin_tooltip') }}">' +
- '{{ trans('general.checkin') }}</a>';
+ '<x-icon type="checkin" class="fa-fw" /><span class="sr-only">{{ trans('general.checkin') }}</span></a>';
}
// Replenish button opens the shared adjust-quantity modal