Revision a37dd5ed
Von Werner Hahn vor 7 Monaten hinzugefügt
templates/design40_webpages/background_job/form.html | ||
---|---|---|
30 | 30 |
<th>[% LxERP.t8('Package name') %]</th> |
31 | 31 |
<td>[% L.select_tag("background_job.package_name", JOB_CLASSES, 'default' => SELF.background_job.package_name) %]</td> |
32 | 32 |
</tr> |
33 |
<tr> |
|
34 |
<th>[% LxERP.t8('Description') %]</th> |
|
35 |
<td>[% L.input_tag("background_job.description", SELF.background_job.description, 'size' => 40) %]</td> |
|
36 |
</tr> |
|
33 | 37 |
<tr> |
34 | 38 |
<th>[% LxERP.t8('Execution schedule') %]</th> |
35 | 39 |
<td>[% L.input_tag("background_job.cron_spec", SELF.background_job.cron_spec, 'size' => 40) %]</td> |
templates/design40_webpages/background_job/list.html | ||
---|---|---|
14 | 14 |
<thead> |
15 | 15 |
<tr> |
16 | 16 |
<th>[% L.sortable_table_header('package_name') %]</th> |
17 |
<th>[% L.sortable_table_header('description') %]</th> |
|
17 | 18 |
<th>[% L.sortable_table_header('type') %]</th> |
18 | 19 |
<th>[% L.sortable_table_header('active') %]</th> |
19 | 20 |
<th>[% L.sortable_table_header('cron_spec') %]</th> |
... | ... | |
26 | 27 |
[% FOREACH background_job = BACKGROUND_JOBS %] |
27 | 28 |
<tr class="listrow[% loop.count % 2 %]" id="background_job_id_[% background_job.id %]"> |
28 | 29 |
<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> |
30 |
<td>[% HTML.escape(background_job.description) %]</td> |
|
29 | 31 |
<td> |
30 | 32 |
[% IF background_job.type == 'once' %] |
31 | 33 |
[% LxERP.t8('one-time execution') %] |
templates/design40_webpages/background_job_history/_filter.html | ||
---|---|---|
12 | 12 |
<th>[% LxERP.t8('Package name') %]</th> |
13 | 13 |
<td>[% L.input_tag('filter.package_name:substr::ilike', filter.package_name_substr__ilike, size = 10, class='wi-lightwide') %]</td> |
14 | 14 |
</tr> |
15 |
<tr> |
|
16 |
<th>[% LxERP.t8('Description') %]</th> |
|
17 |
<td>[% L.input_tag('filter.description:substr::ilike', filter.description_substr__ilike, size = 10, class='wi-lightwide') %]</td> |
|
18 |
</tr> |
|
15 | 19 |
<tr> |
16 | 20 |
<th>[% LxERP.t8('Result') %]</th> |
17 | 21 |
<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 | ||
---|---|---|
17 | 17 |
<thead> |
18 | 18 |
<tr> |
19 | 19 |
<th>[% L.sortable_table_header('package_name') %]</th> |
20 |
<th>[% L.sortable_table_header('description') %]</th> |
|
20 | 21 |
<th>[% L.sortable_table_header('run_at') %]</th> |
21 | 22 |
<th>[% L.sortable_table_header('status') %]</th> |
22 | 23 |
<th>[% L.sortable_table_header('result') %]</th> |
... | ... | |
28 | 29 |
[% FOREACH entry = ENTRIES %] |
29 | 30 |
<tr class="listrow[% loop.count % 2 %]" id="background_job_history_id_[% entry.id %]"> |
30 | 31 |
<td><a href="[% SELF.url_for(action => 'show', id => entry.id, back_to => SELF.models.get_callback) %]">[% HTML.escape(entry.package_name) %]</a></td> |
32 |
<td>[% HTML.escape(entry.description) %]</td> |
|
31 | 33 |
<td>[% HTML.escape(entry.run_at.to_lxoffice('precision' => 'second')) %]</td> |
32 | 34 |
<td> |
33 | 35 |
[% IF entry.status == 'success' %] |
templates/design40_webpages/background_job_history/show.html | ||
---|---|---|
12 | 12 |
<th>[% LxERP.t8('Package name') %]</th> |
13 | 13 |
<td>[% HTML.escape(SELF.history.package_name) %]</td> |
14 | 14 |
</tr> |
15 |
<tr> |
|
16 |
<th>[% LxERP.t8('Description') %]</th> |
|
17 |
<td>[% HTML.escape(SELF.history.description) %]</td> |
|
18 |
</tr> |
|
15 | 19 |
<tr> |
16 | 20 |
<th>[% LxERP.t8('Run at') %]</th> |
17 | 21 |
<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