Hintergrundjobs-Controller: Spalte 'Paketname' wirklich nach vorne schieben
authorMoritz Bunkus <m.bunkus@linet-services.de>
Fri, 31 Aug 2012 11:50:06 +0000 (13:50 +0200)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Fri, 31 Aug 2012 11:50:06 +0000 (13:50 +0200)
...und nicht nur den Spaltentitel. Shame on me!

templates/webpages/background_job/list.html

index 44e2886..6ccef1c 100644 (file)
     <tbody>
     [%- 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) %]">
+       [%- HTML.escape(background_job.package_name) %]
+      </a>
+     </td>
      <td>
       [%- IF background_job.type == 'once' %]
        [%- LxERP.t8('one-time execution') %]
        [%- HTML.escape(background_job.type) %]
       [%- END %]
      </td>
-     <td>
-      <a href="[% SELF.url_for(action => 'edit', id => background_job.id) %]">
-       [%- HTML.escape(background_job.package_name) %]
-      </a>
-     </td>
      <td align="right">[% IF background_job.active %][%- LxERP.t8('yes') %][% ELSE %][%- LxERP.t8('no') %][%- END %]</td>
      <td>[%- HTML.escape(background_job.cron_spec) %]</td>
      <td>