X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=WEB-INF%2Ftemplates%2Ftime_delete.tpl;h=41b7a4e9750435cbb59554c43071ed154b119038;hb=1ed162514b774ef5d2f9858efa2436b19d99d484;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..41b7a4e9 100644
--- a/WEB-INF/templates/time_delete.tpl
+++ b/WEB-INF/templates/time_delete.tpl
@@ -19,21 +19,21 @@
{/if}
-
{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} |