X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fweek.tpl;h=366762cfc32fa6ddfae6ca93e7596bf6308fc7b4;hb=cdd27c2b163122cb6e2169851019721b3382abd7;hp=8eaa5fa888143105c30deb252a826ae6ea5d4ec2;hpb=f8202dca930de9e3cc70cbc8084e10a0f346f389;p=timetracker.git diff --git a/WEB-INF/templates/week.tpl b/WEB-INF/templates/week.tpl index 8eaa5fa8..366762cf 100644 --- a/WEB-INF/templates/week.tpl +++ b/WEB-INF/templates/week.tpl @@ -23,11 +23,13 @@ function fillDropdowns() { {$forms.weekTimeForm.open} +{if $show_navigation} +{/if}
{$i18n.label.day_view} / {$i18n.label.week_view}
@@ -37,9 +39,9 @@ function fillDropdowns() { {/if} -{if $user->isPluginEnabled('cl')} +{if $show_client} - + {/if} @@ -117,7 +119,11 @@ function fillDropdowns() { {/if} - + {if $show_files} + + {/if} + + {foreach $time_records as $record} @@ -137,17 +143,31 @@ function fillDropdowns() { {/if} + {if $show_files} + {if $record.has_files} + + {else} + + {/if} + {/if} +
{$forms.weekTimeForm.onBehalfUser.control}
{$i18n.label.client}{if $user->isPluginEnabled('cm')} (*){/if}:{$i18n.label.client}{if $user->isOptionEnabled('client_required')} (*){/if}: {$forms.weekTimeForm.client.control}
{$i18n.label.duration} {$i18n.label.note}{$i18n.label.edit}
{if ($record.duration == '0:00' && $record.start <> '')}{$i18n.form.time.uncompleted}{else}{$record.duration}{/if} {if $record.comment}{$record.comment|escape}{else} {/if}{$i18n.label.files}{$i18n.label.files} - {if $record.invoice_id} + {if $record.approved || $record.timesheet_id || $record.invoice_id}   {else} - {$i18n.label.edit} + {$i18n.label.edit} {if ($record.duration == '0:00' && $record.start <> '')} {/if} + {/if} + + {if $record.approved || $record.timesheet_id || $record.invoice_id} +   + {else} + {$i18n.label.delete} {/if}