X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fweek.tpl;h=f51447547f4a1e13c3c10df821dea12fa26c686f;hb=7ffbdd795498e935a5d50fd87c60cea3ab527bfa;hp=34edf9201ebd8309aa32c3bc3e74003e71ddd1b5;hpb=31f452155587fed077f8233b00882b865e08fecb;p=timetracker.git diff --git a/WEB-INF/templates/week.tpl b/WEB-INF/templates/week.tpl index 34edf920..f5144754 100644 --- a/WEB-INF/templates/week.tpl +++ b/WEB-INF/templates/week.tpl @@ -51,10 +51,6 @@ {$forms.weekTimeForm.task.control} {/if} - - {$i18n.label.note}: - {$forms.weekTimeForm.note.control} - @@ -69,6 +65,77 @@ {$forms.weekTimeForm.week_durations.control} + + + + + + +
{$forms.weekTimeForm.btn_submit.control}
 
+ + + + + +
+{if $time_records} + + + + {if $user->isPluginEnabled('cl')} + + {/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} + {if (($smarty.const.TYPE_START_FINISH == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))} + + + {/if} + + + + + {foreach $time_records as $record} + + + {if $user->isPluginEnabled('cl')} + + {/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} + {if (($smarty.const.TYPE_START_FINISH == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))} + + + {/if} + + + + + {/foreach} +
{$i18n.label.date}{$i18n.label.client}{$i18n.label.project}{$i18n.label.task}{$i18n.label.start}{$i18n.label.finish}{$i18n.label.duration}{$i18n.label.note}{$i18n.label.edit}
{$record.date}{$record.client|escape}{$record.project|escape}{$record.task|escape}{if $record.start}{$record.start}{else} {/if}{if $record.finish}{$record.finish}{else} {/if}{if ($record.duration == '0:00' && $record.start <> '')}{$i18n.form.time.uncompleted}{else}{$record.duration}{/if}{if $record.comment}{$record.comment|escape}{else} {/if} + {if $record.invoice_id} +   + {else} + {$i18n.label.edit} + {if ($record.duration == '0:00' && $record.start <> '')} + + + + + {/if} + {/if} +
+{/if} +
+{if $time_records} @@ -85,9 +152,5 @@ {/if}
{$i18n.label.week_total}: {$week_total}
- - - - -
{$forms.weekTimeForm.btn_submit.control}
+{/if} {$forms.weekTimeForm.close}