{* jobcomplete email template *}
<h3>NMS Mail Job Complete</h3>

<table>
  <tr>
     <td><strong>Job Name</strong></td>
     <td>{$job.title}</td>
  </tr>
  <tr>
     <td><strong>Mail Subject</strong></td>
     <td>{$subject}</td>
  </tr>
  <tr>
     <td><strong>Lists</strong></td>
     <td>{','|implode:$lists}</td>
  </tr>
  <tr>
     <td><strong>Start Time:</strong></td>
     <td><strong>{$stime|cms_date_format}</strong></td>
  </tr>
  <tr>
     <td><strong>End Time:</strong></td>
     <td><strong>{$etime|cms_date_format}</strong></td>
  </tr>
{if $nerrors gt 0 and isset($errors) }
  <tr>
     <td><strong>Errors</strong> <em>(invalid addresses)</em></td>
     <td><ul>
       {foreach from=$errors item='one'}
         <li>{$one.email}&nbsp;{if $one.username != ''}<em>({$one.email})</em>{/if}</li>
       {/foreach}
     </ul></td>
  </tr>
{/if}
</table>