{extends "reports/reports_base.tpl.html"}
{block "title"}{t}Issues By User{/t}{/block}

{block "report_content"}
{foreach key=user_full_name item=assigned_issues from=$users}
<h4>{$user_full_name|escape:"html"}</h4>
      <table class="bordered">
        <tr>
          <th>{t}Issue ID{/t}</th>
          <th>{t}Summary{/t}</th>
          <th>{t}Status{/t}</th>
          <th>{t}Time Spent{/t}</th>
          <th>{t}Created{/t}</th>
        </tr>
        {foreach key=issue_id item=issue from=$assigned_issues}
        <tr>
          <td bgcolor="{$issue.status_color}" align="center"><a target="_top" href="{$core.rel_url}view.php?id={$issue_id}" title="{t}view issue details{/t}">{$issue_id}</a></td>
          <td bgcolor="{$issue.status_color}"><a target="_top" href="{$core.rel_url}view.php?id={$issue_id}" title="{t}view issue details{/t}">{$issue.iss_summary|escape:"html"}</a></td>
          <td bgcolor="{$issue.status_color}" align="center">{$issue.sta_title|escape:"html"}</td>
          <td bgcolor="{$issue.status_color}" align="center">{$issue.time_spent}</td>
          <td bgcolor="{$issue.status_color}" align="center">{$issue.iss_created_date|timeago}</td>
        </tr>
        {/foreach}
      </table>
{/foreach}
{/block}
