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=0098751f5e9c5dd0da7e66018b4314ce1b016650;hpb=547946894833155f4b61be6d0544a6c195744395;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 0098751f5e..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,3 +1,30 @@ +[% 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 ) %] @@ -5,13 +32,14 @@ [% END %] [% 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' %] @@ -161,7 +186,7 @@ function show_marc( id ) { [% IF ( alert ) %]
[% ELSE %] -
+
[% END %]

[% label_batch_msg %]

@@ -171,6 +196,10 @@ function show_marc( id ) {
Cleaned import batch #[% import_batch_id %]
[% END %] +[% IF ( did_delete ) %] +
Import batch deleted successfully
+[% END %] + [% UNLESS ( batch_list ) %] [% UNLESS ( batch_info ) %]
@@ -283,7 +312,8 @@ function show_marc( id ) { [% END %] [% END %] - + + [% IF ( record_type == 'biblio' ) %]
  • [% IF ( can_commit ) %] @@ -303,6 +333,7 @@ function show_marc( id ) { [% END %] [% END %]
  • + [% END %] [% IF ( can_commit ) %]
    [% END %] @@ -338,7 +369,7 @@ function show_marc( id ) { -
    +
    Job progress:
    0%
    @@ -350,17 +381,21 @@ function show_marc( id ) { 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 replaced[% num_items_replaced %] - 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 %]
    @@ -394,7 +429,7 @@ Page Action [% FOREACH batch_lis IN batch_list %] - [% UNLESS ( loop.odd ) %][% ELSE %][% END %] + [% batch_lis.import_batch_id %] [% batch_lis.file_name %] [% batch_lis.comments %] @@ -419,11 +454,18 @@ Page [% batch_lis.upload_timestamp %] [% 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 %] @@ -453,10 +495,24 @@ Page Status Match type Match details + Diff Record + + [% END %]