Lines 5-11
Link Here
|
5 |
[% INCLUDE 'doc-head-open.inc' %] |
5 |
[% INCLUDE 'doc-head-open.inc' %] |
6 |
<title>Koha › Cataloging › Merging records</title> |
6 |
<title>Koha › Cataloging › Merging records</title> |
7 |
[% INCLUDE 'doc-head-close.inc' %] |
7 |
[% INCLUDE 'doc-head-close.inc' %] |
8 |
<style type="text/css"> |
8 |
<style> |
9 |
div.record ul, div.record li { float:none; display:block; } |
9 |
div.record ul, div.record li { float:none; display:block; } |
10 |
div#result { margin-top: 1em; } |
10 |
div#result { margin-top: 1em; } |
11 |
/* We use this style "against" the li ui-tabs-nav style automatically applied */ |
11 |
/* We use this style "against" the li ui-tabs-nav style automatically applied */ |
Lines 20-25
div#result { margin-top: 1em; }
Link Here
|
20 |
<div class="main container-fluid"> |
20 |
<div class="main container-fluid"> |
21 |
<div class="row"> |
21 |
<div class="row"> |
22 |
<div class="col-md-8 col-md-offset-2"> |
22 |
<div class="col-md-8 col-md-offset-2"> |
|
|
23 |
<main> |
23 |
|
24 |
|
24 |
<h1>Merging records</h1> |
25 |
<h1>Merging records</h1> |
25 |
|
26 |
|
Lines 45-52
div#result { margin-top: 1em; }
Link Here
|
45 |
|
46 |
|
46 |
[% ELSIF ( result ) %] |
47 |
[% ELSIF ( result ) %] |
47 |
|
48 |
|
48 |
<script type="text/javascript">window.location.href="/cgi-bin/koha/authorities/detail.pl?authid=[% recordid1 | html %]"</script> |
49 |
<script>window.location.href="/cgi-bin/koha/authorities/detail.pl?authid=[% recordid1 | html %]";</script> |
49 |
<p>The merging was successful. <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% recordid1 | uri %]">Click here to see the merged record.</a></p> |
50 |
<p>The merging was successful. <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% recordid1 | uri %]">Click here to see the merged record.</a></p> |
50 |
|
51 |
|
51 |
[% ELSIF ( choosereference ) %] |
52 |
[% ELSIF ( choosereference ) %] |
52 |
|
53 |
|
Lines 84-96
div#result { margin-top: 1em; }
Link Here
|
84 |
|
85 |
|
85 |
<form id="mergeform" action="/cgi-bin/koha/authorities/merge.pl" method="post" onsubmit="return mergeformsubmit()"> |
86 |
<form id="mergeform" action="/cgi-bin/koha/authorities/merge.pl" method="post" onsubmit="return mergeformsubmit()"> |
86 |
|
87 |
|
87 |
<div class="yui-g"> |
88 |
<div class="row"> |
88 |
<div class="yui-u first"> |
89 |
<div class="col-sm-6"> |
89 |
[% PROCESS mergesource sourcerecords=records %] |
90 |
[% PROCESS mergesource sourcerecords=records %] |
90 |
</div> |
91 |
</div> |
91 |
<div class="yui-u"> |
92 |
<div class="col-sm-6"> |
92 |
[% PROCESS mergetarget %] |
93 |
[% PROCESS mergetarget %] |
93 |
</div> <!-- .yui-u --> |
94 |
</div> |
|
|
95 |
</div> |
94 |
|
96 |
|
95 |
<input type="hidden" name="recordid1" value="[% recordid1 | html %]" /> |
97 |
<input type="hidden" name="recordid1" value="[% recordid1 | html %]" /> |
96 |
<input type="hidden" name="recordid2" value="[% recordid2 | html %]" /> |
98 |
<input type="hidden" name="recordid2" value="[% recordid2 | html %]" /> |
Lines 98-117
div#result { margin-top: 1em; }
Link Here
|
98 |
<input type="hidden" name="frameworkcode" value="[% framework | html %]" /> |
100 |
<input type="hidden" name="frameworkcode" value="[% framework | html %]" /> |
99 |
|
101 |
|
100 |
<fieldset class="action"><input type="submit" name="merge" value="Merge" /></fieldset> |
102 |
<fieldset class="action"><input type="submit" name="merge" value="Merge" /></fieldset> |
101 |
</div> |
|
|
102 |
</form> |
103 |
</form> |
103 |
|
104 |
|
104 |
[% END %] |
105 |
[% END %] |
105 |
|
106 |
|
106 |
</div> |
107 |
</main> |
|
|
108 |
</div> <!-- /.col-md-8 col-md-offset-2 --> |
109 |
</div> <!-- /.row --> |
107 |
|
110 |
|
108 |
[% MACRO jsinclude BLOCK %] |
111 |
[% MACRO jsinclude BLOCK %] |
109 |
[% INCLUDE 'merge-record-strings.inc' %] |
112 |
[% INCLUDE 'merge-record-strings.inc' %] |
110 |
[% INCLUDE 'authorities_js.inc' %] |
113 |
[% INCLUDE 'authorities_js.inc' %] |
111 |
[% Asset.js("js/merge-record.js") | $raw %] |
114 |
[% Asset.js("js/merge-record.js") | $raw %] |
112 |
[% INCLUDE 'merge-record-strings.inc' %] |
115 |
<script> |
113 |
<script type="text/javascript"> |
|
|
114 |
//<![CDATA[ |
115 |
|
116 |
|
116 |
// When submiting the form |
117 |
// When submiting the form |
117 |
function mergeformsubmit() { |
118 |
function mergeformsubmit() { |
Lines 140-146
div#result { margin-top: 1em; }
Link Here
|
140 |
$("#Frameworks").val(fw); |
141 |
$("#Frameworks").val(fw); |
141 |
} |
142 |
} |
142 |
|
143 |
|
143 |
//]]> |
|
|
144 |
</script> |
144 |
</script> |
145 |
[% END %] |
145 |
[% END %] |
146 |
|
146 |
|