1 [% USE HTML %][% USE L %][% USE LxERP %]
 
   3  <div class="listtop">[% FORM.title %]</div>
 
   5 [%- INCLUDE 'common/flash.html' %]
 
   7  <table id="background_job_history_details" class="background_job_details">
 
  10     <th>[%- LxERP.t8('Current status') %]</th>
 
  11     <td>[% IF SELF.task_server.is_running %][%- LxERP.t8('running') %][%- ELSE %][%- LxERP.t8('not running') %][%- END %]</td>
 
  14 [%- IF last_command_output %]
 
  16     <th>[%- LxERP.t8('Last command output') %]</th>
 
  17     <td><pre>[% HTML.escape(last_command_output) %]</pre></td>
 
  25 [% IF SELF.task_server.is_running %]
 
  26   <a href="[% SELF.url_for(action => 'stop') %]">[%- LxERP.t8('Stop task server') %]</a>
 
  28   <a href="[% SELF.url_for(action => 'start') %]">[%- LxERP.t8('Start task server') %]</a>
 
  31   <a href="[% SELF.url_for(controller => 'BackgroundJob', action => 'list') %]">[%- LxERP.t8('View background jobs') %]</a>
 
  33   <a href="[% SELF.url_for(controller => 'BackgroundJobHistory', action => 'list') %]">[%- LxERP.t8('View background job history') %]</a>