From d38196fdcb63211b6f5316c1f3af4a7d8182730e Mon Sep 17 00:00:00 2001 From: Mathieu De Keyzer Date: Tue, 30 Jan 2024 13:58:36 +0100 Subject: [PATCH] refactor: sidebar control (#736) --- .../Resources/translations/elements.en.xlf | 8 ++++++ .../views/bootstrap5/base/admin.html.twig | 1 + .../elements/control-sidebar.html.twig | 27 +++++++++++++++++++ .../bootstrap5/elements/footer.html.twig | 2 +- 4 files changed, 37 insertions(+), 1 deletion(-) diff --git a/EMS/admin-ui-bundle/src/Resources/translations/elements.en.xlf b/EMS/admin-ui-bundle/src/Resources/translations/elements.en.xlf index 2310fe593..aaf7d774d 100644 --- a/EMS/admin-ui-bundle/src/Resources/translations/elements.en.xlf +++ b/EMS/admin-ui-bundle/src/Resources/translations/elements.en.xlf @@ -73,6 +73,14 @@ elements.user-image.anonymous Anonymous user + + sidebar.tab.home.label + Recent Activities + + + sidebar.tab.jobs.label + Last commands + diff --git a/EMS/admin-ui-bundle/src/Resources/views/bootstrap5/base/admin.html.twig b/EMS/admin-ui-bundle/src/Resources/views/bootstrap5/base/admin.html.twig index 7ae706e59..ff7b70232 100644 --- a/EMS/admin-ui-bundle/src/Resources/views/bootstrap5/base/admin.html.twig +++ b/EMS/admin-ui-bundle/src/Resources/views/bootstrap5/base/admin.html.twig @@ -57,6 +57,7 @@ {{ include('@EMSAdminUI/bootstrap5/elements/footer.html.twig') }} + {{ include('@EMSAdminUI/bootstrap5/elements/control-sidebar.html.twig') }} {% endapply %} diff --git a/EMS/admin-ui-bundle/src/Resources/views/bootstrap5/elements/control-sidebar.html.twig b/EMS/admin-ui-bundle/src/Resources/views/bootstrap5/elements/control-sidebar.html.twig index a8eadc3ea..5c45f4daf 100644 --- a/EMS/admin-ui-bundle/src/Resources/views/bootstrap5/elements/control-sidebar.html.twig +++ b/EMS/admin-ui-bundle/src/Resources/views/bootstrap5/elements/control-sidebar.html.twig @@ -1,4 +1,31 @@ {%- trans_default_domain 'elements' -%} diff --git a/EMS/admin-ui-bundle/src/Resources/views/bootstrap5/elements/footer.html.twig b/EMS/admin-ui-bundle/src/Resources/views/bootstrap5/elements/footer.html.twig index 1fa250c04..2fdc23f6b 100644 --- a/EMS/admin-ui-bundle/src/Resources/views/bootstrap5/elements/footer.html.twig +++ b/EMS/admin-ui-bundle/src/Resources/views/bootstrap5/elements/footer.html.twig @@ -1,6 +1,6 @@ {%- trans_default_domain 'emsco-core' -%} -