{include file="time_script.tpl"} {$forms.timeRecordForm.open} {if defined(WEEK_VIEW_DEBUG)} {/if}
{$i18n.label.day_view} / {$i18n.label.week_view}
{if $on_behalf_control} {/if}
{$i18n.label.user}: {$forms.timeRecordForm.onBehalfUser.control}
{$forms.timeRecordForm.date.control}
{if $time_records} {if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} {/if} {if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} {/if} {foreach $time_records as $record} {if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} {/if} {if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} {/if} {/foreach}
{$i18n.label.project}{$i18n.label.task}{$day_header_0} {$day_header_1} {$day_header_2} {$day_header_3} {$day_header_4} {$day_header_5} {$day_header_6}
{$record.project|escape}{$record.task|escape}{$record.date} {if ($record.duration == '0:00' && $record.start <> '')}{$i18n.form.time.uncompleted}{else}{$record.duration}{/if}
{/if}
{$forms.timeRecordForm.btn_submit.control}
{$forms.timeRecordForm.close}