mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 06:17:28 -08:00
Fixed the tables not displaying the correct language
This commit is contained in:
parent
04d649122b
commit
c3ab4c7512
|
@ -6,10 +6,11 @@
|
|||
@push('js')
|
||||
|
||||
<script src="{{ url(mix('js/dist/bootstrap-table.js')) }}"></script>
|
||||
<script src="{{ url('js/bootstrap-table-locale-all.js') }}"></script>
|
||||
|
||||
<script nonce="{{ csrf_token() }}">
|
||||
|
||||
$(function () {
|
||||
|
||||
var locale = '{{ config('app.locale') }}';
|
||||
|
||||
var stickyHeaderOffsetY = 0;
|
||||
|
||||
|
@ -39,6 +40,7 @@
|
|||
}
|
||||
},
|
||||
stickyHeader: true,
|
||||
locale: locale,
|
||||
stickyHeaderOffsetY: stickyHeaderOffsetY + 'px',
|
||||
undefinedText: '',
|
||||
iconsPrefix: 'fa',
|
||||
|
@ -90,9 +92,6 @@
|
|||
});
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
function dateRowCheckStyle(value) {
|
||||
if ((value.days_to_next_audit) && (value.days_to_next_audit < {{ $snipeSettings->audit_warning_days ?: 0 }})) {
|
||||
return { classes : "danger" }
|
||||
|
|
Loading…
Reference in a new issue