Bug 42612: Change button colours in manage-marc-import.pl

This patches changes the button colours in manage-marc-import.pl
so that "Import this batch into the catalog" is more prominent,
and "Apply different matching rules" is less prominent.

Test plan:
0. Apply the patch
1. Go to a bib record like
http://localhost:8081/cgi-bin/koha/catalogue/detail.pl?biblionumber=29
2. Click "Save" and choose "MARCXML"
3. Go to http://localhost:8081/cgi-bin/koha/tools/stage-marc-import.pl
4. Click "Upload file"
5. Choose "MARCXML" for the "Format:"
6. Change "Check for embedded item record data" to "No"
7. Click "Stage for import"
8. Wait for the staging to complete. This will be show when the status
bar hits "100% Finished" and a "View batch" link appears.
9. Click "View batch"
10. Note that "Import this batch into the catalog" is a prominent yellow
button with black text
11. Note that "Apply different matching rules" is a less prominent dark grey
button with white text

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Brendan Lawlor <blawlor@clamsnet.org>
Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
This commit is contained in:
David Cook 2026-05-15 02:51:42 +00:00 committed by Pedro Amorim
parent 237ecdc4bc
commit 4648f79f8d
No known key found for this signature in database
GPG Key ID: 06B75BA7F3894D55
1 changed files with 2 additions and 2 deletions

View File

@ -220,7 +220,7 @@
<input type="hidden" name="item_action" value="ignore" />
[% END %]
</ol>
<fieldset class="action"><input type="submit" class="btn btn-primary" value="Apply different matching rules" /></fieldset>
<fieldset class="action"><input type="submit" class="btn btn-secondary" value="Apply different matching rules" /></fieldset>
</fieldset>
</form>
<div>
@ -256,7 +256,7 @@
</fieldset>
[% END %]
<fieldset class="action">
<input type="submit" class="button" name="mainformsubmit" value="Import this batch into the catalog" />
<input type="submit" class="btn btn-primary" name="mainformsubmit" value="Import this batch into the catalog" />
</fieldset>
</form>
<!-- /#import_batch_form -->