From 5433de09c8b5b51a96d1b364c31a16d66f062b76 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
Signed-off-by: Fridolin Somers
---
.../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 39ef0fa4f1..7771ee8fda 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!