{if isset($message)}
  {if $error != ''}
    <p><font color="red">{$message}</font></p>
  {else}
    <p>{$message}</p>
  {/if}
{/if}

{if isset($jobs_warning)}
  <div class="warning">
     {$jobs_warning}
  </div>
{/if}

<p class="pageoverflow">{$itemcount}&nbsp;{$itemsfound}</p>

<div class="pageoptions">
{$createlink} {$deletecompletedlink|default:''} {$cleantemplink|default:''} {$processlink|default:''}
</div>

{if $itemcount > 0}
<table border="0" cellspacing="0" cellpadding="0" class="pagetable">
 <thead>
  <tr>
  <th>{$idtext}</th>
  <th>{$nametext}</th>
  <th>{$createdtext}</th>
  <th>{$startedtext}</th>
  <th>{$finishedtext}</th>
  <th>{$statustext}</th>
  <th>{$mod->Lang('progress')}</th>
  <th></th>
  </tr>
 </thead>
 <tbody>
{foreach from=$items item=entry}
  {cycle values="row1,row2" assign='rowclass'}
  <tr class="{$rowclass}" onmouseover="this.className='{$rowclass}hover';" onmouseout="this.className='{$rowclass}';">
    <td>{$entry->id}</td>
    <td>{$entry->name}</td>
    <td>{$entry->created|cms_date_format}</td>
    <td>{if $entry->finished}{$entry->started|cms_date_format}{else}{$entry->started|relative_time}{/if}</td>
    <td>{$entry->finished|cms_date_format}</td>
    <td>{$entry->status}</td>
    <td>{$entry->progress}</t>
    <td style="text-align: right;">
    {if isset($entry->actions)}{strip}
      {'&nbsp'|@implode:$entry->actions}
    {/strip}{/if}
    </td>
  </tr>
{/foreach}
 </tbody>
</table>
{/if}
