Lines 80-85
Link Here
|
80 |
[% IF job_enqueued %] |
80 |
[% IF job_enqueued %] |
81 |
<div class="dialog message"> |
81 |
<div class="dialog message"> |
82 |
<p>The job has been enqueued! It will be processed as soon as possible.</p> |
82 |
<p>The job has been enqueued! It will be processed as soon as possible.</p> |
|
|
83 |
[% INCLUDE "job_progress.inc" job_id=job_id %] |
83 |
<p><a class="job_details" href="/cgi-bin/koha/admin/background_jobs.pl?op=view&id=[% job_id | uri %]" title="View detail of the enqueued job">View detail of the enqueued job</a> |
84 |
<p><a class="job_details" href="/cgi-bin/koha/admin/background_jobs.pl?op=view&id=[% job_id | uri %]" title="View detail of the enqueued job">View detail of the enqueued job</a> |
84 |
</div> |
85 |
</div> |
85 |
|
86 |
|
Lines 426-431
Link Here
|
426 |
|
427 |
|
427 |
[% MACRO jsinclude BLOCK %] |
428 |
[% MACRO jsinclude BLOCK %] |
428 |
[% Asset.js("lib/jquery/plugins/humanmsg.js") | $raw %] |
429 |
[% Asset.js("lib/jquery/plugins/humanmsg.js") | $raw %] |
|
|
430 |
|
431 |
[% INCLUDE 'str/job_progess.inc' job_id=job_id %] |
432 |
[% Asset.js("js/job_progess.js") | $raw %] |
433 |
|
434 |
[% Asset.js("js/background-job-progressbar.js") | $raw %] |
435 |
|
429 |
[% INCLUDE 'datatables.inc' %] |
436 |
[% INCLUDE 'datatables.inc' %] |
430 |
<script> |
437 |
<script> |
431 |
$(document).ready(function() { |
438 |
$(document).ready(function() { |
Lines 615-628
Link Here
|
615 |
return confirm(_("Clear all reservoir records staged in this batch? This cannot be undone.")); |
622 |
return confirm(_("Clear all reservoir records staged in this batch? This cannot be undone.")); |
616 |
} |
623 |
} |
617 |
}); |
624 |
}); |
618 |
[% IF job_enqueued %] |
|
|
619 |
setTimeout( |
620 |
function() { window.location.href=$('a.job_details').attr('href'); }, |
621 |
5000, // 5 secs to read |
622 |
); |
623 |
[% END %] |
624 |
}); |
625 |
}); |
625 |
|
626 |
|
|
|
627 |
[% IF job_enqueued %] |
628 |
updateProgress([% job_id %]); |
629 |
[% END %] |
626 |
</script> |
630 |
</script> |
627 |
[% END %] |
631 |
[% END %] |
628 |
[% INCLUDE 'intranet-bottom.inc' %] |
632 |
[% INCLUDE 'intranet-bottom.inc' %] |
629 |
- |
|
|