[% USE HTML %][% USE L %][% USE LxERP %]
-<body>
- <div class="listtop">[% FORM.title %]</div>
+ <h1>[% FORM.title %]</h1>
[%- INCLUDE 'common/flash.html' %]
- <form method="post" action="controller.pl">
[% IF !BACKGROUND_JOBS.size %]
<p>
[%- LxERP.t8('No background job has been created yet.') %]
<thead>
<tr class="listheading">
<th>[% L.sortable_table_header('package_name') %]</th>
+ <th>[% L.sortable_table_header('description') %]</th>
<th>[% L.sortable_table_header('type') %]</th>
<th>[% L.sortable_table_header('active') %]</th>
<th>[% L.sortable_table_header('cron_spec') %]</th>
[%- HTML.escape(background_job.package_name) %]
</a>
</td>
+ <td>[%- HTML.escape(background_job.description) %]</td>
<td>
[%- IF background_job.type == 'once' %]
[%- LxERP.t8('one-time execution') %]
[%- END %]
[% L.paginate_controls %]
-
- <hr size="3" noshade>
-
- <p>
- <a href="[% SELF.url_for(action => 'new', back_to => SELF.get_callback) %]">[%- LxERP.t8('Create new background job') %]</a>
- |
- <a href="[% SELF.url_for(controller => 'BackgroundJobHistory', action => 'list') %]">[%- LxERP.t8('View background job history') %]</a>
- |
- <a href="[% SELF.url_for(controller => 'TaskServer', action => 'show') %]">[%- LxERP.t8('Task server control') %]</a>
- </p>
- </form>
-</body>
-</html>