X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Ftime_delete.tpl;h=4ebbe5589e91688cd2be8ac7cbedb468d89a0855;hb=eeb825a7f9950c781528b99772ccdd327869b819;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..4ebbe558 100644
--- a/WEB-INF/templates/time_delete.tpl
+++ b/WEB-INF/templates/time_delete.tpl
@@ -17,9 +17,9 @@
{if (($smarty.const.TYPE_DURATION == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))}
{/if}
-
+
-
+
{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} |
@@ -47,4 +47,4 @@
-{$forms.timeRecordForm.close}
\ No newline at end of file
+{$forms.timeRecordForm.close}