From 6e2a2b964a563019215771e5291bc89600c5a5c8 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Thu, 13 Oct 2022 20:23:59 +0000 Subject: [PATCH] Bug 31773: Add page-section class to Manage staged MARC records page To test: 1. Apply patch 2. Have some MARC records and stage them for import. It will be nessesary to add more than 1 3. Go to the Manage staged MARC records page and make sure the table looks right with the page-section added. Note: I am also adding the Bootstrap table class to this table becuase I think it makes the table look much nicer. Signed-off-by: David Nind --- .../en/modules/tools/manage-marc-import.tt | 123 +++++++++--------- 1 file changed, 62 insertions(+), 61 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt index 95826d41f9..f3f9d75520 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt @@ -308,69 +308,70 @@ [% IF ( pages ) %] [% PROCESS pagination %] [% END %] - - - - - - - - - - - - - - - [% FOREACH batch_lis IN batch_list %] +
+
#File nameProfileCommentsTypeStatusStaged# Records# ItemsAction
- - - - - - - - - - + + + + + + + + + + - [% END # /FOREACH batch_lis %] -
[% batch_lis.import_batch_id | html %][% batch_lis.file_name | html %][% batch_lis.profile | html %][% batch_lis.comments | html %][% IF ( batch_lis.record_type == 'auth' ) %]Authority[% ELSE %]Bibliographic[% END %] - [% IF ( batch_lis.import_status == 'cleaned' ) %] - Cleaned - [% ELSIF ( batch_lis.import_status == 'imported' ) %] - Imported - [% ELSIF ( batch_lis.import_status == 'importing' ) %] - Importing - [% ELSIF ( batch_lis.import_status == 'reverted' ) %] - Reverted - [% ELSIF ( batch_lis.import_status == 'reverting' ) %] - Reverting - [% ELSIF ( batch_lis.import_status == 'staged' ) %] - Staged - [% ELSE %] - [% batch_lis.import_status | html %] - [% END %] - [% batch_lis.upload_timestamp | $KohaDates with_hours=1 %][% batch_lis.num_records | html %][% batch_lis.num_items | html %] - [% IF ( batch_lis.num_items && batch_lis.import_status == 'imported' ) %] - (Create label batch) - [% END %] - - [% IF ( batch_lis.can_clean ) %] -
- - - -
- [% ELSIF ( batch_lis.import_status == 'cleaned' ) %] -
- - - -
- [% END %] -
#File nameProfileCommentsTypeStatusStaged# Records# ItemsAction
+ [% FOREACH batch_lis IN batch_list %] + + [% batch_lis.import_batch_id | html %] + [% batch_lis.file_name | html %] + [% batch_lis.profile | html %] + [% batch_lis.comments | html %] + [% IF ( batch_lis.record_type == 'auth' ) %]Authority[% ELSE %]Bibliographic[% END %] + + [% IF ( batch_lis.import_status == 'cleaned' ) %] + Cleaned + [% ELSIF ( batch_lis.import_status == 'imported' ) %] + Imported + [% ELSIF ( batch_lis.import_status == 'importing' ) %] + Importing + [% ELSIF ( batch_lis.import_status == 'reverted' ) %] + Reverted + [% ELSIF ( batch_lis.import_status == 'reverting' ) %] + Reverting + [% ELSIF ( batch_lis.import_status == 'staged' ) %] + Staged + [% ELSE %] + [% batch_lis.import_status | html %] + [% END %] + + [% batch_lis.upload_timestamp | $KohaDates with_hours=1 %] + [% batch_lis.num_records | html %] + [% batch_lis.num_items | html %] + [% IF ( batch_lis.num_items && batch_lis.import_status == 'imported' ) %] + (Create label batch) + [% END %] + + + [% IF ( batch_lis.can_clean ) %] +
+ + + +
+ [% ELSIF ( batch_lis.import_status == 'cleaned' ) %] +
+ + + +
+ [% END %] + + + [% END # /FOREACH batch_lis %] + + [% IF ( pages ) %] [% PROCESS pagination %] -- 2.30.2