4 [% INCLUDE 'doc-head-open.inc' %]
5 <title>Koha › Tools › Manage staged MARC records › Compare matched records</title>
6 [% INCLUDE 'doc-head-close.inc' %]
8 ins { background-color: #e6ffe6; }
9 del { background-color: #ffe6e6; }
10 #col1 ins, #col2 del { display: none; }
11 pre { padding: 10px; overflow: scroll; }
15 <body id="tools_compare-marc-import" class="tools">
17 [% INCLUDE 'header.inc' %]
19 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
22 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
25 <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>
28 <a href="/cgi-bin/koha/tools/manage-marc-import.pl">Manage staged MARC records</a>
31 <a href="/cgi-bin/koha/tools/manage-marc-import.pl?import_batch_id=[% batchid | uri %]">Batch [% batchid | html %]</a>
34 <a href="#" aria-current="page">
35 Compare matched records
41 <div class="main container-fluid">
45 <div id="col1" class="col-sm-6">
47 [% IF ( ERROR_FORMATTED1 ) %]
48 <div class="dialog alert">
49 <p>The record id <em>[% RECORDID | html %]</em> doesn't match any existing record.</p>
52 <h2>[% RECORDTITLE | html %]</h2>
53 <pre>[% MARC_FORMATTED1 | html %]</pre>
56 <div id="col2" class="col-sm-6">
58 [% IF ( ERROR_FORMATTED2 ) %]
59 <div class="dialog alert">
60 <p>The import id number <em>[% IMPORTID | html %]</em> doesn't match any existing record.</p>
63 <h2>[% IMPORTTITLE | html %]</h2>
64 <pre>[% MARC_FORMATTED2 | html %] </pre>
69 <p><a href="/cgi-bin/koha/tools/manage-marc-import.pl?import_batch_id=[% batchid | uri %]">Return to staged MARC batch [% batchid | html %]</a></p>
74 [% MACRO jsinclude BLOCK %]
75 [% Asset.js("js/tools-menu.js") | $raw %]
76 [% Asset.js("lib/jsdiff/jsdiff.min.js") | $raw %]
78 $(document).ready(function(){
79 var diff1 = $("#col1 pre").text();
80 var diff2 = $("#col2 pre").text();
81 var diffs = diffString(diff1,diff2);
82 $("#col1 pre,#col2 pre").html(diffs);
87 [% INCLUDE 'intranet-bottom.inc' %]