X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Ftime_delete.tpl;h=41b7a4e9750435cbb59554c43071ed154b119038;hb=cdd2e058776a3d0dc9b6f32a2d5d33e4f9388491;hp=946a21e19520d50b42e6593048586a4df1a0e4e2;hpb=9a23a8c0a51b7ec38a96f525484134f3cb85dc7e;p=timetracker.git diff --git a/WEB-INF/templates/time_delete.tpl b/WEB-INF/templates/time_delete.tpl index 946a21e1..41b7a4e9 100644 --- a/WEB-INF/templates/time_delete.tpl +++ b/WEB-INF/templates/time_delete.tpl @@ -17,23 +17,23 @@ {if (($smarty.const.TYPE_DURATION == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))} {$i18n.label.duration} {/if} - {$i18n.label.note} + {$i18n.label.note} - + {if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} - {$time_rec.project_name|escape:'html'} + {$time_rec.project_name|escape} {/if} {if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} - {$time_rec.task_name|escape:'html'} + {$time_rec.task_name|escape} {/if} {if (($smarty.const.TYPE_START_FINISH == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))} {if $time_rec.start}{$time_rec.start}{else} {/if} {if $time_rec.finish<>$time_rec.start}{$time_rec.finish}{else} {/if} {/if} {if (($smarty.const.TYPE_DURATION == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))} - {if $time_rec.duration<>'0:00'}{$time_rec.duration}{else}{$i18n.form.time.uncompleted}{/if} + {if ($time_rec.duration == '0:00' && $time_rec.start <> '')}{$i18n.form.time.uncompleted}{else}{$time_rec.duration}{/if} {/if} - {if $time_rec.comment}{$time_rec.comment|escape:'html'}{else} {/if} + {if $time_rec.comment}{$time_rec.comment|escape}{else} {/if} @@ -47,4 +47,4 @@
-{$forms.timeRecordForm.close} \ No newline at end of file +{$forms.timeRecordForm.close}