X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Ftime.tpl;h=e531d2b6e2184cfb34faa869182580e92106f613;hb=c3e6cb49a67ee660c2eaeef53e15c85c19d805dd;hp=0e05f05bc8b86ba69f97bfecde6196c80c84089a;hpb=948617a6a0f129ba4090934ee8f544009dbcd935;p=timetracker.git diff --git a/WEB-INF/templates/time.tpl b/WEB-INF/templates/time.tpl index 0e05f05b..e531d2b6 100644 --- a/WEB-INF/templates/time.tpl +++ b/WEB-INF/templates/time.tpl @@ -18,16 +18,10 @@ -{if $on_behalf_group_control} - - - - -{/if} -{if $on_behalf_control} +{if $user_dropdown} - + {/if} {if $user->isPluginEnabled('cl')} @@ -72,7 +66,13 @@ {if (($smarty.const.TYPE_DURATION == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))} - + + +{/if} +{if $template_dropdown} + + + {/if}
{$i18n.label.group}:{$forms.timeRecordForm.onBehalfGroup.control}
{$i18n.label.user}:{$forms.timeRecordForm.onBehalfUser.control}{$forms.timeRecordForm.user.control}
{$i18n.label.duration}:{$forms.timeRecordForm.duration.control} {if $user->decimal_mark == ','}{str_replace('.', ',', $i18n.form.time.duration_format)}{else}{$i18n.form.time.duration_format}{/if}{$forms.timeRecordForm.duration.control} {if $user->getDecimalMark() == ','}{str_replace('.', ',', $i18n.form.time.duration_format)}{else}{$i18n.form.time.duration_format}{/if}
{$i18n.label.template}:{$forms.timeRecordForm.template.control}
@@ -116,7 +116,11 @@ {/if} {$i18n.label.duration} {$i18n.label.note} - {$i18n.label.edit} + + + {if $show_files} + + {/if} {foreach $time_records as $record} @@ -135,17 +139,31 @@ {/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 $show_files} + {if $record.has_files} + {$i18n.label.files} + {else} + {$i18n.label.files} + {/if} + {/if} - {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} @@ -155,7 +173,7 @@ -{if $time_records} + @@ -164,6 +182,14 @@ {if $user->isPluginEnabled('mq')} + {if $over_balance} + + {else} + + {/if} + + + {if $over_quota} {else} @@ -172,5 +198,5 @@ {/if}
{$i18n.label.week_total}: {$week_total}
{$i18n.label.month_total}: {$month_total}{$i18n.form.time.over_balance}: {$balance_remaining}{$i18n.form.time.remaining_balance}: {$balance_remaining}
{$i18n.label.quota}: {$month_quota}{$i18n.form.time.over_quota}: {$quota_remaining}
-{/if} + {$forms.timeRecordForm.close}