@@ -, +, @@ --- .../prog/en/modules/tools/manage-marc-import.tt | 100 ++------------------ tools/batch_records_ajax.pl | 1 + 2 files changed, 10 insertions(+), 91 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt @@ -66,7 +66,8 @@ $(document).ready(function(){ { "mDataProp": "status" }, { "mDataProp": "overlay_status" }, { "mDataProp": "match_citation" }, - { "mDataProp": "matched" }, + { "mDataProp": "diff_url" }, + { "mDataProp": "matched" } ], "fnServerData": function ( sSource, aoData, fnCallback ) { aoData.push( { "name": "import_batch_id", "value": [% import_batch_id %] } ); @@ -122,8 +123,12 @@ $(document).ready(function(){ + aData['match_id'] + '">' + aData['match_citation'] + '') ); } - - $('td:eq(5)', nRow).html( + if (aData['diff_url']){ + $('td:eq(5)', nRow).html( + 'View' + ); + } + $('td:eq(6)', nRow).html( '' + aData['matched'] + '' ); @@ -475,100 +480,13 @@ Page
# | -Citation | -Status | -Match? | -Record | -Diff | - -|
---|---|---|---|---|---|---|
[% record_lis.record_sequence %] | -[% record_lis.citation %] | -- [% IF ( record_lis.status == 'imported' ) %] - Imported - [% ELSIF ( record_lis.status == 'ignored' ) %] - Ignored - [% ELSIF ( record_lis.status == 'reverted' ) %] - Reverted - [% ELSIF ( record_lis.status == 'staged' ) %] - Staged - [% ELSIF ( record_lis.status == 'error' ) %] - Error - [% ELSE %] - [% record_lis.status %] - [% END %] - | -- [% IF ( record_lis.overlay_status == 'no_match' ) %] - No match - [% ELSIF ( record_lis.overlay_status == 'match_applied' ) %] - Match applied - [% ELSIF ( record_lis.overlay_status == 'auto_match' ) %] - Match found - [% ELSE %] - [% record_lis.overlay_status %] - [% END %] - | -[% IF ( record_lis.final_match_id ) %] - [% PROCESS final_match_link record=record_lis %] - [% END %] - | - [% IF ( record_lis.match_id ) %] -- View - | - [% ELSE %] -- [% END %] - |