{include file="header.tpl.html" extra_title="Issue #$issue_id - Add Time Tracking"} {if $time_add_result != ''}
{if $time_add_result == -1} {t}An error occurred while trying to run your query{/t} {elseif $time_add_result == 1} {t}Thank you, the time tracking entry was added successfully.{/t} {/if}

{if not $current_user_prefs.close_popup_windows}
{t}Continue{/t}
{/if} {else} {literal} {/literal}
{if $current_role > $roles.viewer} {/if}
{t}Record Time Worked{/t}:
{t}Summary{/t}: {include file="error_icon.tpl.html" field="summary"}
{t}Category{/t}: {include file="error_icon.tpl.html" field="category"}
{t}Time Spent{/t}: ({t}in minutes{/t}){include file="error_icon.tpl.html" field="time_spent"}
{t}Work started{/t}: {html_select_date start_year='-1' day_value_format='%02d' field_array='date' prefix='' all_extra=' class="default" onChange="calcDateDiff(this.form, 1, this.name)"'}  {html_select_time minute_interval=5 field_array='date' prefix='' all_extra=' class="default" onChange="calcDateDiff(this.form, 1)"' display_seconds=false}
{t}Work ended{/t}: {html_select_date start_year='-1' day_value_format='%02d' field_array='date2' prefix='' all_extra=' class="default" onChange="calcDateDiff(this.form, 2)"'}  {html_select_time minute_interval=5 field_array='date2' prefix='' all_extra=' class="default" onChange="calcDateDiff(this.form, 2)"' display_seconds=false}
{include file="app_info.tpl.html"} {/if} {include file="footer.tpl.html"}