File tree 2 files changed +6
-6
lines changed
lang/en-US/admin/hardware
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 100
100
],
101
101
102
102
'requests ' => [
103
- 'error ' => 'Asset was not requested , please try again ' ,
104
- 'success ' => 'Asset requested successfully. ' ,
105
- 'canceled ' => 'Checkout request successfully canceled ' ,
103
+ 'error ' => 'Request was not successful , please try again. ' ,
104
+ 'success ' => 'Requested successfully submitted . ' ,
105
+ 'canceled ' => 'Request successfully canceled. ' ,
106
106
],
107
107
108
108
];
Original file line number Diff line number Diff line change @@ -547,11 +547,11 @@ function genericCheckinCheckoutFormatter(destination) {
547
547
// This is only used by the requestable assets section
548
548
function assetRequestActionsFormatter (row , value ) {
549
549
if (value .assigned_to_self == true ){
550
- return ' <button class="btn btn-danger btn-sm disabled" data-tooltip="true" title="Cancel this item request">{{ trans (' button.cancel' ) } } </button>' ;
550
+ return ' <button class="btn btn-danger btn-sm btn-block disabled" data-tooltip="true" title="Cancel this item request">{{ trans (' button.cancel' ) } } </button>' ;
551
551
} else if (value .available_actions .cancel == true ) {
552
- return ' <form action="{{ config (' app.url' ) } } /account/request-asset/' + value .id + ' /cancel" method="POST">@csrf <button class="btn btn-danger btn-sm" data-tooltip="true" title="Cancel this item request">{{ trans (' button.cancel' ) } } </button></form>' ;
552
+ return ' <form action="{{ config (' app.url' ) } } /account/request-asset/' + value .id + ' /cancel" method="POST">@csrf <button class="btn btn-danger btn-block btn- sm" data-tooltip="true" title="Cancel this item request">{{ trans (' button.cancel' ) } } </button></form>' ;
553
553
} else if (value .available_actions .request == true ) {
554
- return ' <form action="{{ config (' app.url' ) } } /account/request-asset/' + value .id + ' " method="POST">@csrf <button class="btn btn-primary btn-sm" data-tooltip="true" title="{{ trans (' general.request_item' ) } } ">{{ trans (' button.request' ) } } </button></form>' ;
554
+ return ' <form action="{{ config (' app.url' ) } } /account/request-asset/' + value .id + ' " method="POST">@csrf <button class="btn btn-block btn- primary btn-sm" data-tooltip="true" title="{{ trans (' general.request_item' ) } } ">{{ trans (' button.request' ) } } </button></form>' ;
555
555
}
556
556
557
557
}
You can’t perform that action at this time.
0 commit comments