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: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
David Cook 2026-05-15 02:51:42 +00:00 committed by Lucas Gass
parent ea10c84e80
commit 0a44bf4e8e
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
1 changed files with 2 additions and 2 deletions

View File

@ -220,7 +220,7 @@
<input type="hidden" name="item_action" value="ignore" /> <input type="hidden" name="item_action" value="ignore" />
[% END %] [% END %]
</ol> </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> </fieldset>
</form> </form>
<div> <div>
@ -256,7 +256,7 @@
</fieldset> </fieldset>
[% END %] [% END %]
<fieldset class="action"> <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> </fieldset>
</form> </form>
<!-- /#import_batch_form --> <!-- /#import_batch_form -->