{if $update_result}
{if $update_result == -1} {t}Sorry, an error happened while trying to run your query.{/t} {elseif $update_result == 1} {t 1=$smarty.post.issue_id}Thank you, issue #%1 was updated successfully.{/t} {if $has_duplicates == 'yes'}
{t}Also, all issues that are marked as duplicates from this one were updated as well.{/t} {/if}

{t 1=$smarty.post.issue_id}Return to Issue #%1 Details Page{/t}
{t 1=$smarty.post.issue_id}Update Issue #%1{/t}
{/if}
{else} {literal} {/literal} {if $project_auto_switched == 1}

{/if}
{if $categories|@count > 0} {else} {/if} {if $categories|@count > 0} {/if} {if $current_role > $roles.customer} {/if} {if $current_role > $roles.customer} {if $releases|@count > 0} {/if} {if $current_role > $roles.customer && $groups|@count > 0} {else} {/if} {else} {foreach key=_issue_id item=_issue_summary from=$issue.associated_issues} {/foreach} {/if} {if $releases|@count < 1} {/if} {if $current_role >= $roles.developer} {else} {/if} {if $current_role > $roles.standard_user} {else} {/if}
{t}Update Issue Overview{/t} (ID: {$issue.iss_id}) {if $current_role > $roles.customer} [ {t}Edit Authorized Replier List{/t} ] [ {t}Edit Notification List{/t} ] {/if} [ {t}History of Changes{/t} ]
{t}Category:{/t} {t}Status:{/t} {t}Notification List:{/t} {if $subscribers.staff != ''}Staff: {$subscribers.staff|replace:"<":"<"|replace:">":">"}{/if} {if $subscribers.staff != '' and $subscribers.customers != ''}
{/if} {if $subscribers.customers != ''}Other: {$subscribers.customers|replace:"<":"<"|replace:">":">"}{/if}
{t}Status:{/t} {t}Submitted Date:{/t} {$issue.iss_created_date}
{t}Priority:{/t} {t}Update Date:{/t} {$issue.iss_updated_date}
{t}Associated Issues:{/t} {if not ($os.mac and $browser.ie)}{/if}
{t}Reporter:{/t} {$issue.reporter}
{t}Expected Resolution Date:{/t} {* Convert expected resolution date to format usable by html_select_date *} {if $issue.iss_expected_resolution_date == ''} {assign var="expected_resolution_date" value='0000-00-00'} {assign var="expected_resolution_start_year" value=$current_year} {else} {assign var="expected_resolution_date" value=$issue.iss_expected_resolution_date} {* Set the start year to be whatever the current expected resolution date is *} {if $expected_resolution_date|substr:"0":"4" < $current_year} {assign var="expected_resolution_start_year" value=$expected_resolution_date|substr:"0":"4"} {else} {assign var="expected_resolution_start_year" value=$current_year} {/if} {/if} {html_select_date time=$expected_resolution_date field_array="expected_resolution_date" prefix="" start_year=$expected_resolution_start_year end_year=`$expected_resolution_start_year+5` all_extra='class="default"' year_empty="" day_empty="" month_empty="" day_value_format='%02d'} {t}Scheduled Release:{/t}
{t}Percentage Complete:{/t} {include file="error_icon.tpl.html" field="percent_complete"} (0 - 100) {t}Estimated Dev. Time:{/t} ({t}in hours{/t})
$roles.customer && $groups|@count > 0}rowspan="2" {/if}width="120" bgcolor="{$cell_color}" class="default_white"> {t}Assignment:{/t} {if $allow_unassigned_issues != 'yes'}*{/if} $roles.customer && $groups|@count > 0}rowspan="2" {/if}bgcolor="{$light_color}"> {if $issue.has_inactive_users} {t}Keep Current Assignments:{/t} {$issue.assignments}
{t}Change Assignments:{/t}

{else} {/if}
{include file="lookup_field.tpl.html" lookup_field_name="search" lookup_field_target="assignments[]" callbacks="new Array('showSelections(\'update_form\', \'assignments[]\')')"}
{if $issue.assignments}{t}Current Selections:{/t} {$issue.assignments}{/if}
{t}Authorized Repliers:{/t} {if $issue.authorized_repliers.users|@count > 0} {t}Staff:{/t} {section name="replier" loop=$issue.authorized_repliers.users} {strip} {$issue.authorized_repliers.users[replier].replier|replace:"<":"<"|replace:">":">"} {if $smarty.section.replier.last != 1}, {/if} {/strip} {/section}
{/if} {if $issue.authorized_repliers.other|@count > 0} {t}Other:{/t} {section name="replier" loop=$issue.authorized_repliers.other} {strip} {$issue.authorized_repliers.other[replier].replier|replace:"<":"<"|replace:">":">"} {if $smarty.section.replier.last != 1}, {/if} {/strip} {/section} {/if}
{t}Group:{/t}
{t}Summary:{/t} {include file="error_icon.tpl.html" field="summary"}
{t}Description:{/t} {include file="error_icon.tpl.html" field="description"}
{t}Private:{/t} Yes No
{t}Trigger Reminders:{/t} Yes No
    {if (not $issue.sta_is_closed) and $current_role > $roles.customer}   {/if}
{/if}