X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Ftime_delete.tpl;h=4ebbe5589e91688cd2be8ac7cbedb468d89a0855;hb=eeb825a7f9950c781528b99772ccdd327869b819;hp=8470fc3abd62621da621998ae59a188457258581;hpb=a781da5661a1932521e0d1feb4be340b97edce9a;p=timetracker.git diff --git a/WEB-INF/templates/time_delete.tpl b/WEB-INF/templates/time_delete.tpl index 8470fc3a..4ebbe558 100644 --- a/WEB-INF/templates/time_delete.tpl +++ b/WEB-INF/templates/time_delete.tpl @@ -19,7 +19,7 @@ {/if} {$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'} {/if} @@ -31,7 +31,7 @@ {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}