X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Ftime.tpl;h=6d294fb189f1342c3e623489e2fb952fb945e382;hb=8ba5ac4b2800060721eb6777792cd945045c3804;hp=80b111badd0d52d9d50a751a7e1d41a6a1db3d3b;hpb=1a77a68a1622313c9ab4aaab0e39392450aa39cf;p=timetracker.git diff --git a/WEB-INF/templates/time.tpl b/WEB-INF/templates/time.tpl index 80b111ba..6d294fb1 100644 --- a/WEB-INF/templates/time.tpl +++ b/WEB-INF/templates/time.tpl @@ -237,7 +237,7 @@ function get_time() { {/if} {if ($custom_fields && $custom_fields->fields[0])} - {$custom_fields->fields[0]['label']|escape:'html'}{if $custom_fields->fields[0]['required']} (*){/if}:{$forms.timeRecordForm.cf_1.control} + {$custom_fields->fields[0]['label']|escape}{if $custom_fields->fields[0]['required']} (*){/if}:{$forms.timeRecordForm.cf_1.control} {/if} {if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} @@ -248,7 +248,7 @@ function get_time() { {/if} {if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} - {$i18n.label.task} (*): + {$i18n.label.task}: {$forms.timeRecordForm.task.control} {/if} @@ -292,7 +292,7 @@ function get_time() { {if $time_records} - +
{if $user->isPluginEnabled('cl')} @@ -304,8 +304,8 @@ function get_time() { {/if} {if (($smarty.const.TYPE_START_FINISH == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))} - - + + {/if} @@ -314,30 +314,30 @@ function get_time() { {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} - - - + + @@ -354,6 +354,16 @@ function get_time() { + {if $user->isPluginEnabled('mq')} + + + {if $over_quota} + + {else} + + {/if} + + {/if}
{$i18n.label.client}{$i18n.label.task}{$i18n.label.start}{$i18n.label.finish}{$i18n.label.start}{$i18n.label.finish}{$i18n.label.duration} {$i18n.label.note}
{$record.client|escape:'html'}{$record.client|escape}{$record.project|escape:'html'}{$record.project|escape}{$record.task|escape:'html'}{$record.task|escape}{if $record.start}{$record.start}{else} {/if}{if $record.finish}{$record.finish}{else} {/if}{if $record.start}{$record.start}{else} {/if}{if $record.finish}{$record.finish}{else} {/if}{if $record.duration <> '0:00'}{$record.duration}{else}{$i18n.form.time.uncompleted}{/if}{if $record.comment}{$record.comment|escape:'html'}{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'} - - - - + {$i18n.label.edit} + {if ($record.duration == '0:00' && $record.start <> '')} + + + + {/if} {/if} {$i18n.label.week_total}: {$week_total} {$i18n.label.day_total}: {$day_total}
{$i18n.label.month_total}: {$month_total}{$i18n.form.time.over_quota}: {$quota_remaining}{$i18n.form.time.remaining_quota}: {$quota_remaining}
{/if} {$forms.timeRecordForm.close}