View | Details | Raw Unified | Return to bug 37452
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/showdiffmarc.tt (-28 / +29 lines)
Lines 41-79 Link Here
41
[% END #/ WRAPPER sub-header.inc %]
41
[% END #/ WRAPPER sub-header.inc %]
42
42
43
<div class="main container-fluid">
43
<div class="main container-fluid">
44
    <main>
44
    <div class="row">
45
    <div class="row">
45
            <main>
46
        <div class="col-sm-10 col-sm-push-1">
46
                [% INCLUDE 'messages.inc' %]
47
            [% INCLUDE 'messages.inc' %]
47
            <h1>Compare matched records</h1>
48
            <h1>Compare matched records</h1>
48
49
            <div class="page-section col-sm-12">
49
        <div id="col1" class="col-sm-6">
50
                <h2>[% RECORDTITLE | html %]</h2>
50
            <h2>Original</h2>
51
                <div id="col1" class="col-sm-6">
51
            [% IF ( ERROR_FORMATTED1 ) %]
52
                    <h3>Original</h3>
52
                <div class="dialog alert">
53
                    [% IF ( ERROR_FORMATTED1 ) %]
53
                    <p>The record ID <em>[% RECORDID | html %]</em> doesn't match any existing record.</p>
54
                        <div class="dialog alert">
55
                            <p>The record ID <em>[% RECORDID | html %]</em> doesn't match any existing record.</p>
56
                        </div>
57
                    [% ELSE %]
58
                        <pre>[% MARC_FORMATTED1 | html %]</pre>
59
                    [% END %]
54
                </div>
60
                </div>
55
            [% ELSE %]
61
                <div id="col2" class="col-sm-6">
56
                <h3>[% RECORDTITLE | html %]</h3>
62
                    <h3>Imported</h3>
57
                <pre>[% MARC_FORMATTED1 | html %]</pre>
63
                    [% IF ( ERROR_FORMATTED2 ) %]
58
            [% END %]
64
                        <div class="dialog alert">
59
        </div>
65
                            <p>The import ID number <em>[% IMPORTID | html %]</em> doesn't match any existing record.</p>
60
        <div id="col2" class="col-sm-6">
66
                        </div>
61
            <h2>Imported</h2>
67
                    [% ELSE %]
62
            [% IF ( ERROR_FORMATTED2 ) %]
68
                        <h3>[% IMPORTTITLE | html %]</h3>
63
                <div class="dialog alert">
69
                        <pre>[% MARC_FORMATTED2 | html %] </pre>
64
                    <p>The import ID number <em>[% IMPORTID | html %]</em> doesn't match any existing record.</p>
70
                    [% END %]
65
                </div>
71
                </div>
66
            [% ELSE %]
72
            </div>
67
                <h3>[% IMPORTTITLE | html %]</h3>
73
            <fieldset class="action">
68
                <pre>[% MARC_FORMATTED2 | html %] </pre>
74
                <a class="btn btn-primary" href="/cgi-bin/koha/tools/manage-marc-import.pl?import_batch_id=[% batchid | uri %]">Return to staged MARC batch [% batchid | html %]</a>
69
            [% END %]
75
            </fieldset>
70
        </div>
76
        </div>
71
    </div>
77
    </div>
72
78
    </main>
73
<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
75
            </main>
76
        </div>
77
79
78
[% MACRO jsinclude BLOCK %]
80
[% MACRO jsinclude BLOCK %]
79
    [% Asset.js("js/tools-menu.js") | $raw %]
81
    [% Asset.js("js/tools-menu.js") | $raw %]
80
- 

Return to bug 37452