3 [% INCLUDE 'doc-head-open.inc' %]
4 <title>Koha › Tools › Manage staged MARC records › Compare matched records</title>
5 [% INCLUDE 'doc-head-close.inc' %]
6 <style type="text/css">
7 ins { background-color: #e6ffe6; }
8 del { background-color: #ffe6e6; }
9 #col1 ins, #col2 del { display: none; }
10 pre { padding: 10px; overflow: scroll; }
14 <body id="tools_compare-marc-import" class="tools">
16 [% INCLUDE 'header.inc' %]
18 <div id="breadcrumbs">
19 <a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> › <a href="/cgi-bin/koha/tools/manage-marc-import.pl">Manage staged MARC records</a> › <a href="/cgi-bin/koha/tools/manage-marc-import.pl?import_batch_id=[% batchid %]">Batch [% batchid %]</a> › Compare matched records
24 <div id="col1" class="yui-u first">
26 [% IF ( ERROR_FORMATTED1 ) %]
27 <div class="dialog alert">
28 <p>The biblionumber <em>[% BIBLIONUMBER %]</em> doesn't match any existing record.</p>
31 <h2>[% BIBLIOTITLE %]</h2>
32 <pre>[% MARC_FORMATTED1 %]</pre>
35 <div id="col2" class="yui-u">
37 [% IF ( ERROR_FORMATTED2 ) %]
38 <div class="dialog alert">
39 <p>The import id number <em>[% IMPORTID %]</em> doesn't match any existing record.</p>
42 <h2>[% IMPORTTITLE %]</h2>
43 <pre>[% MARC_FORMATTED2 %] </pre>
48 <p><a href="/cgi-bin/koha/tools/manage-marc-import.pl?import_batch_id=[% batchid %]">Return to staged MARC batch [% batchid %]</a></p>
50 [% MACRO jsinclude BLOCK %]
51 [% Asset.js("js/tools-menu.js") %]
52 [% Asset.js("lib/jsdiff/jsdiff.min.js") %]
53 <script type="text/javascript">
54 $(document).ready(function(){
55 var diff1 = $("#col1 pre").text();
56 var diff2 = $("#col2 pre").text();
57 var diffs = diffString(diff1,diff2);
58 $("#col1 pre,#col2 pre").html(diffs);
63 [% INCLUDE 'intranet-bottom.inc' %]