Revision a2f048e2
Von Werner Hahn vor 11 Monaten hinzugefügt
templates/design40_webpages/background_job/form.html | ||
---|---|---|
<th>[% LxERP.t8('Package name') %]</th>
|
||
<td>[% L.select_tag("background_job.package_name", JOB_CLASSES, 'default' => SELF.background_job.package_name) %]</td>
|
||
</tr>
|
||
<tr>
|
||
<th>[% LxERP.t8('Description') %]</th>
|
||
<td>[% L.input_tag("background_job.description", SELF.background_job.description, 'size' => 40) %]</td>
|
||
</tr>
|
||
<tr>
|
||
<th>[% LxERP.t8('Execution schedule') %]</th>
|
||
<td>[% L.input_tag("background_job.cron_spec", SELF.background_job.cron_spec, 'size' => 40) %]</td>
|
templates/design40_webpages/background_job/list.html | ||
---|---|---|
<thead>
|
||
<tr>
|
||
<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>
|
||
... | ... | |
[% FOREACH background_job = BACKGROUND_JOBS %]
|
||
<tr class="listrow[% loop.count % 2 %]" id="background_job_id_[% background_job.id %]">
|
||
<td><a href="[% SELF.url_for(action => 'edit', id => background_job.id, back_to => SELF.get_callback) %]">[% 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') %]
|
templates/design40_webpages/background_job_history/_filter.html | ||
---|---|---|
<th>[% LxERP.t8('Package name') %]</th>
|
||
<td>[% L.input_tag('filter.package_name:substr::ilike', filter.package_name_substr__ilike, size = 10, class='wi-lightwide') %]</td>
|
||
</tr>
|
||
<tr>
|
||
<th>[% LxERP.t8('Description') %]</th>
|
||
<td>[% L.input_tag('filter.description:substr::ilike', filter.description_substr__ilike, size = 10, class='wi-lightwide') %]</td>
|
||
</tr>
|
||
<tr>
|
||
<th>[% LxERP.t8('Result') %]</th>
|
||
<td>[% L.input_tag('filter.result:substr::ilike', filter.result_substr__ilike, size = 10, class='wi-lightwide') %]</td>
|
templates/design40_webpages/background_job_history/list.html | ||
---|---|---|
<thead>
|
||
<tr>
|
||
<th>[% L.sortable_table_header('package_name') %]</th>
|
||
<th>[% L.sortable_table_header('description') %]</th>
|
||
<th>[% L.sortable_table_header('run_at') %]</th>
|
||
<th>[% L.sortable_table_header('status') %]</th>
|
||
<th>[% L.sortable_table_header('result') %]</th>
|
||
... | ... | |
[% FOREACH entry = ENTRIES %]
|
||
<tr class="listrow[% loop.count % 2 %]" id="background_job_history_id_[% entry.id %]">
|
||
<td><a href="[% SELF.url_for(action => 'show', id => entry.id, back_to => SELF.models.get_callback) %]">[% HTML.escape(entry.package_name) %]</a></td>
|
||
<td>[% HTML.escape(entry.description) %]</td>
|
||
<td>[% HTML.escape(entry.run_at.to_lxoffice('precision' => 'second')) %]</td>
|
||
<td>
|
||
[% IF entry.status == 'success' %]
|
templates/design40_webpages/background_job_history/show.html | ||
---|---|---|
<th>[% LxERP.t8('Package name') %]</th>
|
||
<td>[% HTML.escape(SELF.history.package_name) %]</td>
|
||
</tr>
|
||
<tr>
|
||
<th>[% LxERP.t8('Description') %]</th>
|
||
<td>[% HTML.escape(SELF.history.description) %]</td>
|
||
</tr>
|
||
<tr>
|
||
<th>[% LxERP.t8('Run at') %]</th>
|
||
<td>[% HTML.escape(SELF.history.run_at.to_lxoffice('precision' => 'second')) %]</td>
|
Auch abrufbar als: Unified diff
BGJ und BGJH description auch in neuen Templates Design40