[%# Shows statistics and information on the TheSchwartz queue Authors: Afuna Copyright (c) 2015 by Dreamwidth Studios, LLC. This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself. For a copy of the license, please reference 'perldoc perlartistic' or 'perldoc perlgpl'. %] [%- sections.title = ".admin.link" | ml -%] [%- CALL dw.active_resource_group( "foundation" ) -%]

[%- '.outstanding.header' | ml -%]

[%- IF queue.size > 0 -%]
    [%- FOR job = queue -%]
  • #[% job.jid %] [% job.it %] [[% job.ago_it %]] in [% job.fn %]
    State: [% job.state %], priority [% job.pr %].
     
  • [%- END -%]
[%- ELSE -%]
[%- '.outstanding.none' | ml -%]
[%- END -%]

[%- '.recent.header' | ml -%]

[%- IF recent_errors.size > 0 -%]
    [%- FOR err = recent_errors -%]
  • #[%- err.0 %] [%- err.1 -%] in [%- err.2 -%]
    [%- err.3 -%]
     
  • [%- END -%]
[%- ELSE -%]
[%- '.recent.none' | ml -%]
[%- END -%]