A free open source IT asset/license management system
Fixed the tables not displaying the correct language
Wächtler, Yannickc3ab4c751228
diff --git a/resources/views/partials/bootstrap-table.blade.php b/resources/views/partials/bootstrap-table.blade.phpindex 70a1e9bb21..b990a62ef3 100644--- a/resources/views/partials/bootstrap-table.blade.php+++ b/resources/views/partials/bootstrap-table.blade.php@@ -6,10 +6,11 @@@push('js')<script src="{{ url(mix('js/dist/bootstrap-table.js')) }}"></script>-<script nonce="{{ csrf_token() }}">+<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" }