From 6d6566339f1bdda2b7756756f2dc7231fee6e78c Mon Sep 17 00:00:00 2001
From: Owen Leonard
Date: Tue, 1 Feb 2022 11:55:23 +0000
Subject: [PATCH] Bug 29989: Improve headings in MARC staging template
This patch updates the MARC staging page so that the headings are
descriptive based on the context.
To test, apply the patch and go to Tools -> Stage MARC for import.
- The heading should be "Stage MARC records for import."
- Upload a MARC file and stage the file for import.
- The heading on the next page should read "MARC staging results."
Signed-off-by: Barbara Johnson
Signed-off-by: Jonathan Druart
---
.../prog/en/modules/tools/stage-marc-import.tt | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt
index 39ef0fa4f14..7771ee8fdad 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt
@@ -30,7 +30,7 @@
- Upload results
+ MARC staging results
[% ELSE %]
@@ -55,9 +55,8 @@
[% END %]
-Stage MARC records for import
[% IF ( uploadmarc ) %]
-MARC staging results :
+MARC staging results
[% SWITCH (record_type) %]
[% CASE 'biblio' %]
@@ -91,6 +90,7 @@
[% END %]
[% ELSE %]
+Stage MARC records for import
- Select a MARC file to stage in the import reservoir. It will be parsed, and each valid record staged for later import into the catalog.
- You can enter a name for this import. It may be useful, when creating a record, to remember where the suggested MARC data comes from!
--
2.25.1