Lines 13-22
function Dopop(link) {
Link Here
|
13 |
} |
13 |
} |
14 |
|
14 |
|
15 |
$(document).ready(function() { |
15 |
$(document).ready(function() { |
|
|
16 |
$(".bib_specific").show(); |
17 |
$(".auth_specific").hide(); |
16 |
$("input[type='radio']").click(function(){ |
18 |
$("input[type='radio']").click(function(){ |
17 |
if ($(this).attr('id') == 'authority_type') { |
19 |
if ($(this).attr('id') == 'authority_type') { |
|
|
20 |
$(".bib_specific").hide(); |
21 |
$(".auth_specific").show(); |
18 |
$("#shelves").hide(); |
22 |
$("#shelves").hide(); |
19 |
} else if ($(this).attr('id') == 'biblio_type') { |
23 |
} else if ($(this).attr('id') == 'biblio_type') { |
|
|
24 |
$(".bib_specific").show(); |
25 |
$(".auth_specific").hide(); |
20 |
$("#shelves").show(); |
26 |
$("#shelves").show(); |
21 |
} |
27 |
} |
22 |
}); |
28 |
}); |
Lines 148-154
$(document).ready(function() {
Link Here
|
148 |
[% ELSIF message.code == 'biblio_modified' %] |
154 |
[% ELSIF message.code == 'biblio_modified' %] |
149 |
Bibliographic record <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% message.biblionumber %]">[% message.biblionumber %]</a> has successfully been modified. |
155 |
Bibliographic record <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% message.biblionumber %]">[% message.biblionumber %]</a> has successfully been modified. |
150 |
[% ELSIF message.code == 'authority_modified' %] |
156 |
[% ELSIF message.code == 'authority_modified' %] |
151 |
Bibliographic record <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% message.authid %]">[% message.authid %]</a> has successfully been modified. |
157 |
Authority record <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% message.authid %]">[% message.authid %]</a> has successfully been modified. |
152 |
[% END %] |
158 |
[% END %] |
153 |
[% IF message.error %] |
159 |
[% IF message.error %] |
154 |
(The error was: [% message.error%]. See the Koha logfile for more information). |
160 |
(The error was: [% message.error%]. See the Koha logfile for more information). |
Lines 190-199
$(document).ready(function() {
Link Here
|
190 |
</ol> |
196 |
</ol> |
191 |
</fieldset> |
197 |
</fieldset> |
192 |
<fieldset class="rows"> |
198 |
<fieldset class="rows"> |
193 |
<legend>Or enter a list of record numbers</legend> |
199 |
<legend>Or enter a list of <span class="bib_specific">record</span><span class="auth_specific">authority</span> numbers</legend> |
194 |
<ol> |
200 |
<ol> |
195 |
<li> |
201 |
<li> |
196 |
<label for="recordnumber_list">Record number list (one per line): </label> |
202 |
<label for="recordnumber_list"><span class="bib_specific">Record</span><span class="auth_specific">Authority</span> number list (one per line): </label> |
197 |
<textarea rows="10" cols="30" id="recordnumber_list" name="recordnumber_list"></textarea> |
203 |
<textarea rows="10" cols="30" id="recordnumber_list" name="recordnumber_list"></textarea> |
198 |
</li> |
204 |
</li> |
199 |
</ol> |
205 |
</ol> |
Lines 306-312
$(document).ready(function() {
Link Here
|
306 |
<fieldset class="action"> |
312 |
<fieldset class="action"> |
307 |
<input type="hidden" name="op" value="modify" /> |
313 |
<input type="hidden" name="op" value="modify" /> |
308 |
<input type="hidden" name="recordtype" value="[% recordtype %]" /> |
314 |
<input type="hidden" name="recordtype" value="[% recordtype %]" /> |
309 |
<input type="button" id="mainformsubmit" value="Modify selected records" class="button" /> |
315 |
[% IF ( recordtype == "biblio" ) %] |
|
|
316 |
<input type="button" id="mainformsubmit" value="Modify selected records" class="button" /> |
317 |
[% ELSE %] |
318 |
<input type="button" id="mainformsubmit" value="Modify selected authorities" class="button" /> |
319 |
[% END %] |
310 |
<input type="hidden" name="runinbackground" id="runinbackground" value="" /> |
320 |
<input type="hidden" name="runinbackground" id="runinbackground" value="" /> |
311 |
<input type="hidden" name="completedJobID" id="completedJobID" value="" /> |
321 |
<input type="hidden" name="completedJobID" id="completedJobID" value="" /> |
312 |
<a class="cancel" href="/cgi-bin/koha/tools/batch_record_modification.pl">Cancel</a> |
322 |
<a class="cancel" href="/cgi-bin/koha/tools/batch_record_modification.pl">Cancel</a> |
Lines 323-329
$(document).ready(function() {
Link Here
|
323 |
[% END %] |
333 |
[% END %] |
324 |
[% ELSIF view == 'report' %] |
334 |
[% ELSIF view == 'report' %] |
325 |
[% IF report.total_records == report.total_success %] |
335 |
[% IF report.total_records == report.total_success %] |
326 |
<div class="dialog message">All records have successfully been modified! <span id="auth_next_steps"><a href="/cgi-bin/koha/tools/batch_record_modification.pl" title="New batch record modification">New batch record modification</a></span></div> |
336 |
<div class="dialog message"> |
|
|
337 |
[% IF ( recordtype == "biblio" ) %] |
338 |
All records have successfully been modified! |
339 |
[% ELSE %] |
340 |
All authorities have successfully been modified! |
341 |
[% END %] |
342 |
<span id="auth_next_steps"><a href="/cgi-bin/koha/tools/batch_record_modification.pl" title="New batch record modification">New batch record modification</a></span></div> |
327 |
[% ELSE %] |
343 |
[% ELSE %] |
328 |
<div class="dialog message">[% report.total_success %] / [% report.total_records %] records have successfully been modified. Some errors occurred. <span id="auth_next_steps"><a href="/cgi-bin/koha/tools/batch_record_modification.pl" title="New batch record modification">New batch record modification</a></span></div> |
344 |
<div class="dialog message">[% report.total_success %] / [% report.total_records %] records have successfully been modified. Some errors occurred. <span id="auth_next_steps"><a href="/cgi-bin/koha/tools/batch_record_modification.pl" title="New batch record modification">New batch record modification</a></span></div> |
329 |
[% END %] |
345 |
[% END %] |