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