From b2fdd8f745f77a52d00ffffdfea8dd60dc33f462 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 19 Aug 2022 12:18:46 +0100 Subject: [PATCH] Bug 31417: Update and reference cat-menu.inc This patch reinstates the cat-menu.inc include and references it from the various 'tools' that are closely tied to cataloging. We use the new cataloging home page submission as a reference for which options should appear in the menu. Signed-off-by: David Nind Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- .../prog/en/includes/cat-menu.inc | 131 +++++++++++++++++- .../prog/en/includes/tools-menu.inc | 60 +------- .../prog/en/modules/labels/barcode-print.tt | 3 +- .../en/modules/labels/label-edit-batch.tt | 6 +- .../en/modules/labels/label-edit-layout.tt | 4 +- .../en/modules/labels/label-edit-profile.tt | 4 +- .../en/modules/labels/label-edit-range.tt | 4 +- .../en/modules/labels/label-edit-template.tt | 4 +- .../prog/en/modules/labels/label-home.tt | 6 +- .../prog/en/modules/labels/label-manage.tt | 4 +- .../prog/en/modules/labels/spinelabel-home.tt | 3 +- .../automatic_item_modification_by_age.tt | 3 +- .../prog/en/modules/tools/batchMod.tt | 6 +- .../en/modules/tools/batch_delete_records.tt | 3 +- .../tools/batch_record_modification.tt | 3 +- .../prog/en/modules/tools/export.tt | 3 +- .../prog/en/modules/tools/inventory.tt | 3 +- .../en/modules/tools/manage-marc-import.tt | 3 +- .../tools/marc_modification_templates.tt | 3 +- .../en/modules/tools/stage-marc-import.tt | 3 +- .../prog/en/modules/tools/stockrotation.tt | 3 +- .../prog/en/modules/tools/upload-images.tt | 3 +- 22 files changed, 162 insertions(+), 103 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-menu.inc index 817552ecd8..2bd37f8fc9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-menu.inc @@ -1,3 +1,128 @@ - +[% USE Koha %] + diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc index 93328b2d06..b106cffbea 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc @@ -1,11 +1,13 @@ [% USE Koha %] +[% USE Branches %] +[% USE Registers %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/barcode-print.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/barcode-print.tt index 70e2af5880..ad7b953335 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/barcode-print.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/barcode-print.tt @@ -129,13 +129,12 @@
[% MACRO jsinclude BLOCK %] - [% Asset.js("js/tools-menu.js") | $raw %] [% Asset.js("lib/jquery/plugins/humanmsg.js") | $raw %]