From 91457c429a610aa8d513ccc252c03ac354a8c6a1 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 22 Jul 2024 14:26:27 +0000 Subject: [PATCH] Bug 37250: (follow-up) More improvements to menus - Add highlighting to new sidebar menu - Make labels more consistent in menus, breadcrumbs, and titles - Add 'Print barcode range' link to the labels home page and sidebar menu. --- .../prog/en/includes/labels-menu.inc | 29 ++++--------------- .../prog/en/includes/labels-toolbar.inc | 3 +- .../en/modules/labels/label-edit-batch.tt | 5 ++-- .../en/modules/labels/label-edit-layout.tt | 5 ++-- .../en/modules/labels/label-edit-profile.tt | 5 ++-- .../en/modules/labels/label-edit-template.tt | 5 ++-- .../prog/en/modules/labels/label-home.tt | 1 + .../intranet-tmpl/prog/js/labels-menu.js | 14 +++++++++ 8 files changed, 33 insertions(+), 34 deletions(-) create mode 100644 koha-tmpl/intranet-tmpl/prog/js/labels-menu.js diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/labels-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/labels-menu.inc index c9a873a770..5992b6a2e6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/labels-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/labels-menu.inc @@ -1,28 +1,9 @@ diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/labels-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/labels-toolbar.inc index 2e504b2761..58f9057dfd 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/labels-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/labels-toolbar.inc @@ -3,10 +3,9 @@ diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt index 156374e4f0..895993ed87 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt @@ -10,7 +10,7 @@ [% ELSE %] [% t("New label batch") | html %] [% END %] › - [% t("Batches") | html %] › + [% t("Label batches") | html %] › [% t("Label creator") | html %] › [% t("Cataloging") | html %] › [% t("Koha") | html %] @@ -32,7 +32,7 @@ Label creator [% END %] [% WRAPPER breadcrumb_item %] - Batches + Label batches [% END %] [% WRAPPER breadcrumb_item bc_active= 1 %] [% IF description %] @@ -216,6 +216,7 @@ [% INCLUDE 'greybox.inc' %] [% INCLUDE 'datatables.inc' %] [% Asset.js("js/form-submit.js") | $raw %] + [% Asset.js("js/labels-menu.js") | $raw %]