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 <barbara.johnson@bedfordtx.gov>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Owen Leonard 2022-02-01 11:55:23 +00:00 committed by Fridolin Somers
parent 1bfcb99555
commit 5433de09c8

View file

@ -30,7 +30,7 @@
</li>
<li>
<a href="#" aria-current="page">
Upload results
MARC staging results
</a>
</li>
[% ELSE %]
@ -55,9 +55,8 @@
</div>
[% END %]
<h1>Stage MARC records for import</h1>
[% IF ( uploadmarc ) %]
<p>MARC staging results :</p>
<h1>MARC staging results</h1>
<ul>
[% SWITCH (record_type) %]
[% CASE 'biblio' %]
@ -91,6 +90,7 @@
</p>
[% END %]
[% ELSE %]
<h1>Stage MARC records for import</h1>
<ul>
<li>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.</li>
<li>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!</li>