Bug 15758: Koha::Libraries - Remove GetBranchesLoop
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / tools / showdiffmarc.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha &rsaquo; Tools &rsaquo; Manage staged MARC records &rsaquo; Compare matched records</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 <script type="text/javascript" src="[% interface %]/lib/jsdiff/jsdiff.min.js"></script>
5 <script type="text/javascript">
6     $(document).ready(function(){
7       var diff1 = $("#col1 pre").text();
8       var diff2 = $("#col2 pre").text();
9       var diffs = diffString(diff1,diff2);
10       $("#col1 pre,#col2 pre").html(diffs);
11     });
12 </script>
13 <style type="text/css">
14     ins { background-color: #e6ffe6; }
15     del { background-color: #ffe6e6; }
16     #col1 ins, #col2 del { display: none; }
17     pre { padding: 10px; overflow: scroll; }
18 </style>
19 </head>
20 <body id="tools_compare-marc-import" class="tools">
21
22 [% INCLUDE 'header.inc' %]
23
24 <div id="breadcrumbs">
25     <a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; <a href="/cgi-bin/koha/tools/manage-marc-import.pl">Manage staged MARC records</a> &rsaquo; <a href="/cgi-bin/koha/tools/manage-marc-import.pl?import_batch_id=[% batchid %]">Batch [% batchid %]</a> &rsaquo; Compare matched records
26 </div>
27
28 <div id="doc3">
29     <div class="yui-g">
30         <div id="col1" class="yui-u first">
31             <h1>Original</h1>
32             [% IF ( ERROR_FORMATTED1 ) %]
33                 <div class="dialog alert">
34                     <p>The biblionumber <em>[% BIBLIONUMBER %]</em> doesn't match any existing record.</p>
35                 </div>
36             [% ELSE %]
37                 <h2>[% BIBLIOTITLE %]</h2>
38                 <pre>[% MARC_FORMATTED1 %]</pre>
39             [% END %]
40         </div>
41         <div id="col2" class="yui-u">
42             <h1>Imported</h1>
43             [% IF ( ERROR_FORMATTED2 ) %]
44                 <div class="dialog alert">
45                     <p>The import id number <em>[% IMPORTID %]</em> doesn't match any existing record.</p>
46                 </div>
47             [% ELSE %]
48                 <h2>[% IMPORTTITLE %]</h2>
49                 <pre>[% MARC_FORMATTED2 %] </pre>
50             [% END %]
51         </div>
52     </div>
53
54 <p><a href="/cgi-bin/koha/tools/manage-marc-import.pl?import_batch_id=[% batchid %]">Return to staged MARC batch [% batchid %]</a></p>
55 [% INCLUDE 'intranet-bottom.inc' %]