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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt (-1 / +7 lines)
Lines 77-83 Link Here
77
                    [% IF job_enqueued %]
77
                    [% IF job_enqueued %]
78
                        <div class="dialog message">
78
                        <div class="dialog message">
79
                          <p>The job has been enqueued! It will be processed as soon as possible.</p>
79
                          <p>The job has been enqueued! It will be processed as soon as possible.</p>
80
                          <p><a 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>
80
                          <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>
81
                        </div>
81
                        </div>
82
82
83
                    [% ELSIF ( label_batch_msg ) %]
83
                    [% ELSIF ( label_batch_msg ) %]
Lines 608-613 Link Here
608
                    return confirm(_("Clear all reservoir records staged in this batch?  This cannot be undone."));
608
                    return confirm(_("Clear all reservoir records staged in this batch?  This cannot be undone."));
609
                }
609
                }
610
            });
610
            });
611
            [% IF job_enqueued %]
612
                setTimeout(
613
                    function() { window.location.href=$('a.job_details').attr('href'); },
614
                    5000, // 5 secs to read
615
                );
616
            [% END %]
611
        });
617
        });
612
618
613
    </script>
619
    </script>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt (-2 / +7 lines)
Lines 74-80 Link Here
74
            <h1>MARC staging</h1>
74
            <h1>MARC staging</h1>
75
            <div class="dialog message">
75
            <div class="dialog message">
76
              <p>The job has been enqueued! It will be processed as soon as possible.</p>
76
              <p>The job has been enqueued! It will be processed as soon as possible.</p>
77
              <p><a 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>
77
              <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>
78
            </div>
78
            </div>
79
        [% ELSE %]
79
        [% ELSE %]
80
<h1>Stage MARC records for import</h1>
80
<h1>Stage MARC records for import</h1>
Lines 421-426 Link Here
421
                    alert(_("An error occurred")+"\n\n"+((error.responseJSON && error.responseJSON.error) || error.responseText || error.statusText));
421
                    alert(_("An error occurred")+"\n\n"+((error.responseJSON && error.responseJSON.error) || error.responseText || error.statusText));
422
                })
422
                })
423
            });
423
            });
424
            [% IF job_enqueued %]
425
                setTimeout(
426
                    function() { window.location.href=$('a.job_details').attr('href'); },
427
                    5000, // 5 secs to read
428
                );
429
            [% END %]
424
        });
430
        });
425
431
426
        function StartUpload() {
432
        function StartUpload() {
427
- 

Return to bug 27421