X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Ftime.tpl;h=6d294fb189f1342c3e623489e2fb952fb945e382;hb=8ba5ac4b2800060721eb6777792cd945045c3804;hp=d526c46fbeeba3b29b212d3f5de95f969a6530d9;hpb=ba0b5f34efabfeded3112115086eaa9d00f2a345;p=timetracker.git diff --git a/WEB-INF/templates/time.tpl b/WEB-INF/templates/time.tpl index d526c46f..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,13 +354,13 @@ function get_time() { - {if $month_total} + {if $user->isPluginEnabled('mq')} - {if $month_left|strpos:'-' === 0} - + {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.label.month_over}: {$month_left|substr:1}{$i18n.form.time.over_quota}: {$quota_remaining}{$i18n.label.month_left}: {$month_left}{$i18n.form.time.remaining_quota}: {$quota_remaining}