{include file="header.tpl.html" extra_title=$extra_title} {include file="navigation.tpl.html"}
{if $no_issue}
 {t 1=$smarty.get.id|intval}Error: The issue #%1 could not be found{/t}.

 {t}Go Back{/t}
{elseif $close_result != ""}
{if $close_result == -1} {t}Sorry, an error happened while trying to run your query{/t}. {elseif $close_result == 1} {t}Thank you, the issue was closed successfully{/t}.
{if $notify_list|@count > 0}
{t}E-mail about issue update was sent to{/t}:
{foreach from=$notify_list item=email_address}   {$email_address|escape:"html"}
{/foreach}
{/if} {t}Please choose from one of the options below{/t}: {/if}
{else} {literal} {/literal}
{if $resolutions|@count > 0} {else} {/if} {include file="edit_custom_fields.tpl.html" custom_fields=$custom_fields form_type='close'} {if $incident_details|@count > 0} {/if}
{t}Close Issue{/t} (ID: {$issue_id})
{t}Status{/t}: *
{include file="error_icon.tpl.html" field="status"}
{t}Resolution{/t}:
{t}Send Notification About Issue Being Closed?{/t}
{t}Yes{/t}   {t}No{/t}
{t}Send Notification To{/t}:

{t}Reason for closing issue{/t}: *
{include file="error_icon.tpl.html" field="reason"}
{t}Incident Types to Redeem{/t}:
{foreach from=$incident_details item=type_details key=type_id} {cycle values=$cycle assign="row_color"} {if $res == ''}{/if} {$type_details.title} (Total: {$type_details.total}; Left: {$type_details.total-$type_details.redeemed})
{/foreach}
{t}Time Spent{/t}:
{t}(in minutes){/t}{include file="error_icon.tpl.html" field="time_spent"}
{t}Time Category{/t}:
{include file="error_icon.tpl.html" field="category"}
{if $current_user_prefs.email_signature != "" and $current_user_prefs.auto_append_email_sig != 1} {/if}
Add Email Signature   
{/if}
{include file="app_info.tpl.html"} {include file="footer.tpl.html"}