1 [% USE HTML %][% USE L %][% USE LxERP %]
 
   4  <div class="listtop">[% FORM.title %]</div>
 
   6 [%- INCLUDE 'common/flash.html' %]
 
   8  <table id="background_job_history_details" class="background_job_details">
 
  11     <th>[%- LxERP.t8('Current status') %]</th>
 
  12     <td>[% IF SELF.task_server.is_running %][%- LxERP.t8('running') %][%- ELSE %][%- LxERP.t8('not running') %][%- END %]</td>
 
  15 [%- IF last_command_output %]
 
  17     <th>[%- LxERP.t8('Last command output') %]</th>
 
  18     <td><pre>[% HTML.escape(last_command_output) %]</pre></td>
 
  26 [% IF SELF.task_server.is_running %]
 
  27   <a href="[% SELF.url_for(action => 'stop') %]">[%- LxERP.t8('Stop task server') %]</a>
 
  29   <a href="[% SELF.url_for(action => 'start') %]">[%- LxERP.t8('Start task server') %]</a>
 
  32   <a href="[% SELF.url_for(controller => 'BackgroundJob', action => 'list') %]">[%- LxERP.t8('View background jobs') %]</a>
 
  34   <a href="[% SELF.url_for(controller => 'BackgroundJobHistory', action => 'list') %]">[%- LxERP.t8('View background job history') %]</a>