From 81b062ffcb8c56ef01a6a39901b3299126851e35 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 15 Sep 2023 13:39:15 +0000 Subject: [PATCH] Bug 34773: (follow-up) Missed templates This patch fixes three templates I missed the first time around: Inventory, MARC diff view, and Upload local cover images. - Cataloging -> Inventory and the results page after submitting a batch of barcodes. - Cataloging -> Manage staged records -> Select a batch which includes record matches: Click the "View" link in the "Diff" column for a record which has a match. - Cataloging -> Upload local cover image (with LocalCoverImages enabled) Signed-off-by: David Nind Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- .../prog/en/modules/tools/inventory.tt | 10 +++++++++- .../prog/en/modules/tools/showdiffmarc.tt | 15 +++++++++++---- .../prog/en/modules/tools/upload-images.tt | 14 +++++++------- 3 files changed, 27 insertions(+), 12 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt index c7bdb0bf15..ba5a993be8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt @@ -3,9 +3,17 @@ [% USE AuthorisedValues %] [% USE KohaDates %] [% USE Branches %] +[% PROCESS 'i18n.inc' %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] -Inventory › Cataloging › Koha +[% FILTER collapse %] + [% IF (loop) %] + [% t("Results") | html %] › + [% END %] + [% t("Inventory") | html %] › + [% t("Cataloging") | html %] › + [% t("Koha") | html %] +[% END %] [% INCLUDE 'doc-head-close.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/showdiffmarc.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/showdiffmarc.tt index 00acb8b599..864534e088 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/showdiffmarc.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/showdiffmarc.tt @@ -1,8 +1,15 @@ [% USE raw %] [% USE Asset %] +[% PROCESS 'i18n.inc' %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] -Compare matched records › Manage staged MARC records › Cataloging › Koha +[% FILTER collapse %] + [% t("Compare matched records") | html %] › + [% tx("Batch {batch_id}", { batch_id = batchid }) | html %] › + [% t("Manage staged MARC records") | html %] › + [% t("Cataloging") | html %] › + [% t("Koha") | html %] +[% END %] [% INCLUDE 'doc-head-close.inc' %]