X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=koha-tmpl%2Fintranet-tmpl%2Fprog%2Fen%2Fmodules%2Ftools%2Fmanage-marc-import.tt;h=e1119d13f19a6815b18e26b2d67b9cdbf18052b6;hb=1fcdef312be42c673d4ae017e3abe7722aba6048;hp=2a9deda8ccb33d01f11f1aceac67c40973b0c568;hpb=5432bd488f2cd842f4fece93c42423a3fc26143b;p=koha.git 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 2a9deda8cc..e1119d13f1 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 @@ -1,14 +1,46 @@ +[% BLOCK final_match_link %] + [% IF ( record.record_type == 'biblio' ) %] + [% record.final_match_id %] + [% ELSIF ( record.record_type == 'auth' ) %] + [% record.final_match_id %] + [% END %] +[% END %] +[% BLOCK match_link %] + [% IF ( record_lis.match_id ) %] + + + [% IF ( record.record_type == 'biblio' ) %] + Matches biblio [% record_lis.match_id %] (score = [% record_lis.match_score %]): [% record_lis.match_citation %] + [% ELSIF ( record.record_type == 'auth' ) %] + Matches authority [% record_lis.match_id %] (score = [% record_lis.match_score %]): [% record_lis.match_citation %] | + Merge + + [% END %] + + [% ELSIF ( record.record_type == 'auth') %] + + + Search for a record to merge in a new window + + [% END %] +[% END %] + [% INCLUDE 'doc-head-open.inc' %] Koha › Tools › Manage staged MARC records [% IF ( import_batch_id ) %] › Batch [% import_batch_id %] [% END %] -[% INCLUDE 'greybox.inc' %] [% INCLUDE 'doc-head-close.inc' %] - - + +[% INCLUDE 'datatables.inc' %] + + #jobprogress{ width:200px;height:10px;border:1px solid #666;background:url('[% interface %]/[% theme %]/img/progress.png') -300px 0px no-repeat; } span.change-status { font-style:italic; color:#666; display:none; }#marcPreview { width : 80%; margin-left : -40%; } @media (max-width: 767px) { #marcPreview { margin: 0; width : auto; } } + [% INCLUDE 'header.inc' %] @@ -57,7 +186,7 @@ $(document).ready(function(){ [% IF ( alert ) %]
[% ELSE %] -
+
[% END %]

[% label_batch_msg %]

@@ -67,6 +196,10 @@ $(document).ready(function(){
Cleaned import batch #[% import_batch_id %]
[% END %] +[% IF ( did_delete ) %] +
Import batch deleted successfully
+[% END %] + [% UNLESS ( batch_list ) %] [% UNLESS ( batch_info ) %]
@@ -107,10 +240,27 @@ $(document).ready(function(){
  1. File name: [% file_name %]
  2. -
  3. Comments: [% IF ( comments ) %][% comments %](none)[% END %]
  4. +
  5. Comments: [% IF ( comments ) %][% comments %][% ELSE %](none)[% END %]
  6. +
  7. Type: [% IF ( record_type == 'auth' ) %]Authority records[% ELSE %]Bibliographic records[% END %]
  8. Staged: [% upload_timestamp %]
  9. -
  10. Status: [% import_status %]
  11. -
  12. +
  13. Status: + [% IF ( import_status == 'cleaned' ) %] + Cleaned + [% ELSIF ( import_status == 'imported' ) %] + Imported + [% ELSIF ( import_status == 'importing' ) %] + Importing + [% ELSIF ( import_status == 'reverted' ) %] + Reverted + [% ELSIF ( import_status == 'reverting' ) %] + Reverting + [% ELSIF ( import_status == 'staged' ) %] + Staged + [% ELSE %] + [% import_status %] + [% END %] +
  14. +
  15. [% IF ( can_commit ) %]
[% END %] @@ -153,6 +349,7 @@ $(document).ready(function(){

+ [% IF ( record_type != 'auth' ) %] Add new bibliographic records into this framework: + [% END %]
Job progress:
0%
@@ -171,7 +369,7 @@ $(document).ready(function(){ -
+
Job progress:
0%
@@ -183,16 +381,21 @@ $(document).ready(function(){ Number of records added[% num_added %] Number of records updated[% num_updated %] Number of records ignored[% num_ignored %] - Number of items added[% num_items_added %] - Number of items ignored because of duplicate barcode[% num_items_errored %] + [% IF ( record_type == 'biblio' ) %] + Number of items added[% num_items_added %] + Number of items replaced[% num_items_replaced %] + Number of items ignored because of duplicate barcode[% num_items_errored %] + [% END %] [% END %] [% IF ( did_revert ) %]
Success: Import reversed
- - + [% IF ( record_type == 'biblio' ) %] + + + [% END %]
Number of records deleted[% num_deleted %]
Number of items deleted[% num_items_deleted %]
Number of records not deleted due to items on loan[% num_errors %]
Number of items deleted[% num_items_deleted %]
Number of records not deleted due to items on loan[% num_errors %]
Number of records changed back[% num_reverted %]
Number of records ignored[% num_ignored %]
@@ -218,26 +421,51 @@ Page # File name Comments + Type Status Staged - # Bibs + # Records # Items Action [% FOREACH batch_lis IN batch_list %] - [% UNLESS ( loop.odd ) %][% ELSE %][% END %] + [% batch_lis.import_batch_id %] [% batch_lis.file_name %] [% batch_lis.comments %] - [% batch_lis.import_status %] + [% 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 %] + [% END %] + [% batch_lis.upload_timestamp %] - [% batch_lis.num_biblios %] + [% batch_lis.num_records %] [% batch_lis.num_items %][% IF ( batch_lis.num_items ) %] (Create label batch)[% END %] - [% IF ( batch_lis.can_clean ) %] + + [% IF ( batch_lis.can_clean ) %]
- + +
+ [% ELSIF ( batch_lis.import_status == 'cleaned' ) %] +
+ + +
[% END %] @@ -258,65 +486,33 @@ Page [% END %] [% END %] -[% IF ( biblio_list ) %] - [% IF ( pages ) %] -
-Page - [% FOREACH page IN pages %] - [% IF ( page.current_page ) %] - [% page.page_number %] - [% ELSE %] - [% page.page_number %] - [% END %] - [% END %] -
- [% END %] - - - - - - - - - - [% FOREACH biblio_lis IN biblio_list %] - [% UNLESS ( loop.odd ) %][% ELSE %][% END %] - - - - - - - [% IF ( biblio_lis.match_biblionumber ) %] - - - - [% END %] - [% END %] -
#CitationStatusMatch?Bib
[% biblio_lis.record_sequence %][% biblio_lis.citation %][% biblio_lis.status %][% biblio_lis.overlay_status %][% IF ( biblio_lis.final_match_biblionumber ) %] - [% biblio_lis.final_match_biblionumber %] - [% END %] -
- Matches biblio [% biblio_lis.match_biblionumber %] (score = [% biblio_lis.match_score %]): [% biblio_lis.match_citation %]
- [% IF ( pages ) %] -
-Page - [% FOREACH page IN pages %] - [% IF ( page.current_page ) %] - [% page.page_number %] - [% ELSE %] - [% page.page_number %] - [% END %] - [% END %] -
- [% END %] -[% ELSE %] - [% IF ( batch_info ) %] -
There are no records in this batch to import. - Manage staged MARC records.
+[% IF import_batch_id %] + + + + + + + + + + + + +
#CitationStatusMatch typeMatch detailsDiffRecord
- [% END %] + [% END %]