{/if}
<td class="tableHeader" align="center">{$i18n.label.note}</td>
</tr>
- <tr bgcolor="{cycle values="#f5f5f5,#ccccce"}">
+ <tr>
{if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
- <td>{$time_rec.project_name|escape:'html'}</td>
+ <td>{$time_rec.project_name|escape}</td>
{/if}
{if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
- <td>{$time_rec.task_name|escape:'html'}</td>
+ <td>{$time_rec.task_name|escape}</td>
{/if}
{if (($smarty.const.TYPE_START_FINISH == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))}
<td align="right">{if $time_rec.start}{$time_rec.start}{else} {/if}</td>
<td align="right">{if $time_rec.finish<>$time_rec.start}{$time_rec.finish}{else} {/if}</td>
{/if}
{if (($smarty.const.TYPE_DURATION == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))}
- <td align="right">{if $time_rec.duration<>'0:00'}{$time_rec.duration}{else}<font color="#ff0000">{$i18n.form.time.uncompleted}</font>{/if}</td>
+ <td align="right">{if ($time_rec.duration == '0:00' && $time_rec.start <> '')}<font color="#ff0000">{$i18n.form.time.uncompleted}</font>{else}{$time_rec.duration}{/if}</td>
{/if}
- <td>{if $time_rec.comment}{$time_rec.comment|escape:'html'}{else} {/if}</td>
+ <td>{if $time_rec.comment}{$time_rec.comment|escape}{else} {/if}</td>
</tr>
</table>
<table width="100%">