X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fweek.tpl;h=34edf9201ebd8309aa32c3bc3e74003e71ddd1b5;hb=9d56e5c5cce354a50c1a7b3279e387baab919e09;hp=fff4bfa4b405c32191534c477ed397d9f01d2869;hpb=8ecf916786c15d7bbe18bbb512b183c622be0bb4;p=timetracker.git diff --git a/WEB-INF/templates/week.tpl b/WEB-INF/templates/week.tpl index fff4bfa4..34edf920 100644 --- a/WEB-INF/templates/week.tpl +++ b/WEB-INF/templates/week.tpl @@ -6,77 +6,73 @@ } -{$forms.timeRecordForm.open} +{$forms.weekTimeForm.open} -{if defined(WEEK_VIEW_DEBUG)} -{/if}
{$i18n.label.day_view} / {$i18n.label.week_view}
{if $on_behalf_control} - + + +{/if} +{if $user->isPluginEnabled('cl')} + + + + +{/if} +{if $user->isPluginEnabled('iv')} + + + + +{/if} +{if ($custom_fields && $custom_fields->fields[0])} + + + +{/if} +{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} + + + +
{$i18n.label.user}:{$forms.timeRecordForm.onBehalfUser.control}{$forms.weekTimeForm.onBehalfUser.control}
{$i18n.label.client}{if $user->isPluginEnabled('cm')} (*){/if}:{$forms.weekTimeForm.client.control}
 
{$custom_fields->fields[0]['label']|escape}{if $custom_fields->fields[0]['required']} (*){/if}:{$forms.weekTimeForm.cf_1.control}
{$i18n.label.project} (*):{$forms.weekTimeForm.project.control}
{$i18n.label.task}:{$forms.weekTimeForm.task.control}
{$i18n.label.note}:{$forms.weekTimeForm.note.control}
- +
{$forms.timeRecordForm.date.control}
{$forms.weekTimeForm.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.weekTimeForm.week_durations.control}
- - +
{$forms.timeRecordForm.btn_submit.control}{$forms.weekTimeForm.btn_submit.control}
-{$forms.timeRecordForm.close} +{$forms.weekTimeForm.close}