[%# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # # This Source Code Form is "Incompatible With Secondary Licenses", as # defined by the Mozilla Public License, v. 2.0. #%] [% INCLUDE global/header.html.tmpl title = "Job Queue Status" style_urls = [ "extensions/BMO/web/styles/reports.css" ] %] [% IF jobs.size %]
[% jobs.size FILTER none %] email(s) in the queue.
Insert Time | Run Time | Age | Error Count | Last Error | Error Message |
---|---|---|---|---|---|
[% time2str("%Y-%m-%d %H:%M:%S %Z", job.insert_time) FILTER html %] | [% time2str("%Y-%m-%d %H:%M:%S %Z", job.run_time) FILTER html %] | [% age = now - job.insert_time %] [% IF age < 60 %] [% age FILTER none %]s [% ELSIF age < 60 * 60 %] [% age / 60 FILTER format('%.0f') %]m [% ELSE %] [% age / (60 * 60) FILTER format('%.0f') %]h [% END %] | [% job.error_count FILTER html %] | [% IF job.error_count %] [% time2str("%Y-%m-%d %H:%M:%S %Z", job.error_time) FILTER html %] [% ELSE %] - [% END %] | [% job.error_count ? job.error_message : '-' FILTER html %] |
[% job.subject FILTER html %] |
The email queue is empty.
[% END %] [% INCLUDE global/footer.html.tmpl %]