From f9f8b55836abea65d549f674088831d9ffef4193 Mon Sep 17 00:00:00 2001 From: Agustin Moyano Date: Mon, 6 Mar 2023 16:44:44 -0300 Subject: [PATCH] Bug 33169: Build breadcrumbs and left-hand side menu from routes definition --- .../prog/js/vue/components/Breadcrumbs.vue | 49 ++ .../prog/js/vue/components/ERM/Main.vue | 121 +--- .../prog/js/vue/components/LeftMenu.vue | 67 ++ .../prog/js/vue/components/NavigationItem.vue | 65 ++ .../intranet-tmpl/prog/js/vue/i18n/index.js | 9 + .../intranet-tmpl/prog/js/vue/modules/erm.ts | 31 +- .../intranet-tmpl/prog/js/vue/routes/erm.js | 613 +++++------------- .../prog/js/vue/stores/navigation.js | 211 ++++++ 8 files changed, 619 insertions(+), 547 deletions(-) create mode 100644 koha-tmpl/intranet-tmpl/prog/js/vue/components/Breadcrumbs.vue create mode 100644 koha-tmpl/intranet-tmpl/prog/js/vue/components/LeftMenu.vue create mode 100644 koha-tmpl/intranet-tmpl/prog/js/vue/components/NavigationItem.vue create mode 100644 koha-tmpl/intranet-tmpl/prog/js/vue/i18n/index.js create mode 100644 koha-tmpl/intranet-tmpl/prog/js/vue/stores/navigation.js diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Breadcrumbs.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Breadcrumbs.vue new file mode 100644 index 0000000000..e4377221a9 --- /dev/null +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Breadcrumbs.vue @@ -0,0 +1,49 @@ + + + + + diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/Main.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/Main.vue index d658a833e1..e2e7d55788 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/Main.vue +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/Main.vue @@ -1,6 +1,6 @@