{include file="header.tpl.html"}
{include file="navigation.tpl.html"}
<script src="{$rel_url}js/httpclient.js"></script>

{if $issue == ""}
  <table width="300" align="center">
    <tr>
      <td>
        &nbsp;<span class="default"><b>{t}Error: The issue could not be found.{/t}</b>
        <br /><br />
        &nbsp;<a class="link" href="javascript:history.go(-1);">{t}Go Back{/t}</a></span>
      </td>
    </tr>
  </table>
{elseif $auth_customer == 'denied'}
  <table width="500" align="center">
    <tr>
      <td>
        &nbsp;<span class="default"><b>{t}Sorry, you do not have the required privileges to update this issue.{/t}</b>
        <br /><br />
        &nbsp;<a class="link" href="javascript:history.go(-1);">{t}Go Back{/t}</a></span>
      </td>
    </tr>
  </table>
{else}
  {if $current_role > $roles.reporter}
  {include file="update_form.tpl.html"}
  {else}
  <center>
<span class="default">
<b>{t}Sorry, but you do not have the required permission level to access this screen.{/t}</b>
<br /><br />
<a class="link" href="javascript:history.go(-1);">{t}Go Back{/t}</a>
</span>
</center>
  {/if}
{/if}

{include file="app_info.tpl.html"}
{include file="footer.tpl.html"}
