From 419fed5e6e072d47538cd9883c91c58eae9b47cd Mon Sep 17 00:00:00 2001 From: DjVinnii Date: Mon, 12 Apr 2021 14:23:06 +0200 Subject: [PATCH] Add language selector --- core/admin/assets/vendor.js | 2 ++ core/admin/mailu/ui/templates/base.html | 10 ++++++++++ core/admin/mailu/utils.py | 11 ++++++----- 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/core/admin/assets/vendor.js b/core/admin/assets/vendor.js index 1d9b0b69..fd43d918 100644 --- a/core/admin/assets/vendor.js +++ b/core/admin/assets/vendor.js @@ -15,6 +15,8 @@ import 'admin-lte/plugins/fontawesome-free/css/solid.css'; import 'admin-lte/build/scss/adminlte.scss'; import 'admin-lte/plugins/datatables-bs4/css/dataTables.bootstrap4.css'; import 'admin-lte/plugins/datatables-responsive/css/responsive.bootstrap4.css'; +import 'admin-lte/plugins/bootstrap/js/bootstrap.js'; +import 'admin-lte/build/js/AdminLTE.js'; import 'admin-lte/build/js/Layout.js'; import 'admin-lte/build/js/ControlSidebar.js'; import 'admin-lte/build/js/PushMenu.js'; diff --git a/core/admin/mailu/ui/templates/base.html b/core/admin/mailu/ui/templates/base.html index b97919f8..89695e50 100644 --- a/core/admin/mailu/ui/templates/base.html +++ b/core/admin/mailu/ui/templates/base.html @@ -16,6 +16,16 @@ +