mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-02 08:21:09 -08:00
Translate no records found message
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
bcb747f886
commit
6a6272ace3
|
@ -6,5 +6,6 @@ return array(
|
||||||
'action' => 'Action',
|
'action' => 'Action',
|
||||||
'by' => 'By',
|
'by' => 'By',
|
||||||
'item' => 'Item',
|
'item' => 'Item',
|
||||||
|
'no_matching_records' => 'No matching records found',
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
|
@ -92,6 +92,9 @@
|
||||||
exportTypes: ['xlsx', 'excel', 'csv', 'pdf','json', 'xml', 'txt', 'sql', 'doc' ],
|
exportTypes: ['xlsx', 'excel', 'csv', 'pdf','json', 'xml', 'txt', 'sql', 'doc' ],
|
||||||
onLoadSuccess: function () {
|
onLoadSuccess: function () {
|
||||||
$('[data-tooltip="true"]').tooltip(); // Needed to attach tooltips after ajax call
|
$('[data-tooltip="true"]').tooltip(); // Needed to attach tooltips after ajax call
|
||||||
|
},
|
||||||
|
formatNoMatches: function () {
|
||||||
|
return '{{ trans('table.no_matching_records') }}';
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue