1 [% USE HTML %][% USE L %][% USE LxERP %]
 
   2 <h1>[% FORM.title %]</h1>
 
   4 [%- INCLUDE 'common/flash.html' %]
 
   6  <table id="background_job_history_details" class="background_job_details">
 
   9     <th>[%- LxERP.t8('Current status') %]</th>
 
  10     <td>[% IF SELF.task_server.is_running %][%- LxERP.t8('running') %][%- ELSE %][%- LxERP.t8('not running') %][%- END %]</td>
 
  13 [%- IF last_command_output %]
 
  15     <th>[%- LxERP.t8('Last command output') %]</th>
 
  16     <td><pre>[% HTML.escape(last_command_output) %]</pre></td>
 
  24 [% IF SELF.task_server.is_running %]
 
  25   <a href="[% SELF.url_for(action => 'stop') %]">[%- LxERP.t8('Stop task server') %]</a>
 
  27   <a href="[% SELF.url_for(action => 'start') %]">[%- LxERP.t8('Start task server') %]</a>
 
  30   <a href="[% SELF.url_for(controller => 'BackgroundJob', action => 'list') %]">[%- LxERP.t8('View background jobs') %]</a>
 
  32   <a href="[% SELF.url_for(controller => 'BackgroundJobHistory', action => 'list') %]">[%- LxERP.t8('View background job history') %]</a>