X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Ftime.tpl;h=1f1c7adc18764ddf408dd178d8cfa855c2ec5b84;hb=841e890b68ec699bf5291c43b4527bf748b5265c;hp=182f0127be8fc74e4f7c89d70ba21bfebc07419d;hpb=7df94ddee8feb9bc19b681f2b58fc547df622c9b;p=timetracker.git diff --git a/WEB-INF/templates/time.tpl b/WEB-INF/templates/time.tpl index 182f0127..1f1c7adc 100644 --- a/WEB-INF/templates/time.tpl +++ b/WEB-INF/templates/time.tpl @@ -8,18 +8,20 @@ {$forms.timeRecordForm.open} +{if $user->isPluginEnabled('wv')} +{/if} - + + + {if $show_files} + + {/if} {foreach $time_records as $record} @@ -127,17 +139,27 @@ {/if} + {if $show_files} + + {/if} + @@ -147,7 +169,7 @@
{$i18n.label.day_view} / {$i18n.label.week_view}
-{if $on_behalf_control} +{if $user_dropdown} - + {/if} {if $user->isPluginEnabled('cl')} @@ -47,7 +49,7 @@ {/if} {if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} - + {/if} @@ -64,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.user}:{$forms.timeRecordForm.onBehalfUser.control}{$forms.timeRecordForm.user.control}
{$i18n.label.task}:{$i18n.label.task}{if $user->task_required} (*){/if}: {$forms.timeRecordForm.task.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}
@@ -108,7 +116,11 @@ {/if}
{$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} - {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}
-{if $time_records} + @@ -156,6 +178,14 @@ {if $user->isPluginEnabled('mq')} + {if $over_balance} + + {else} + + {/if} + + + {if $over_quota} {else} @@ -164,5 +194,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}