X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Fqueue.html;h=141c535da13fd093aee7080483259c1da8cec2b2;hb=3e8421688bfed701dd6d3be79c270db4af2b3e8d;hp=c343014ccd67a720388811236bfa930ac48cd679;hpb=590603ecaea3184f64530755a76626be8205da49;p=freeside.git diff --git a/httemplate/search/queue.html b/httemplate/search/queue.html index c343014cc..141c535da 100644 --- a/httemplate/search/queue.html +++ b/httemplate/search/queue.html @@ -1,11 +1,10 @@ -<% include( 'elements/search.html', +<& elements/search.html, 'title' => 'Job Queue', - 'menubar' => [ 'Main menu' => $p, ], 'name' => 'jobs', 'html_form' => qq!
!, 'query' => { 'table' => 'queue', 'hashref' => $hashref, - 'extra_sql' => 'ORDER BY jobnum', + 'order_by' => 'ORDER BY jobnum', }, 'count_query' => $count_query, 'header' => [ '#', @@ -51,10 +50,14 @@ || ( ! $noactions && $status =~ /^failed/ || $status =~ /^locked/ + || $status =~ /^done/ ); if ( $changable ) { + $status .= qq! (!; + $status .= + qq!  retry |! + unless $status =~ /^done/; $status .= - qq! ( retry |!. qq! remove )!; } $status; @@ -117,9 +120,8 @@ ''; } }, - ) - -%> + +&> <%init> die "access denied"