Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 1df575c4

Von Moritz Bunkus vor etwa 7 Jahren hinzugefügt

  • ID 1df575c423b18dfd12ba1e4da86b5bfb26239c41
  • Vorgänger df1c2f63
  • Nachfolger 32dbd0b3

ActionBar: Verwendung bei »Aktuelle Hintergrund-Jobs anzeigen«

Unterschiede anzeigen:

templates/webpages/background_job/form.html
4 4

  
5 5
[%- INCLUDE 'common/flash.html' %]
6 6

  
7
 <form method="post" action="controller.pl">
7
 <form method="post" action="controller.pl" id="form">
8
  [% L.hidden_tag("id", SELF.background_job.id) %]
9
  [% L.hidden_tag("back_to", SELF.back_to) %]
10

  
8 11
  <table>
9 12
   <tr>
10 13
    <th align="right">[%- LxERP.t8('Active') %]</th>
......
38 41
   </tr>
39 42

  
40 43
  </table>
41

  
42
  <p>
43
   [% L.hidden_tag("id", SELF.background_job.id) %]
44
   [% L.hidden_tag("back_to", SELF.back_to) %]
45
   [% L.hidden_tag("action", "BackgroundJob/dispatch") %]
46
   [% L.submit_tag("action_" _  (SELF.background_job.id ? "update" : "create"), LxERP.t8('Save')) %]
47
   [%- IF SELF.background_job.id %]
48
    [% L.submit_tag("action_execute", LxERP.t8("Execute now")) %]
49
    [% L.submit_tag("action_destroy", LxERP.t8("Delete"), "confirm", LxERP.t8("Are you sure you want to delete this background job?")) %]
50
   [%- ELSE %]
51
    [% L.submit_tag("action_save_and_execute", LxERP.t8("Save and execute")) %]
52
   [%- END %]
53
   <a href="[% SELF.url_for(action => 'list') %]">[%- LxERP.t8('Abort') %]</a>
54
   [%- IF SELF.background_job.id %]
55
    <a href="[% SELF.url_for(controller='BackgroundJobHistory', action='list', 'filter.package_name:substr::ilike'=SELF.background_job.package_name) %]">[%- LxERP.t8('Show history') %]</a>
56
   [%- END %]
57
  </p>
58 44
 </form>

Auch abrufbar als: Unified diff