Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 61d4f51d

Von Werner Hahn vor 11 Monaten hinzugefügt

  • ID 61d4f51df41dcaa13345a34dc4b44344c4ff9df8
  • Vorgänger 216802d6
  • Nachfolger a2f048e2

BGJ und BGJH in alten Templates 'Description' eingebunden

Unterschiede anzeigen:

templates/webpages/background_job/form.html
<td>[% L.select_tag("background_job.package_name", JOB_CLASSES, 'default' => SELF.background_job.package_name) %]</td>
</tr>
<tr>
<th align="right">[%- LxERP.t8('Description') %]</th>
<td>[% L.input_tag("background_job.description", SELF.background_job.description, 'size' => 40) %]</td>
</tr>
<tr>
<th align="right">[%- LxERP.t8('Execution schedule') %]</th>
<td>[% L.input_tag("background_job.cron_spec", SELF.background_job.cron_spec, 'size' => 40) %]</td>
templates/webpages/background_job/list.html
<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') %]
templates/webpages/background_job_history/_filter.html
<th align="right">[% LxERP.t8('Package name') %]</th>
<td>[% L.input_tag('filter.package_name:substr::ilike', filter.package_name_substr__ilike, size = 20) %]</td>
</tr>
<tr>
<th align="right">[% LxERP.t8('Description') %]</th>
<td>[% L.input_tag('filter.package_name:substr::ilike', filter.description_substr__ilike, size = 20) %]</td>
</tr>
<tr>
<th align="right">[% LxERP.t8('Result') %]</th>
<td>[% L.input_tag('filter.result:substr::ilike', filter.result_substr__ilike, size = 20) %]</td>
templates/webpages/background_job_history/list.html
<thead>
<tr class="listheading">
<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>
......
[%- 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/webpages/background_job_history/show.html
<td>[%- HTML.escape(SELF.history.package_name) %]</td>
</tr>
<tr class="listrow0">
<th>[%- LxERP.t8('Description') %]</th>
<td>[%- HTML.escape(SELF.history.description) %]</td>
</tr>
<tr class="listrow1">
<th>[%- LxERP.t8('Run at') %]</th>
<td>[%- HTML.escape(SELF.history.run_at.to_lxoffice('precision' => 'second')) %]</td>

Auch abrufbar als: Unified diff